OpenNLP POS-tagger

Path pimlico.modules.opennlp.pos
Executable yes

Part-of-speech tagging using OpenNLP’s tools.

By default, uses the pre-trained English model distributed with OpenNLP. If you want to use other models (e.g. for other languages), download them from the OpenNLP website to the models dir (models/opennlp) and specify the model name as an option.

Inputs

Name Type(s)
text TarredCorpus<TokenizedDocumentType|WordAnnotationsDocumentType>

Outputs

Name Type(s)
documents AddAnnotationField

Options

Name Description Type
model POS tagger model, full path or filename. If a filename is given, it is expected to be in the opennlp model directory (models/opennlp/) string