net.ontopia.topicmaps.classify
Class CompoundAnalyzer

java.lang.Object
  extended by net.ontopia.topicmaps.classify.AbstractDocumentAnalyzer
      extended by net.ontopia.topicmaps.classify.CompoundAnalyzer
All Implemented Interfaces:
DocumentAnalyzerIF, TermAnalyzerIF

public class CompoundAnalyzer
extends AbstractDocumentAnalyzer
implements TermAnalyzerIF

INTERNAL:


Field Summary
 
Fields inherited from class net.ontopia.topicmaps.classify.AbstractDocumentAnalyzer
iteration, iterations
 
Constructor Summary
CompoundAnalyzer()
           
 
Method Summary
 void addComposites(TermDatabase tdb, Term t1, int length)
           
protected  void addFollower(Variant variant, Token token)
           
protected  void addFollower(Variant variant, Token token, int counts)
           
 void analyzeTerm(Term term)
           
 void analyzeToken(TextBlock parent, Token token, int index)
           
 void dump(Term t)
           
 void endAnalysis()
           
 void setCompositeOccurrencesThreshold(int compositeOccsThreshold)
           
 void setMaxLength(int maxLength)
           
 void setTerm1ScoreThreshold(double term1ScoreThreshold)
           
 void setTerm2ScoreThreshold(double term2ScoreThreshold)
           
 void setTermStemmer(TermStemmerIF stemmer)
           
 void startAnalysis(TermDatabase tdb)
           
 
Methods inherited from class net.ontopia.topicmaps.classify.AbstractDocumentAnalyzer
doDocumentAnalysis, endDocument, endRegion, startAnalysis, startDocument, startRegion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundAnalyzer

public CompoundAnalyzer()
Method Detail

setMaxLength

public void setMaxLength(int maxLength)

setTerm1ScoreThreshold

public void setTerm1ScoreThreshold(double term1ScoreThreshold)

setTerm2ScoreThreshold

public void setTerm2ScoreThreshold(double term2ScoreThreshold)

setCompositeOccurrencesThreshold

public void setCompositeOccurrencesThreshold(int compositeOccsThreshold)

setTermStemmer

public void setTermStemmer(TermStemmerIF stemmer)

addFollower

protected void addFollower(Variant variant,
                           Token token)

addFollower

protected void addFollower(Variant variant,
                           Token token,
                           int counts)

analyzeToken

public void analyzeToken(TextBlock parent,
                         Token token,
                         int index)
Specified by:
analyzeToken in interface DocumentAnalyzerIF
Specified by:
analyzeToken in class AbstractDocumentAnalyzer

analyzeTerm

public void analyzeTerm(Term term)
Specified by:
analyzeTerm in interface TermAnalyzerIF

startAnalysis

public void startAnalysis(TermDatabase tdb)
Specified by:
startAnalysis in interface TermAnalyzerIF

endAnalysis

public void endAnalysis()
Specified by:
endAnalysis in interface DocumentAnalyzerIF
Specified by:
endAnalysis in interface TermAnalyzerIF
Overrides:
endAnalysis in class AbstractDocumentAnalyzer

addComposites

public void addComposites(TermDatabase tdb,
                          Term t1,
                          int length)

dump

public void dump(Term t)


Copyright © 2000-2012 Ontopia.