Package net.ontopia.topicmaps.classify
Class RegionBooster
- java.lang.Object
-
- net.ontopia.topicmaps.classify.AbstractDocumentAnalyzer
-
- net.ontopia.topicmaps.classify.RegionBooster
-
- All Implemented Interfaces:
DocumentAnalyzerIF
public class RegionBooster extends AbstractDocumentAnalyzer
INTERNAL:
-
-
Field Summary
-
Fields inherited from class net.ontopia.topicmaps.classify.AbstractDocumentAnalyzer
iteration, iterations
-
-
Constructor Summary
Constructors Constructor Description RegionBooster()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBoost(String rname, double boost)
void
analyzeToken(TextBlock parent, Token token, int index)
void
endRegion(Region region)
void
startRegion(Region region)
-
Methods inherited from class net.ontopia.topicmaps.classify.AbstractDocumentAnalyzer
doDocumentAnalysis, endAnalysis, endDocument, startAnalysis, startDocument
-
-
-
-
Method Detail
-
addBoost
public void addBoost(String rname, double boost)
-
startRegion
public void startRegion(Region region)
- Specified by:
startRegion
in interfaceDocumentAnalyzerIF
- Overrides:
startRegion
in classAbstractDocumentAnalyzer
-
analyzeToken
public void analyzeToken(TextBlock parent, Token token, int index)
- Specified by:
analyzeToken
in interfaceDocumentAnalyzerIF
- Specified by:
analyzeToken
in classAbstractDocumentAnalyzer
-
endRegion
public void endRegion(Region region)
- Specified by:
endRegion
in interfaceDocumentAnalyzerIF
- Overrides:
endRegion
in classAbstractDocumentAnalyzer
-
-