|
|||||||||
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.MixupAnnotator
public class MixupAnnotator
Annotate labels using a mixup program.
Constructor Summary | |
---|---|
MixupAnnotator(MixupProgram program)
|
Method Summary | |
---|---|
protected void |
doAnnotate(MonotonicTextLabels labels)
Right now this method executes the mixup program associated with this annotator and the caller is expected to get the results directly out of the labels set that was passed in originally. |
java.lang.String |
explainAnnotation(TextLabels labels,
Span documentSpan)
The implementation for this method should explain how annotation would be added to some part of the text base. |
Methods inherited from class edu.cmu.minorthird.text.AbstractAnnotator |
---|
annotate, annotatedCopy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MixupAnnotator(MixupProgram program)
Method Detail |
---|
protected void doAnnotate(MonotonicTextLabels labels)
MixupInterpreter
. Otherwise these results will be lost.
doAnnotate
in class AbstractAnnotator
public java.lang.String explainAnnotation(TextLabels labels, Span documentSpan)
AbstractAnnotator
explainAnnotation
in interface Annotator
explainAnnotation
in class AbstractAnnotator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |