Ask HN: Stemmers in ruby, any good? or should I just go ahead and write my own?

https://news.ycombinator.com/item?id=6708543
by arindam_ • 13 years ago
2 2 13 years ago

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.

Something like Solr's reduction to stems is what I was hoping for to be able to use it in my project.

Thinking of going for a full port of Porter's stemming. Thoughts?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com