Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ANN] Stemmer 1.0.1 - Porter Stemmer Gem

56 views
Skip to first unread message

Matt Mower

unread,
Apr 21, 2005, 5:00:00 AM4/21/05
to
Hi folks,

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.

RubyForge Project:

http://rubyforge.org/projects/stemmer/

Instructions:

http://stemmer.rubyforge.org/wiki/wiki.pl?HomePage

Regards,

Matt

--
Matt Mower :: http://matt.blogs.it/

"Peña, Botp"

unread,
Apr 21, 2005, 5:19:35 AM4/21/05
to
Matt Mower [mailto:matt....@gmail.com] wrote:

#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.
#
#RubyForge Project:
#
#http://rubyforge.org/projects/stemmer/
#
#Instructions:
#
#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/
#


0 new messages