| 1 | package Search::Xapian::Stemscip-perl cpan Search-Xapian v1.2.25.7 Search/Xapian/Stem/; |
| 2 | |
| 3 | use 5.006scip-perl cpan Search-Xapian v1.2.25.7 `5.006`/; |
| 4 | use strictscip-perl cpan Search-Xapian v1.2.25.7 strict/; |
| 5 | use warningsscip-perl cpan Search-Xapian v1.2.25.7 warnings/; |
| 6 | |
| 7 | # In a new thread, copy objects of this class to unblessed, undef values. |
| 8 | sub CLONE_SKIPscip-perl cpan Search-Xapian v1.2.25.7 Search/Xapian/Stem/CLONE_SKIP(). { 1 } |
| 9 | |
| 10 | 1; |
| 11 | |
| 12 | __END__ |
| 13 | |
| 14 | =head1 NAME |
| 15 | |
| 16 | Search::Xapian::Stem - Snowball stemmer |
| 17 | |
| 18 | =head1 SYNOPSIS |
| 19 | |
| 20 | my $stemmer = Search::Xapian::Stem->new('norwegian'); |
| 21 | my $stemmed_foo = $stemmer->stem_word($foo); |
| 22 | |
| 23 | =head1 DESCRIPTION |
| 24 | |
| 25 | =head1 METHODS |
| 26 | |
| 27 | =over 4 |
| 28 | |
| 29 | =item new <language> |
| 30 | |
| 31 | Constructor. Takes the language to stem as a parameter. |
| 32 | |
| 33 | =item stem_word <word> |
| 34 | |
| 35 | Returns the stemmed form of the given word. |
| 36 | |
| 37 | =back |
| 38 | |
| 39 | =head1 SEE ALSO |
| 40 | |
| 41 | L<Search::Xapian>, |
| 42 | L<Search::Xapian::QueryParser>, |
| 43 | L<Search::Xapian::TermGenerator> |
| 44 | |
| 45 | =cut |