# \[ANN\] Stemmer 1.0.1 - Porter Stemmer Gem

**URL:** <https://rubytalk.org/t/ann-stemmer-1-0-1-porter-stemmer-gem/17798>\
**Category:** ruby-talk\
**Created:** [21 April 2005 09:19 UTC](https://rubytalk.org/t/ann-stemmer-1-0-1-porter-stemmer-gem/17798 "2005-04-21T09:19:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_Pena\_Botp1](https://avatars.discourse-cdn.com/v4/letter/_/94ad74/32.png) [@\_Pena\_Botp1](https://rubytalk.org/u/_Pena_Botp1)\
**Post date:** [21 April 2005 09:19 UTC](https://rubytalk.org/t/ann-stemmer-1-0-1-porter-stemmer-gem/17798/1 "2005-04-21T09:19:35Z")

</div>

#With thanks to Ray Pereda (who ported the Perl code to Ruby) I  
#have released a Stemmer gem which contains the Porter word stemming  
#algorithm. Both Lucas Carlson and I were using this code in our  
#Bayesian classifier projects, I have used it in another  
#project and I'm sure other people make use of it too. It made  
#sense to Lucas and I to separate it out into a Gem to make it  
#easier for others to use.

> **···**
>
> Matt Mower [[mailto:matt.mower@gmail.com](mailto:matt.mower@gmail.com)] wrote:
> 
> #  
> #RubyForge Project:  
> #  
> #[http://rubyforge.org/projects/stemmer/](http://rubyforge.org/projects/stemmer/)  
> #  
> #Instructions:  
> #  
> #[http://stemmer.rubyforge.org/wiki/wiki.pl?HomePage](http://stemmer.rubyforge.org/wiki/wiki.pl?HomePage)
> 
> Cool.
> 
> irb(main):006:0\> "testing".stem  
> =\> "test"  
> irb(main):007:0\> "unimaginable".stem  
> =\> "unimagin"
> 
> do you know of any algorithm that "stems" the prefix?
> 
> i'd like:
> 
> irb(main):007:0\> "unimaginable".stem  
> =\> "imagin"
> 
> thanks and kind regards -botp
> 
> #  
> #Regards,  
> #  
> #Matt  
> #  
> #--  
> #Matt Mower :: [http://matt.blogs.it/](http://matt.blogs.it/)  
> #
