For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > October 2006 > Using Plucene::Analysis::PorterStemFilter: I don't know where to start!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Using Plucene::Analysis::PorterStemFilter: I don't know where to start!
sydeburn@hotmail.com

2006-10-05, 6:58 pm

I have Plucene set up and running. But now I'd like to make my search
a little more "fuzzy" by adding Porter Stemming.

It seems the tool for this is the PorterStemFilter to "transform the
token stream".

According to the documentation on CPAN, the only method available is
the "Next" method:

my $token = $porter_stem_filter->next;

Sorry to be a boob, but how/where do I use this method to "transform
the token stream"?

I started with PluceneSimple, but I'm willing to use full Plucene if
need be.

Any advice would be awesome.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com