KinoSearch::Analysis::Stemmer - Reduce related words to a shared root.
my $stemmer = KinoSearch::Analysis::Stemmer->new( language => 'es' );
my $polyanalyzer = KinoSearch::Analysis::PolyAnalyzer->new(
analyzers => [ $lc_normalizer, $tokenizer, $stemmer ],
);
This class is a wrapper around Lingua::Stem::Snowball, so it supports the same languages.
Stemmer is an Analyzer which reduces related words to a root form (using the "Snowball" stemming library). For instance, "horse", "horses", and "horsing" all become "hors" -- so that a search for 'horse' will also match documents containing 'horses' and 'horsing'.
my $stemmer = KinoSearch::Analysis::Stemmer->new( language => 'es' );
KinoSearch::Analysis::Stemmer isa KinoSearch::Analysis::Analyzer isa KinoSearch::Obj.
Copyright 2005-2008 Marvin Humphrey
See KinoSearch version 0.20.