edu.cmu.minorthird.text
Interface Annotator

All Known Subinterfaces:
ExtractorAnnotator
All Known Implementing Classes:
AbstractAnnotator, ClassifierAnnotator, ConditionalSemiMarkovModel.CSMMAnnotator, ConfidenceReportingSequenceAnnotator, EncapsulatedAnnotator, ExtractAbbrev, MinorTagger, MixupAnnotator, MultiClassifierAnnotator, NameMatcher, OnlineBinaryTextClassifierLearner, POSTagger, SegmentAnnotatorLearner.SegmentAnnotator, SequenceAnnotatorLearner.SequenceAnnotator, StartEndLengthAnnotator, StringAnnotator, URLAnnotator

public interface Annotator

Something that extends a text labeling with additional annotations.

Author:
William Cohen

Method Summary
 void annotate(MonotonicTextLabels labels)
          Add some extra information to the labels.
 TextLabels annotatedCopy(TextLabels labels)
          Create a copy of the labels with some additional information added.
 java.lang.String explainAnnotation(TextLabels labels, Span documentSpan)
          Explain how annotation was added to some part of the text base.
 

Method Detail

annotate

void annotate(MonotonicTextLabels labels)
Add some extra information to the labels.


annotatedCopy

TextLabels annotatedCopy(TextLabels labels)
Create a copy of the labels with some additional information added.


explainAnnotation

java.lang.String explainAnnotation(TextLabels labels,
                                   Span documentSpan)
Explain how annotation was added to some part of the text base.