OBJECT
- Type of object being annotatedANNOTATION
- Type of annotationpublic abstract class AbstractAnnotator<OBJECT,ANNOTATION> extends Object implements Annotator<OBJECT,ANNOTATION>
BatchAnnotator
or
IncrementalAnnotator
instead of subclassing AbstractAnnotator
directly.Modifier | Constructor and Description |
---|---|
protected |
AbstractAnnotator() |
Modifier and Type | Method and Description |
---|---|
ClassificationResult<ANNOTATION> |
classify(OBJECT object)
Classify an object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
annotate, getAnnotations
protected AbstractAnnotator()
public ClassificationResult<ANNOTATION> classify(OBJECT object)
Classifier
classify
in interface Classifier<ANNOTATION,OBJECT>
object
- the object to classify.