Lingua::Stem::Snowball::Da - Porters stemming algorithm for Denmark
use Lingua::Stem::Snowball::Da my $stemmer = new Lingua::Stem::Snowball::Da (use_cache => 1); foreach my $word (@words) { my $stemmed = $stemmer->stem($word); print $stemmed, "\n"; }
The stem function takes a scalar as a parameter and stems the word according to Martin Porters Danish stemming algorithm, which can be found at the Snowball website: http://snowball.tartarus.org/.
It also supports caching if you pass the use_cache option when constructing a new L:S:S:D object.
Lingua::Stem::Snowball::Da has nothing to export.
Dennis Haney <davh@davh.dk>
Ask Solem Hoel, <ask@unixmonks.net> (Swedish version)
perl. Lingua::Stem::Snowball. Lingua::Stem. http://snowball.tartarus.org.
To install Lingua::Stem::Snowball::Da, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::Stem::Snowball::Da
CPAN shell
perl -MCPAN -e shell install Lingua::Stem::Snowball::Da
For more information on module installation, please visit the detailed CPAN module installation guide.