|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.annotation.wordfreak.annotator.Annotator
org.annotation.wordfreak.annotator.DocumentProcessor
org.annotation.wordfreak.annotator.ParagraphProcessor
Abstract class which is used to facilitate creating annotator which processes paragraphs.
| Field Summary |
| Fields inherited from class org.annotation.wordfreak.annotator.Annotator |
annotationFilter, dataDirectory, DEFAULT_ANNOTATOR_NAME, files, guiListener, listeners, loaded, progress, trainingFilter |
| Constructor Summary | |
ParagraphProcessor(java.lang.String type)
|
|
| Method Summary | |
protected void |
processDocument(Annotation document,
double percentage)
Processes the specified document which consisits of the specified percentage of total work to be performed by this annotator. |
protected abstract void |
processParagraph(Annotation paragraph,
double percentage)
Processes the specified paragraph which consisits of the specified percentage of total work to be performed by this annotator. |
| Methods inherited from class org.annotation.wordfreak.annotator.DocumentProcessor |
annotating |
| Methods inherited from class org.annotation.wordfreak.annotator.Annotator |
actionPerformed, addAnnotatorListener, annotate, annotatedFile, closeAnnotatedFile, done, getDataDirectory, hideWaitDialog, loadAnnotator, loaded, removeAnnotatorListener, setAnnotationFilter, setDataDirectory, setGuiListener, setProgress, setTrainingFilter, showWaitDialog, sortedOutcomes, supportsTraining, train, training, updateProgress |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParagraphProcessor(java.lang.String type)
| Method Detail |
protected abstract void processParagraph(Annotation paragraph,
double percentage)
paragraph - The paragraph to be processed.percentage - The percentage of total work that this paragraph represents.
protected void processDocument(Annotation document,
double percentage)
DocumentProcessor
processDocument in class DocumentProcessordocument - The document to be annotated.percentage - The percentage of work this document represents.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||