public class BlackList extends Object implements TermAnalyzerIF
| Modifier and Type | Field and Description |
|---|---|
protected Collection<String> |
added |
protected File |
file |
protected long |
lastModified |
protected double |
stopFactor |
protected Collection<String> |
stopList |
| Modifier and Type | Method and Description |
|---|---|
void |
addStopWord(String term) |
void |
analyzeTerm(Term term) |
void |
endAnalysis() |
boolean |
isStopWord(String word) |
void |
save() |
void |
setStopFactor(double stopFactor) |
void |
startAnalysis(TermDatabase tdb) |
protected Collection<String> stopList
protected double stopFactor
protected File file
protected Collection<String> added
protected long lastModified
public void addStopWord(String term)
public void save()
public void setStopFactor(double stopFactor)
public boolean isStopWord(String word)
public void analyzeTerm(Term term)
analyzeTerm in interface TermAnalyzerIFpublic void startAnalysis(TermDatabase tdb)
startAnalysis in interface TermAnalyzerIFpublic void endAnalysis()
endAnalysis in interface TermAnalyzerIF