- All Implemented Interfaces:
Annotator
public abstract class AbstractAnnotator
extends Object
implements Annotator
This abstract class provides the canonical mapping from
annotating with string input to annotating with
AnnotatedText
input.
-
Constructor Summary
Constructors
-
Method Summary
Annotates raw text with attributes.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractAnnotator
public AbstractAnnotator()
-
Method Details
-
annotate
Annotates raw text with attributes. For example, a base linguistics
annotator may accept raw text and annotate it with token attributes.
- Specified by:
annotate
in interface Annotator
- Parameters:
input
- data to process
- Returns:
- annotated data