|
|||||||||
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.learn.MultiClassifierAnnotator
public class MultiClassifierAnnotator
An annotator that uses a learned Classifier to mark up document spans.
Constructor Summary | |
---|---|
MultiClassifierAnnotator(SpanFeatureExtractor fe,
MultiClassifier mc,
java.lang.String[] multiSpanProp)
|
Method Summary | |
---|---|
void |
doAnnotate(MonotonicTextLabels labels)
The implementation for this method annotates labels in-line. |
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. |
SpanFeatureExtractor |
getFE()
The feature extractor applied to candidate spans. |
MultiClassifier |
getMultiClassifier()
|
java.lang.String[] |
getMultiSpanProperty()
If non-null, the property used to encode the output of the classifier. |
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 MultiClassifierAnnotator(SpanFeatureExtractor fe, MultiClassifier mc, java.lang.String[] multiSpanProp)
Method Detail |
---|
public SpanFeatureExtractor getFE()
public MultiClassifier getMultiClassifier()
public java.lang.String[] getMultiSpanProperty()
public void doAnnotate(MonotonicTextLabels labels)
AbstractAnnotator
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 |