Package net.ontopia.topicmaps.classify
Class BlackList
- java.lang.Object
-
- net.ontopia.topicmaps.classify.BlackList
-
- All Implemented Interfaces:
TermAnalyzerIF
public class BlackList extends Object implements TermAnalyzerIF
INTERNAL:
-
-
Field Summary
Fields Modifier and Type Field Description protected Collection<String>addedprotected Filefileprotected longlastModifiedprotected doublestopFactorprotected Collection<String>stopList
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStopWord(String term)voidanalyzeTerm(Term term)voidendAnalysis()booleanisStopWord(String word)voidsave()voidsetStopFactor(double stopFactor)voidstartAnalysis(TermDatabase tdb)
-
-
-
Field Detail
-
stopList
protected Collection<String> stopList
-
stopFactor
protected double stopFactor
-
file
protected File file
-
added
protected Collection<String> added
-
lastModified
protected long lastModified
-
-
Method Detail
-
addStopWord
public void addStopWord(String term)
-
save
public void save()
-
setStopFactor
public void setStopFactor(double stopFactor)
-
isStopWord
public boolean isStopWord(String word)
-
analyzeTerm
public void analyzeTerm(Term term)
- Specified by:
analyzeTermin interfaceTermAnalyzerIF
-
startAnalysis
public void startAnalysis(TermDatabase tdb)
- Specified by:
startAnalysisin interfaceTermAnalyzerIF
-
endAnalysis
public void endAnalysis()
- Specified by:
endAnalysisin interfaceTermAnalyzerIF
-
-