Dennis Haney > Lingua-Stem-Snowball-Da-1.01 > Lingua::Stem::Snowball::Da

Download:
Lingua-Stem-Snowball-Da-1.01.tar.gz

Dependencies

Annotate this POD

Related Modules

HTML::Index
Lingua::Stem
HTML::Template
Compress::Zlib
Carp::Assert
more...
By perlmonks.org

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 1.01   Source  

NAME ^

Lingua::Stem::Snowball::Da - Porters stemming algorithm for Denmark

SYNOPSIS ^

  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";
  }

DESCRIPTION ^

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.

EXPORT

Lingua::Stem::Snowball::Da has nothing to export.

AUTHOR ^

Dennis Haney <davh@davh.dk>

Ask Solem Hoel, <ask@unixmonks.net> (Swedish version)

SEE ALSO ^

perl. Lingua::Stem::Snowball. Lingua::Stem. http://snowball.tartarus.org.

syntax highlighting: