OBJECT- Type of object being annotated
ANNOTATION- Type of annotation
public interface Annotator<OBJECT,ANNOTATION> extends Classifier<ANNOTATION,OBJECT>
The annotation interface extends the idea of a classifier with support for
feature-extraction from certain forms of object in order to generate the
Classifier.classify(Object) methods do exactly the same thing, but return
results in different forms. Which method is used might depend on the task at
hand. A simple implementation of the
Classifier.classify(Object) method that
annotate(Object) method can be found in the
AbstractAnnotator class. Implementors are advised to extend the
AbstractAnnotator class or one of its subclasses.
|Modifier and Type||Method and Description|
Generate annotations for the given object.