public abstract class AbstractPOSAnnotator extends AbstractTextPipeAnnotator<RawTextAnnotation>
| Constructor and Description |
|---|
AbstractPOSAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
void |
performAnnotation(RawTextAnnotation annotation)
This is where the actual annotation needs to happen.
|
protected abstract List<POSAnnotation.PartOfSpeech> |
pos(List<String> tokenList) |
annotatepublic AbstractPOSAnnotator()
public void performAnnotation(RawTextAnnotation annotation) throws MissingRequiredAnnotationException
AbstractTextPipeAnnotatorprotected abstract List<POSAnnotation.PartOfSpeech> pos(List<String> tokenList)