1Lingua::Stem::Snowball:U:sNeor(3C)ontributed Perl DocumeLnitnagtuiao:n:Stem::Snowball::No(3)
2
3
4
6 Lingua::Stem::Snowball::No - Porters stemming algorithm for Norwegian
7
9 This document describes version 1.1.
10
12 use Lingua::Stem::Snowball::No
13 my $stemmer = new Lingua::Stem::Snowball::No (use_cache => 1);
14
15 foreach my $word (@words) {
16 my $stemmed = $stemmer->stem($word);
17 print $stemmed, "\n";
18 }
19
21 The stem function takes a scalar as a parameter and stems the word
22 according to Martin Porters Norwegian stemming algorithm, which can be
23 found at the Snowball website: <http://snowball.tartarus.org/>.
24
25 It also supports caching if you pass the use_cache option when
26 constructing a new L:S:S:N object.
27
28 EXPORT
29 Lingua::Stem::Snowball::No has nothing to export.
30
32 Ask Solem Hoel, <ask@0x61736b.net>
33
35 perl. Lingua::Stem::Snowball. Lingua::Stem.
36 <http://snowball.tartarus.org>. Lingua::Stem::Snowball
37 Lingua::Stem::Snowball::Se Lingua::Stem::Snowball::Da
38
40 Copyright (c), 2007 Ask Solem "ask@0x61736b.net".
41
42 All rights reserved.
43
44 This library is free software; you can redistribute it and/or modify it
45 under the same terms as Perl itself, either Perl version 5.8.6 or, at
46 your option, any later version of Perl 5 you may have available.
47
49 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
50 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
51 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
52 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
53 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
54 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
55 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
56 YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
57 NECESSARY SERVICING, REPAIR, OR CORRECTION.
58
59 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
60 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
61 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
62 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
63 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
64 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
65 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
66 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
67 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
68 DAMAGES.
69
70
71
72perl v5.12.1 2010-08-28 Lingua::Stem::Snowball::No(3)