1Da(3) User Contributed Perl Documentation Da(3)
2
3
4
6 Lingua::Stem::Snowball::Da - Porters stemming algorithm for Denmark
7
9 use Lingua::Stem::Snowball::Da
10 my $stemmer = new Lingua::Stem::Snowball::Da (use_cache => 1);
11
12 foreach my $word (@words) {
13 my $stemmed = $stemmer->stem($word);
14 print $stemmed, "\n";
15 }
16
18 The stem function takes a scalar as a parameter and stems the word
19 according to Martin Porters Danish stemming algorithm, which can be
20 found at the Snowball website: <http://snowball.tartarus.org/>.
21
22 It also supports caching if you pass the use_cache option when
23 constructing a new L:S:S:D object.
24
25 EXPORT
26 Lingua::Stem::Snowball::Da has nothing to export.
27
29 Dennis Haney <davh@davh.dk>
30
31 Ask Solem Hoel, <ask@unixmonks.net> (Swedish version)
32
34 perl. Lingua::Stem::Snowball. Lingua::Stem.
35 <http://snowball.tartarus.org>.
36
37
38
39perl v5.34.0 2022-01-21 Da(3)