The Stanford NLP API possesses several techniques for detecting SBD. We will use the WordToSentenceProcessor class to illustrate how this can be performed. This provides an alternate approach to using OpenNLP.
Using the Stanford NLP API to perform SBD
Getting ready
To prepare, we need to do the following:
- Create a new Maven project
- Add the following dependency to the project's POM file:
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>3.8.0</version>
</dependency>