jangada
Class LocalStringAnnotator

java.lang.Object
  extended byedu.cmu.minorthird.text.AbstractAnnotator
      extended byjangada.LocalStringAnnotator
All Implemented Interfaces:
edu.cmu.minorthird.text.Annotator
Direct Known Subclasses:
ReplyToAnnotator, SigFileAnnotator

public abstract class LocalStringAnnotator
extends edu.cmu.minorthird.text.AbstractAnnotator

An abstract annotator that is based on marking up substrings within a string, using the CharAnnotation class from Minorthird.

Author:
ksteppe

Field Summary
protected  java.lang.String providedAnnotation
           
 
Constructor Summary
LocalStringAnnotator()
           
 
Method Summary
protected abstract  edu.cmu.minorthird.text.CharAnnotation[] annotateString(java.lang.String spanString)
          Override this class to provide the actual annotations for a span.
protected  java.lang.String[] closedTypes()
           
 void doAnnotate(edu.cmu.minorthird.text.MonotonicTextLabels labels)
           
 
Methods inherited from class edu.cmu.minorthird.text.AbstractAnnotator
annotate, annotatedCopy, explainAnnotation, getLabels
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

providedAnnotation

protected java.lang.String providedAnnotation
Constructor Detail

LocalStringAnnotator

public LocalStringAnnotator()
Method Detail

doAnnotate

public void doAnnotate(edu.cmu.minorthird.text.MonotonicTextLabels labels)

closedTypes

protected java.lang.String[] closedTypes()

annotateString

protected abstract edu.cmu.minorthird.text.CharAnnotation[] annotateString(java.lang.String spanString)
Override this class to provide the actual annotations for a span.