Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lingua::stem::snowball::no(3pm) [debian man page]

Lingua::Stem::Snowball::No(3pm) 			User Contributed Perl Documentation			   Lingua::Stem::Snowball::No(3pm)

NAME
Lingua::Stem::Snowball::No - Porters stemming algorithm for Norwegian VERSION
This document describes version 1.1. SYNOPSIS
use Lingua::Stem::Snowball::No my $stemmer = new Lingua::Stem::Snowball::No (use_cache => 1); foreach my $word (@words) { my $stemmed = $stemmer->stem($word); print $stemmed, " "; } DESCRIPTION
The stem function takes a scalar as a parameter and stems the word according to Martin Porters Norwegian 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:N object. EXPORT Lingua::Stem::Snowball::No has nothing to export. AUTHOR
Ask Solem Hoel, <ask@0x61736b.net> SEE ALSO
perl. Lingua::Stem::Snowball. Lingua::Stem. <http://snowball.tartarus.org>. Lingua::Stem::Snowball Lingua::Stem::Snowball::Se Lin- gua::Stem::Snowball::Da LICENSE AND COPYRIGHT
Copyright (c), 2007 Ask Solem "ask@0x61736b.net". All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available. DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING REN- DERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. perl v5.8.8 2008-03-02 Lingua::Stem::Snowball::No(3pm)

Check Out this Related Man Page

Lingua::Stem::No(3pm)					User Contributed Perl Documentation				     Lingua::Stem::No(3pm)

NAME
Lingua::Stem::No - Stemming algorithm for Danish SYNOPSIS
use Lingua::Stem::No; my $stems = Lingua::Stem::No::stem({ -words => $word_list_reference, -locale => 'no', -exceptions => $exceptions_hash, }); DESCRIPTION
This routine applies a stemming slgorithm to a passed anon array of Norwegian words, returning the stemmed words as an anon array. It is a 'convienence' wrapper for 'Lingua::Stem::Snowball::No' that provides a standardized interface and caching. CHANGES
1.01 2003.09.28 - Documenation fix 1.00 2003.04.05 - Initial release METHODS
stem({ -words => @words, -locale => 'no', -exceptions => \%exceptions }); Stems a list of passed words using the rules of Danish. Returns an anonymous array reference to the stemmed words. Example: my $stemmed_words = Lingua::Stem::No::stem({ -words => @words, -locale => 'no', -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::No written by Ask Solem Hoel, <ask@unixmonks.net> SEE ALSO
Lingua::Stem Lingua::Stem::Snowball::No AUTHOR
Integration in Lingua::Stem by Benjamin Franz, FreeRun Technologies, snowhare@nihongo.org or http://www.nihongo.org/snowhare/ COPYRIGHT
Benjamin Franz, FreeRun Technologies This code is freely available under the same terms as Perl. BUGS
TODO
perl v5.10.1 2007-10-23 Lingua::Stem::No(3pm)
Man Page