NlpToolz
March 5, 2018 ยท View on GitHub
NlpToolz
Basic NLP tools, mostly based on OpenNLP, at this time sentence finder, tokenizer and POS tagger implemented, plus Berkeley Parser.
Installation
Add this line to your application's Gemfile:
gem 'nlp_toolz'
And then execute:
$ bundle
Or install it yourself as:
$ gem install nlp_toolz
Usage
see: nlp_toolz.rb and specs for usage
Docker
Use this Dockerfile lefnord/nlp_toolz for local development, it includes the needed jars and models.
- build:
docker build -t lefnord/nlp_toolz . - run:
docker run --rm -ti lefnord/nlp_toolz
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Comments
- removed Celluloid, do concurrency in your app, where it be used
- check
load_jarsfor JVM parameters
