Project

mittens

0.01
No release in over a year
Stemming for Ruby, powered by Snowball
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Mittens

Stemming for Ruby, powered by Snowball

❄️ Supports 28 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("tomatos") # "tomato"

Languages

Specify the language

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

Supports arabic, armenian, basque, catalan, danish, dutch, english, 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