|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.text.AbstractAnnotator edu.cmu.minorthird.text.StringAnnotator
public abstract class StringAnnotator
An abstract annotator that is based on marking up substrings within a string, using the CharAnnotation class.
Field Summary | |
---|---|
protected java.lang.String |
providedAnnotation
|
Constructor Summary | |
---|---|
StringAnnotator()
|
Method Summary | |
---|---|
protected abstract CharAnnotation[] |
annotateString(java.lang.String spanString)
Override this class to provide the actual annotations for a span. |
protected java.lang.String[] |
closedTypes()
|
protected void |
doAnnotate(MonotonicTextLabels labels)
The implementation for this method annotates labels in-line. |
Methods inherited from class edu.cmu.minorthird.text.AbstractAnnotator |
---|
annotate, annotatedCopy, explainAnnotation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String providedAnnotation
Constructor Detail |
---|
public StringAnnotator()
Method Detail |
---|
protected void doAnnotate(MonotonicTextLabels labels)
AbstractAnnotator
doAnnotate
in class AbstractAnnotator
protected java.lang.String[] closedTypes()
protected abstract CharAnnotation[] annotateString(java.lang.String spanString)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |