jangada
Class LocalStringAnnotator
java.lang.Object
edu.cmu.minorthird.text.AbstractAnnotator
jangada.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
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 |
providedAnnotation
protected java.lang.String providedAnnotation
LocalStringAnnotator
public LocalStringAnnotator()
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.