| 1 |
NAME |
| 2 |
Lingua::Stem::It - Porter's stemming algorithm for Italian |
| 3 |
|
| 4 |
SYNOPSIS |
| 5 |
use Lingua::Stem::It; |
| 6 |
my $stems = Lingua::Stem::It::stem({ -words => $word_list_reference, |
| 7 |
-locale => 'it', |
| 8 |
-exceptions => $exceptions_hash, |
| 9 |
}); |
| 10 |
|
| 11 |
my $stem = Lingua::Stem::It::stem_word( $word ); |
| 12 |
|
| 13 |
DESCRIPTION |
| 14 |
This module applies the Porter Stemming Algorithm to its parameters, |
| 15 |
returning the stemmed words. |
| 16 |
|
| 17 |
The algorithm is implemented exactly (I hope :-) as described in: |
| 18 |
|
| 19 |
http://snowball.tartarus.org/algorithms/italian/stemmer.html |
| 20 |
|
| 21 |
The code is carefully crafted to work in conjunction with the the |
| 22 |
Lingua::Stem module by Benjamin Franz, from which I've also |
| 23 |
borrowed some functionalities (caching and exception list). |
| 24 |
|
| 25 |
AUTHOR |
| 26 |
Aldo Calpini, [email protected] |
| 27 |
|
| 28 |
SEE ALSO |
| 29 |
Lingua::Stem |
| 30 |
|
| 31 |
COPYRIGHT |
| 32 |
Copyright (c) Aldo Calpini, [email protected]. All rights reserved. |
| 33 |
|
| 34 |
This library is free software; you can redistribute it and/or |
| 35 |
modify it under the same terms as Perl itself. |
| 36 |
|