Basic NLP tools, mostly based on OpenNLP, at this time sentence finder
, tokenizer
and POS tagger
implemented, plus Berkeley Parser.
Add this line to your application's Gemfile:
gem 'nlp_toolz'
And then execute:
$ bundle
Or install it yourself as:
$ gem install nlp_toolz
see: nlp_toolz.rb and specs for usage
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
- 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
- removed Celluloid, do concurrency in your app, where it be used
- check
load_jars
for JVM parameters