org.annotation.wordfreak.annotator
Class RegExAnnotator

java.lang.Object
  extended byorg.annotation.wordfreak.annotator.Annotator
      extended byorg.annotation.wordfreak.annotator.RegExAnnotator
All Implemented Interfaces:
java.awt.event.ActionListener, AnnotatedFileListener, EventListener, java.util.EventListener, Plugin

public class RegExAnnotator
extends Annotator
implements EventListener


Nested Class Summary
 class RegExAnnotator.RegExInputDialog
           
 
Field Summary
 
Fields inherited from class org.annotation.wordfreak.annotator.Annotator
annotationFilter, dataDirectory, DEFAULT_ANNOTATOR_NAME, files, guiListener, listeners, loaded, progress, trainingFilter
 
Constructor Summary
RegExAnnotator(java.lang.String str)
           
RegExAnnotator(java.lang.String str, java.lang.String typ)
           
 
Method Summary
 void annotating()
          Applies the appropiate annotation actions to each loaded annotation file.
 boolean eventTranspired(java.lang.String com, java.lang.Object source)
           
static java.lang.String[] getNames()
           
 boolean loadAnnotator()
          Loads the annotator.
 void promptForPattern()
           
 
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
 

Constructor Detail

RegExAnnotator

public RegExAnnotator(java.lang.String str)

RegExAnnotator

public RegExAnnotator(java.lang.String str,
                      java.lang.String typ)
Method Detail

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.