org.annotation.wordfreak.annotator
Class RegExAnnotator
java.lang.Object
org.annotation.wordfreak.annotator.Annotator
org.annotation.wordfreak.annotator.RegExAnnotator
- All Implemented Interfaces:
- java.awt.event.ActionListener, AnnotatedFileListener, EventListener, java.util.EventListener, Plugin
- public class RegExAnnotator
- extends Annotator
- implements EventListener
Methods inherited from class org.annotation.wordfreak.annotator.Annotator |
actionPerformed, addAnnotatorListener, annotate, annotatedFile, 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 |
RegExAnnotator
public RegExAnnotator(java.lang.String str)
RegExAnnotator
public RegExAnnotator(java.lang.String str,
java.lang.String typ)
getNames
public static java.lang.String[] getNames()
promptForPattern
public void promptForPattern()
loadAnnotator
public boolean loadAnnotator()
- Description copied from class:
Annotator
- Loads the annotator.
- Specified by:
loadAnnotator
in class Annotator
annotating
public void annotating()
- Description copied from class:
Annotator
- Applies the appropiate annotation actions to each loaded annotation file.
progressInt
should be updated to indicate annotation progress.
- Specified by:
annotating
in class Annotator
eventTranspired
public boolean eventTranspired(java.lang.String com,
java.lang.Object source)
- Specified by:
eventTranspired
in interface EventListener
Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.