public interface Annotator
Annotator
annotates text with attributes. Typical annotations
are tokens, script/language regions, morphological analyses, sentences,
base noun phrases, and entity mentions. A single annotator operates in one
language; while the data model supports multi-language texts, this
interface does not (yet) provide support.Modifier and Type | Method and Description |
---|---|
AnnotatedText |
annotate(AnnotatedText input)
Annotates an existing text object with additional attributes.
|
AnnotatedText |
annotate(CharSequence input)
Annotates raw text with attributes.
|
AnnotatedText annotate(CharSequence input)
input
- data to processAnnotatedText annotate(AnnotatedText input)
input
- data to processCopyright © 2016 Basis Technology Corporation. All Rights Reserved.