Lingua::Stem::Gl(3pm)
π Lingua::Stem::Gl π
okay bestie, welcome to the Lingua::Stem::Gl(3pm) page β it's a User Contributed Perl Documentation moment, and we're about to stem some Galician words together. No cap.
β¨ NAME β¨
Lingua::Stem::Gl β stemming algorithm for Galacian. That spelling is exactly what the NAME section says, so I'm not fixing it, bestie π
πΈ SYNOPSIS πΈ
use Lingua::Stem::Gl;
my $stems = Lingua::Stem::Gl::stem({ -words => $word_list_reference,
-locale => 'gl',
-exceptions => $exceptions_hash,
});
π¦ DESCRIPTION π¦
okay so this routine applies a stemming algorithm to a passed anon array of Galician words, returning the stemmed words as an anon array. It's literally a 'convienence' wrapper for 'Lingua::Stemmer::GL' that provides a standardized interface and caching. Standardized interface and caching?? obsessed β¨
π₯ CHANGES π₯
2.31 2020.09.26β Fix for Latin1/UTF8 issue in documentation2.30 2020.06.20β Version renumber for module consistency1.02 2004.04.26βDocumenation fix1.01 2003.09.28β Documentation fix1.00 2003.04.05β Initial release
π METHODS π
π stem({ -words => \@words, -locale => 'gl', -exceptions => \%exceptions });
Stems a list of passed words using the rules of Galican. Returns an anonymous list reference to the stemmed words.
Example:
my $stemmed_words = Lingua::Stem::Gl::stem({ -words => \@words,
-locale => 'gl',
-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::Stemmer::GL written by xern <xern@cpan.org>
π SEE ALSO π
Go check out both besties: Lingua::Stem and Lingua::Stemmer::GL β the original line is exactly Lingua::Stem Lingua::Stemmer::GL; so yes, both are in the chat π¬
π AUTHOR π
Integration in Lingua::Stem by Jerilyn Franz, FreeRun Technologies, <cpan@jerilyn.info>
π COPYRIGHT π
Jerilyn Franz, FreeRun Technologies
This code is freely available under the same terms as Perl.
π BUGS π
π TODO π
that's the whole page, bestie β source/version is perl v5.42.0 and the date is 2020-09-27. slay π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Lingua-Stem 2.31-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms