edu.cmu.minorthird.text.learn
Class ConditionalSemiMarkovModel.CSMMAnnotator
java.lang.Object
edu.cmu.minorthird.text.AbstractAnnotator
edu.cmu.minorthird.text.learn.ConditionalSemiMarkovModel.CSMMAnnotator
- All Implemented Interfaces:
- Annotator, ExtractorAnnotator, Visible, java.io.Serializable
- Enclosing class:
- ConditionalSemiMarkovModel
public static class ConditionalSemiMarkovModel.CSMMAnnotator
- extends AbstractAnnotator
- implements Visible, ExtractorAnnotator, java.io.Serializable
- See Also:
- Serialized Form
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. |
java.lang.String |
getSpanType()
The spanType used to encode the spans extracted by the
ExtractorAnnotator. |
Viewer |
toGUI()
Create a view of this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConditionalSemiMarkovModel.CSMMAnnotator
public ConditionalSemiMarkovModel.CSMMAnnotator(SpanFeatureExtractor fe,
BinaryClassifier classifier,
java.lang.String annotationType,
int maxSegSize)
toGUI
public Viewer toGUI()
- Description copied from interface:
Visible
- Create a view of this object
- Specified by:
toGUI
in interface Visible
getSpanType
public java.lang.String getSpanType()
- Description copied from interface:
ExtractorAnnotator
- The spanType used to encode the spans extracted by the
ExtractorAnnotator.
- Specified by:
getSpanType
in interface ExtractorAnnotator
doAnnotate
public void doAnnotate(MonotonicTextLabels labels)
- Description copied from class:
AbstractAnnotator
- The implementation for this method annotates labels in-line.
- Specified by:
doAnnotate
in class AbstractAnnotator
explainAnnotation
public java.lang.String explainAnnotation(TextLabels labels,
Span documentSpan)
- Description copied from class:
AbstractAnnotator
- The implementation for this method should explain how annotation
would be added to some part of the text base.
- Specified by:
explainAnnotation
in interface Annotator
- Specified by:
explainAnnotation
in class AbstractAnnotator