July 2018
Beginner to intermediate
318 pages
7h 49m
English
OpenNLP supports different libraries, as listed in the following table. These models can be downloaded from http://opennlp.sourceforge.net/models-1.5/. The en prefix specifies English as the language and ner indicates that the model is for NER:
|
English finder models |
Filename |
|
Location name finder model |
en-ner-location.bin |
|
Money name finder model |
en-ner-money.bin |
|
Organization name finder model |
en-ner-organization.bin |
|
Percentage name finder model |
en-ner-percentage.bin |
|
Person name finder model |
en-ner-person.bin |
|
Time name finder model |
en-ner-time.bin |
If we modify the statement to use a different model file, we can see how they work against the sample sentences:
InputStream ...
Read now
Unlock full access