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 java.lang.Object
- implements DocumentAnalyzerIF
INTERNAL:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iterations
protected int iterations
iteration
protected int iteration
AbstractDocumentAnalyzer
public AbstractDocumentAnalyzer()
AbstractDocumentAnalyzer
public AbstractDocumentAnalyzer(int iterations)
doDocumentAnalysis
public boolean doDocumentAnalysis()
- Specified by:
doDocumentAnalysis
in interface DocumentAnalyzerIF
startAnalysis
public void startAnalysis()
- Specified by:
startAnalysis
in interface DocumentAnalyzerIF
startDocument
public void startDocument(Document doc)
- Specified by:
startDocument
in interface DocumentAnalyzerIF
startRegion
public void startRegion(Region region)
- Specified by:
startRegion
in interface DocumentAnalyzerIF
analyzeToken
public abstract void analyzeToken(TextBlock parent,
Token token,
int index)
- Specified by:
analyzeToken
in interface DocumentAnalyzerIF
endRegion
public void endRegion(Region region)
- Specified by:
endRegion
in interface DocumentAnalyzerIF
endDocument
public void endDocument(Document doc)
- Specified by:
endDocument
in interface DocumentAnalyzerIF
endAnalysis
public void endAnalysis()
- Specified by:
endAnalysis
in interface DocumentAnalyzerIF
Copyright © 2000-2012 Ontopia.