Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
/ mittens Public

Stemming for Ruby, powered by Snowball

License

Notifications You must be signed in to change notification settings

ankane/mittens

Repository files navigation

Mittens

Stemming for Ruby, powered by Snowball

❄️ Supports 30 languages

Build Status

Installation

Add this line to your application’s Gemfile:

gem "mittens"

Getting Started

Create a stemmer

stemmer = Mittens::Stemmer.new

Stem a word

stemmer.stem("tomatoes") # "tomato"

Languages

Specify the language

stemmer = Mittens::Stemmer.new(language: "french")

Supports arabic, armenian, basque, catalan, danish, dutch, dutch_porter, english, esperanto, estonian, finnish, french, german, greek, hindi, hungarian, indonesian, irish, italian, lithuanian, nepali, norwegian, porter, portuguese, romanian, russian, serbian, spanish, swedish, tamil, turkish, and yiddish

History

View the changelog

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

To get started with development:

git clone --recursive https://github.com/ankane/mittens.git
cd mittens
bundle install
bundle exec rake compile
bundle exec rake test

About

Stemming for Ruby, powered by Snowball

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •