porter_stemming.rb

Path: lib/text/porter_stemming.rb
Last Update: Tue Mar 01 23:34:32 +0000 2016

This is the Porter Stemming algorithm, ported to Ruby from the version coded up in Perl. It‘s easy to follow against the rules in the original paper in:

  Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14,
  no. 3, pp 130-137,

Taken from www.tartarus.org/~martin/PorterStemmer (Public Domain)

[Validate]