Lingua...ll::Se(3pm)

πŸ‘‘ NAME πŸ‘‘

Lingua::Stem::Snowball::Se β€” it's the Porter stemming algorithm for Swedish, bestie. That's the whole vibe. πŸ’…

This page lives in the User Contributed Perl Documentation corner of your manual, and it is 100% giving "niche but iconic."


✨ VERSION ✨

This doc describes version 1.1. Periodt. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's the whole entire situation, literally:

use Lingua::Stem::Snowball::Se
my $stemmer = new Lingua::Stem::Snowball::Se (use_cache => 1);

foreach my $word (@words) {
      my $stemmed = $stemmer->stem($word);
      print $stemmed, "\n";
}

(yes bestie, that use line has no semicolon, that's just how it is, we don't ask questions, we copy it exactly πŸ™ˆ)


🌸 DESCRIPTION 🌸

So the stem function takes a scalar as its parameter and stems the word according to Martin Porters Swedish stemming algorithm β€” which you can go look at on the Snowball website: <http://snowball.tartarus.org/>. No cap, that's the source of truth. πŸ”₯

It also supports caching, but only if you pass the use_cache option when you're constructing a new L:S:S:S object. That's the little glow-up. ✨

🧚 EXPORT 🧚

Lingua::Stem::Snowball::Se has nothing to export. That's it. Empty. Void. Not a single symbol. πŸ’€ (It's giving minimalism.)


🫢 AUTHOR 🫢

Ask Solem Hoel, <ask@0x61736b.net> β€” shoutout to the icon who made this. πŸ‘‘


⭐ SEE ALSO ⭐

go read those too, the lore is deep. 🌈


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 πŸ’€

Y'all. Brace yourselves. This part is ALL CAPS because it MEANS IT. 😭

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 RENDERED 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.

fr fr, read it. it's not a vibe, it's a legally binding vibe check. 🫢

and that's the page, bestie!! πŸ’œ this little number is from perl v5.42.0, dated 2025-02-06 β€” go stem some Swedish words and slay βœ¨πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from