The most popular option seems to be https://github.com/aurelian/ruby-stemmer. But its kinda outdated and gives poor-ish results.
"why" becomes "whi", "people" becomes "peopl" and a lot lot many incorrect ones.<p>Something like Solr's reduction to stems is what I was hoping for to be able to use it in my project.<p>Thinking of going for a full port of Porter's stemming. Thoughts?
Thanks for asking this, I'd also be interested in knowing...<p>Did you try the uea-stemmer? Also pretty old: <a href="https://github.com/ealdent/uea-stemmer" rel="nofollow">https://github.com/ealdent/uea-stemmer</a><p>Also, there's the treat gem, which is an all-in-one package...it uses both the stemmer you mentioned and the uea one...so maybe that's it for Rubyists.<p><a href="https://github.com/louismullie/treat" rel="nofollow">https://github.com/louismullie/treat</a>
<a href="https://github.com/raypereda/stemmify" rel="nofollow">https://github.com/raypereda/stemmify</a><p>Not a Ruby guy so no idea if its any good, but it is the implementation linked from here <a href="http://tartarus.org/~martin/PorterStemmer/" rel="nofollow">http://tartarus.org/~martin/PorterStemmer/</a>