Package net.ontopia.topicmaps.classify
Class AbstractDocumentAnalyzer
- java.lang.Object
-
- net.ontopia.topicmaps.classify.AbstractDocumentAnalyzer
-
- All Implemented Interfaces:
DocumentAnalyzerIF
- Direct Known Subclasses:
CompoundAnalyzer
,DistanceAnalyzer
,RegionBooster
public abstract class AbstractDocumentAnalyzer extends Object implements DocumentAnalyzerIF
INTERNAL:
-
-
Field Summary
Fields Modifier and Type Field Description protected int
iteration
protected int
iterations
-
Constructor Summary
Constructors Constructor Description AbstractDocumentAnalyzer(int iterations)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
analyzeToken(TextBlock parent, Token token, int index)
boolean
doDocumentAnalysis()
void
endAnalysis()
void
endDocument(Document doc)
void
endRegion(Region region)
void
startAnalysis()
void
startDocument(Document doc)
void
startRegion(Region region)
-
-
-
Method Detail
-
doDocumentAnalysis
public boolean doDocumentAnalysis()
- Specified by:
doDocumentAnalysis
in interfaceDocumentAnalyzerIF
-
startAnalysis
public void startAnalysis()
- Specified by:
startAnalysis
in interfaceDocumentAnalyzerIF
-
startDocument
public void startDocument(Document doc)
- Specified by:
startDocument
in interfaceDocumentAnalyzerIF
-
startRegion
public void startRegion(Region region)
- Specified by:
startRegion
in interfaceDocumentAnalyzerIF
-
analyzeToken
public abstract void analyzeToken(TextBlock parent, Token token, int index)
- Specified by:
analyzeToken
in interfaceDocumentAnalyzerIF
-
endRegion
public void endRegion(Region region)
- Specified by:
endRegion
in interfaceDocumentAnalyzerIF
-
endDocument
public void endDocument(Document doc)
- Specified by:
endDocument
in interfaceDocumentAnalyzerIF
-
endAnalysis
public void endAnalysis()
- Specified by:
endAnalysis
in interfaceDocumentAnalyzerIF
-
-