1Lingua::Stem::Snowball:U:sSeer(3C)ontributed Perl DocumeLnitnagtuiao:n:Stem::Snowball::Se(3)
2
3
4
6 Lingua::Stem::Snowball::Se - Porters stemming algorithm for Swedish
7
9 This document describes version 1.1.
10
12 use Lingua::Stem::Snowball::Se
13 my $stemmer = new Lingua::Stem::Snowball::Se (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 Swedish 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:S object.
27
28 EXPORT
29 Lingua::Stem::Snowball::Se 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>.
37
39 Copyright (c), 2007 Ask Solem "ask@0x61736b.net".
40
41 All rights reserved.
42
43 This library is free software; you can redistribute it and/or modify it
44 under the same terms as Perl itself, either Perl version 5.8.6 or, at
45 your option, any later version of Perl 5 you may have available.
46
48 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
49 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
50 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
51 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
52 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
53 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
54 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
55 YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
56 NECESSARY SERVICING, REPAIR, OR CORRECTION.
57
58 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
59 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
60 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
61 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
62 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
63 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
64 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
65 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
66 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
67 DAMAGES.
68
69
70
71perl v5.28.0 2018-07-15 Lingua::Stem::Snowball::Se(3)