Package net.ontopia.topicmaps.classify
Class CompoundAnalyzer
java.lang.Object
net.ontopia.topicmaps.classify.AbstractDocumentAnalyzer
net.ontopia.topicmaps.classify.CompoundAnalyzer
- All Implemented Interfaces:
DocumentAnalyzerIF,TermAnalyzerIF
INTERNAL:
-
Field Summary
Fields inherited from class net.ontopia.topicmaps.classify.AbstractDocumentAnalyzer
iteration, iterations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComposites(TermDatabase tdb, Term t1, int length) protected voidaddFollower(Variant variant, Token token) protected voidaddFollower(Variant variant, Token token, int counts) voidanalyzeTerm(Term term) voidanalyzeToken(TextBlock parent, Token token, int index) voidvoidvoidsetCompositeOccurrencesThreshold(int compositeOccsThreshold) voidsetMaxLength(int maxLength) voidsetTerm1ScoreThreshold(double term1ScoreThreshold) voidsetTerm2ScoreThreshold(double term2ScoreThreshold) voidsetTermStemmer(TermStemmerIF stemmer) voidMethods inherited from class net.ontopia.topicmaps.classify.AbstractDocumentAnalyzer
doDocumentAnalysis, endDocument, endRegion, startAnalysis, startDocument, startRegion
-
Constructor Details
-
CompoundAnalyzer
public CompoundAnalyzer()
-
-
Method Details
-
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
-
addFollower
-
addFollower
-
analyzeToken
- Specified by:
analyzeTokenin interfaceDocumentAnalyzerIF- Specified by:
analyzeTokenin classAbstractDocumentAnalyzer
-
analyzeTerm
- Specified by:
analyzeTermin interfaceTermAnalyzerIF
-
startAnalysis
- Specified by:
startAnalysisin interfaceTermAnalyzerIF
-
endAnalysis
public void endAnalysis()- Specified by:
endAnalysisin interfaceDocumentAnalyzerIF- Specified by:
endAnalysisin interfaceTermAnalyzerIF- Overrides:
endAnalysisin classAbstractDocumentAnalyzer
-
addComposites
-
dump
-