public class CompoundAnalyzer extends AbstractDocumentAnalyzer implements TermAnalyzerIF
iteration, iterations
Constructor and Description |
---|
CompoundAnalyzer() |
Modifier and Type | Method and Description |
---|---|
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) |
doDocumentAnalysis, endDocument, endRegion, startAnalysis, startDocument, startRegion
public void setMaxLength(int maxLength)
public void setTerm1ScoreThreshold(double term1ScoreThreshold)
public void setTerm2ScoreThreshold(double term2ScoreThreshold)
public void setCompositeOccurrencesThreshold(int compositeOccsThreshold)
public void setTermStemmer(TermStemmerIF stemmer)
public void analyzeToken(TextBlock parent, Token token, int index)
analyzeToken
in interface DocumentAnalyzerIF
analyzeToken
in class AbstractDocumentAnalyzer
public void analyzeTerm(Term term)
analyzeTerm
in interface TermAnalyzerIF
public void startAnalysis(TermDatabase tdb)
startAnalysis
in interface TermAnalyzerIF
public void endAnalysis()
endAnalysis
in interface DocumentAnalyzerIF
endAnalysis
in interface TermAnalyzerIF
endAnalysis
in class AbstractDocumentAnalyzer
public void addComposites(TermDatabase tdb, Term t1, int length)
public void dump(Term t)