WIP. For now, until Cadmium::POS_Tagger is ready, this lemmatizer returns an array of possible lemmas for a string input. English data is included, but other languages are available at cadmiumcr/languages.
-
Add the dependency to your
shard.yml
:dependencies: cadmium_lemmatizer: github: cadmiumcr/lemmatizer
-
Run
shards install
require "cadmium_lemmatizer"
Cadmium::Lemmatizer.new.lemmatize("zoomed") # => ["zoom"]
- Fork it (https://github.com/cadmiumcr/lemmatizer/fork)
- 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 a new Pull Request
- Rémy Marronnier - creator and maintainer