LinguakitRuby
Installation
Move to tmp directory
cd /tmp
Clone NLP project
git clone https://github.com/4Talent/Linguakit
Using Make (to be installed in an accessible bin directory):
cd Linguakit
sudo make deps
sudo make install
Add this line to your application's Gemfile:
gem 'linguakit_ruby'
And then execute:
bundle
Usage
Linguakit.get_score(principal_items, secondary_items, **opts)
Linguakit.keyword(input, **args)
Example
Linguakit.keyword("Estoy en Santiago, en la casa de mi amigo de Pedro. Luego voy a Valparaiso para pasear en el parque y conocer la plaza.")
Linguakit.get_score( { data: "FOO" }, { data: ["FOO", "BAR"], type: :arr }, { score: 0.8 )
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/4talent/linguakit_ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the LinguakitRuby project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
Thanks to
@citiususc - Linguakit
@seamusabshere - FuzzyMatch