Labels tokens with their POS tag. For more details see this page.
||Annotator class name
- pos.model: POS model to use. There is no need to explicitly set this option, unless you want to use a different POS model (for advanced developers only). By default, this is set to the english left3words POS model included in the stanford-corenlp-models JAR file.
- pos.maxlen: Maximum sentence size for the POS sequence tagger. Useful to control the speed of the tagger on noisy text without punctuation marks. Note that the parser, if used, will be much more expensive than the tagger.
It is possible to run StanfordCoreNLP with a POS tagger
model that ignores capitalization. We have trained models like this
for English. You can find details on the
Caseless models page.
The POS tagger is described in detail on the Stanford NLP website.