public abstract class AbstractSentenceAnnotator extends AbstractTextPipeAnnotator<RawTextAnnotation>
| Constructor and Description |
|---|
AbstractSentenceAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<SentenceAnnotation> |
getSentenceAnnotations(String text) |
void |
performAnnotation(RawTextAnnotation annotation)
This is where the actual annotation needs to happen.
|
annotatepublic AbstractSentenceAnnotator()
public void performAnnotation(RawTextAnnotation annotation)
AbstractTextPipeAnnotatorprotected abstract List<SentenceAnnotation> getSentenceAnnotations(String text)