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>
added
protected File
file
protected long
lastModified
protected double
stopFactor
protected Collection<String>
stopList
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
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:
analyzeTerm
in interfaceTermAnalyzerIF
-
startAnalysis
public void startAnalysis(TermDatabase tdb)
- Specified by:
startAnalysis
in interfaceTermAnalyzerIF
-
endAnalysis
public void endAnalysis()
- Specified by:
endAnalysis
in interfaceTermAnalyzerIF
-
-