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, waitannotate, getAnnotationsprotected AbstractAnnotator()
public ClassificationResult<ANNOTATION> classify(OBJECT object)
Classifierclassify in interface Classifier<ANNOTATION,OBJECT>object - the object to classify.