Fix build with xapian-core < 1.4.10
[xapian.git] / search-xapian / Xapian / Stem.pm
blob87e1bb6d16d302924b9796e060b6eb3f7a128a16
1 package Search::Xapian::Stem;
3 use 5.006;
4 use strict;
5 use warnings;
7 # In a new thread, copy objects of this class to unblessed, undef values.
8 sub CLONE_SKIP { 1 }
12 __END__
14 =head1 NAME
16 Search::Xapian::Stem - Snowball stemmer
18 =head1 SYNOPSIS
20 my $stemmer = Search::Xapian::Stem->new('norwegian');
21 my $stemmed_foo = $stemmer->stem_word($foo);
23 =head1 DESCRIPTION
25 =head1 METHODS
27 =over 4
29 =item new <language>
31 Constructor. Takes the language to stem as a parameter.
33 =item stem_word <word>
35 Returns the stemmed form of the given word.
37 =back
39 =head1 SEE ALSO
41 L<Search::Xapian>,
42 L<Search::Xapian::QueryParser>,
43 L<Search::Xapian::TermGenerator>
45 =cut