cadmium_lemmatizer

Version, currently master branch1 version
  • master branchlatestNov 10, 2019

github.com/cadmiumcr/lemmatizer

Returns an array of possible lemmas for each token

2 stars
1 dependent
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  cadmium_lemmatizer:
    github: cadmiumcr/lemmatizer
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.30.1
License
MIT
Author
Rémy Marronnier

Dependencies

Runtime Dependencies

Development Dependencies

  • ameba0.10.1github: veelenga/amebadev

README

Cadmium::Lemmatizer

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.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      cadmium_lemmatizer:
        github: cadmiumcr/lemmatizer
  2. Run shards install

Usage

require "cadmium_lemmatizer"

Cadmium::Lemmatizer.new.lemmatize("zoomed") # => ["zoom"]

Contributing

  1. Fork it (https://github.com/cadmiumcr/lemmatizer/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors