Getting ready

To prepare, we need to do the following:

  1. Create a new Maven project.
  2. Add the following dependency to the project's POM file:
<dependency>
<groupId>org.apache.opennlp</groupId>
<artifactId>opennlp-tools</artifactId>
<version>1.9.0</version>
</dependency>

Download the file, en-pos-maxent.bin, from http://opennlp.sourceforge.net/models-1.5/. Add the file to the root level of your project.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.115.121