open-nlp | Ruby bindings to the OpenNLP Java toolkit | Natural Language Processing library
kandi X-RAY | open-nlp Summary
kandi X-RAY | open-nlp Summary
This library provides high-level Ruby bindings to the Open NLP package, a Java machine learning toolkit for natural language processing (NLP). This gem is compatible with Ruby 1.9.2 and 1.9.3 as well as JRuby 1.7.1. It is tested on both Java 6 and Java 7. First, install the gem: gem install open-nlp. Then, download the JARs and English language models in one package (80 MB). Place the contents of the extracted archive inside the /bin/ folder of the open-nlp gem (e.g. [...]/gems/open-nlp-0.x.x/bin/).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of open-nlp
open-nlp Key Features
open-nlp Examples and Code Snippets
Community Discussions
Trending Discussions on open-nlp
QUESTION
I'm trying to add extra training data to my nl-personTest.bin
file with OpenNLP
.
Now is my problem that when I run my code to add the extra trainingsdata it removes the already existing data and only add my new data.
How can I just add extra trainingsdata instead of replacing it?
I did use the following code, (got it from Open NLP NER is not properly trained)
...ANSWER
Answered 2017-Oct-14 at 06:38I think that OpenNLP does not support to expand existing binary NLP models.
If you have all training data available, collect them all and then train them at once. You can use SequenceInputStream
. I modified your example to use another InputStreamFactory
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install open-nlp
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page