|
|||||||||||
| 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.ParagraphAnnotator
| Field Summary |
| Fields inherited from class org.annotation.wordfreak.annotator.Annotator |
annotationFilter, dataDirectory, DEFAULT_ANNOTATOR_NAME, files, guiListener, listeners, loaded, progress, trainingFilter |
| Constructor Summary | |
ParagraphAnnotator(java.lang.String type)
|
|
| Method Summary | |
void |
annotatedFile(AnnotationFile f)
Selects annotations from f required for annotator. |
static java.lang.String[] |
getNames()
|
boolean |
loadAnnotator()
Loads the annotator. |
void |
processDocument(Annotation doc,
double percentage)
Processes the specified document 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, closeAnnotatedFile, done, getDataDirectory, hideWaitDialog, 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 ParagraphAnnotator(java.lang.String type)
| Method Detail |
public static java.lang.String[] getNames()
public boolean loadAnnotator()
Annotator
loadAnnotator in class Annotatorpublic void annotatedFile(AnnotationFile f)
Annotatorf required for annotator.
This may include annotations needed for the generation of sorted
outcomes. @see #sortedOutComes() sortedOutcomes
annotatedFile in interface AnnotatedFileListenerannotatedFile in class Annotator
public void processDocument(Annotation doc,
double percentage)
DocumentProcessor
processDocument in class DocumentProcessordoc - 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 | ||||||||||