net.ontopia.topicmaps.classify
Class DocumentClassifier

java.lang.Object
  extended by net.ontopia.topicmaps.classify.DocumentClassifier

public class DocumentClassifier
extends java.lang.Object

INTERNAL:


Constructor Summary
DocumentClassifier(TermDatabase tdb)
           
 
Method Summary
 void addDocumentAnalyzer(DocumentAnalyzerIF analyzer)
           
 void addTermAnalyzer(TermAnalyzerIF analyzer)
           
 void analyzeDocument(Document doc)
           
protected  void analyzeRegion(Region region, DocumentAnalyzerIF analyzer)
           
 void analyzeTerms()
           
protected  void analyzeTextBlock(Region parent, TextBlock tb, DocumentAnalyzerIF analyzer)
           
 void dump()
           
protected  void extractTerms(Document doc)
           
protected  void extractTerms(Region region)
           
protected  void extractTerms(Region parent, TextBlock tb)
           
 TermDatabase getTermDatabase()
           
 void setTermDatabase(TermDatabase tdb)
           
 void setTermStemmer(TermStemmerIF stemmer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentClassifier

public DocumentClassifier(TermDatabase tdb)
Method Detail

getTermDatabase

public TermDatabase getTermDatabase()

setTermDatabase

public void setTermDatabase(TermDatabase tdb)

setTermStemmer

public void setTermStemmer(TermStemmerIF stemmer)

addDocumentAnalyzer

public void addDocumentAnalyzer(DocumentAnalyzerIF analyzer)

addTermAnalyzer

public void addTermAnalyzer(TermAnalyzerIF analyzer)

extractTerms

protected void extractTerms(Document doc)

extractTerms

protected void extractTerms(Region region)

extractTerms

protected void extractTerms(Region parent,
                            TextBlock tb)

analyzeDocument

public void analyzeDocument(Document doc)

analyzeRegion

protected void analyzeRegion(Region region,
                             DocumentAnalyzerIF analyzer)

analyzeTextBlock

protected void analyzeTextBlock(Region parent,
                                TextBlock tb,
                                DocumentAnalyzerIF analyzer)

analyzeTerms

public void analyzeTerms()

dump

public void dump()


Copyright © 2000-2012 Ontopia.