Pipelining is a technique that strings together various operations in a convenient and easily modifiable form to achieve some result. There are several APIs that support this approach. In this recipe, we will demonstrate how the Stanford NLP API supports this concept for POS tagging. This will provide the reader with an additional development technique.
Using a pipeline to perform tagging
Getting ready
To prepare, we need to do the following:
- Create a new Maven project.
- Download the following JAR files:
- stanford-corenlp-full-2018-10-05.zip: This can be found at https://stanfordnlp.github.io/CoreNLP/download.html. Extract the file, stanford-corenlp-3.9.2.jar.
- stanford-postagger-2018-10-16.zip: This can be found at https:...