1KinoSearch1::Analysis::USsteermmCeorn(t3r)ibuted Perl DoKciunmoeSnetaartciho1n::Analysis::Stemmer(3)
2
3
4
6 KinoSearch1::Analysis::Stemmer - reduce related words to a shared root
7
9 my $stemmer = KinoSearch1::Analysis::Stemmer->new( language => 'es' );
10
11 my $polyanalyzer = KinoSearch1::Analysis::PolyAnalyzer->new(
12 analyzers => [ $lc_normalizer, $tokenizer, $stemmer ],
13 );
14
16 Stemming reduces words to a root form. For instance, "horse",
17 "horses", and "horsing" all become "hors" -- so that a search for
18 'horse' will also match documents containing 'horses' and 'horsing'.
19
20 This class is a wrapper around Lingua::Stem::Snowball, so it supports
21 the same languages.
22
24 new
25 Create a new stemmer. Takes a single named parameter, "language",
26 which must be an ISO two-letter code that Lingua::Stem::Snowball
27 understands.
28
30 Copyright 2005-2010 Marvin Humphrey
31
33 See KinoSearch1 version 1.01.
34
35
36
37perl v5.32.0 2020-07-28 KinoSearch1::Analysis::Stemmer(3)