Lingua::Stem::Pt(3pm) User Contributed Perl Documentation Lingua::Stem::Pt(3pm) NAME Lingua::Stem::Pt - Stemming algorithm for Portuguese SYNOPSIS use Lingua::Stem::Pt; my $stems = Lingua::Stem::Pt::stem({ -words => $word_list_reference, -locale => 'pt', -exceptions => $exceptions_hash, }); DESCRIPTION This routine applies a stemming slgorithm to a passed anon array of Portuguese words, returning the stemmed words as an anon array. It is a 'convienence' wrapper for 'Lingua::Stemmer::PT' that provides a standardized interface and caching. CHANGES 2.30 2020.06.20 - Version renumber for module consistency 1.01 2003.09.28 - Documenation fix 1.00 2003.04.05 - Initial release METHODS stem({ -words => \@words, -locale => 'pt', -exceptions => \%exceptions }); Stems a list of passed words using the rules of Portuguese. Returns an anonymous array reference to the stemmed words. Example: my $stemmed_words = Lingua::Stem::Pt::stem({ -words => \@words, -locale => 'pt', -exceptions => \%exceptions, }); stem_caching({ -level => 0|1|2 }); Sets the level of stem caching. '0' means 'no caching'. This is the default level. '1' means 'cache per run'. This caches stemming results during a single call to 'stem'. '2' means 'cache indefinitely'. This caches stemming results until either the process exits or the 'clear_stem_cache' method is called. clear_stem_cache; Clears the cache of stemmed words NOTES This code is a wrapper around Lingua::Stem::Snowball::Pt written by Ask Solem Hoel, <ask AT unixmonks.net> SEE ALSO Lingua::Stem Lingua::PT::Stemmer; AUTHOR Integration in Lingua::Stem by Jerilyn Franz, FreeRun Technologies, <cpan AT jerilyn.info> COPYRIGHT Jerilyn Franz, FreeRun Technologies This code is freely available under the same terms as Perl. BUGS TODO perl v5.30.3 2020-08-23 Lingua::Stem::Pt(3pm)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-12-12 21:40 @3.145.107.223 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)