0.0
No commit activity in last 3 years
No release in over 3 years
Implements the "S-Stemmer" from "How Effective Is Suffixing?"
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3
~> 0.8
 Project Readme

Ruby Minimal Stemmer Implementation

Implements the "S-Stemmer" from How Effective Is Suffixing? Donna Harman. Just like Lucene's EnglishMinimalStemmer.

Installation

gem install minimal_stemmer

Usage

require 'minimal_stemmer'

MinimalStemmer.stem('words')
# => 'word'

It's also possible to include it so it adds a #stem method to the core ruby string method. For safety, this must be included explicitly:

require 'minimal_stemmer/core_ext/string'

'words'.stem
# => 'word'