Fast Porter stemmer based on a C version of the algorithm
C Ruby
Failed to load latest commit information.
ext Allow compiler other than "gcc" Feb 3, 2013
lib Don't mutate the original string Apr 5, 2012
test Initial import Feb 9, 2009
.gitignore Don't mutate the original string Apr 5, 2012
LICENSE Initial commit to fast-stemmer. Feb 9, 2009
README Reverted last edit to Readme and added some clarification: while the … Dec 12, 2011
VERSION.yml Version bump to 1.0.2 Feb 6, 2013
fast-stemmer.gemspec Update fast-stemmer.gemspec Feb 18, 2014


Fast-stemmer is simply a wrapping around multithreaded
Porter stemming algorithm.

This gem adds a String#stem method, and it conflicts with the stemmer gem.
It's in order of magnitude faster (and uses much less memory) than the latter.

For the original work please see:

  gem 'fast-stemmer'


  require 'rubygems'
  require 'fast_stemmer'

  Stemmer::stem_word('running') # -> 'run'
  'running'.stem                # -> 'run'


Copyright (c) 2008 Roman Shterenzon. See LICENSE for details.