public abstract class AbstractPhraseAnnotator extends AbstractTextPipeAnnotator<RawTextAnnotation>
Constructor and Description |
---|
AbstractPhraseAnnotator() |
Modifier and Type | Method and Description |
---|---|
void |
performAnnotation(RawTextAnnotation annotation)
This is where the actual annotation needs to happen.
|
protected abstract void |
phraseChunk(List<TokenAnnotation> tokens) |
annotate
public AbstractPhraseAnnotator()
public void performAnnotation(RawTextAnnotation annotation) throws MissingRequiredAnnotationException
AbstractTextPipeAnnotator
protected abstract void phraseChunk(List<TokenAnnotation> tokens)