net.ontopia.topicmaps.classify
Class CompoundAnalyzer
java.lang.Object
net.ontopia.topicmaps.classify.AbstractDocumentAnalyzer
net.ontopia.topicmaps.classify.CompoundAnalyzer
- All Implemented Interfaces:
- DocumentAnalyzerIF, TermAnalyzerIF
public class CompoundAnalyzer
- extends AbstractDocumentAnalyzer
- implements TermAnalyzerIF
INTERNAL:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompoundAnalyzer
public CompoundAnalyzer()
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.