[Snowball-discuss] Norwegian stemmer question

Blake Madden madindayton at outlook.com
Sun Aug 17 18:54:15 BST 2025


Hi Martin,

Yes. The implementation was correct, the docs just needed to be clarified. The explanation on the website has since been updated and all is clear now.

Thanks,
Blake

On Aug 17, 2025, at 2:24 AM, Martin Porter <martin.f.porter2 at gmail.com> wrote:


Blake,

Have you received a reply to your query? I'm afraid it has been in my spam folder since July 26, and I have only just noticed it.

Like you I'm puzzled, but not in quite the same way. The rule for -ers goes


(i) giv   hav   skap
delete ers suffix
(ii) amm   ast   ind   kap   kk   lt   nk   omm   pp   v   øst
do nothing
(iii) if none of these suffixes are present
delete ers suffix
(If I've understood correctly) the tests in (i) seem to be irrelevant, since ers will get deleted anyway by (iii). 'none' in (iii) must refer to the list in (ii). balders -> bald by (iii). The snowball code reflects this exactly but 'giv' 'hap' 'skap' seem again to be irrelevant.

All this is a development from my original Norwegian stemmer at http://snowball.tartarus.org/algorithms/norwegian/stemmer.html , presumably to get a more delicate test for removal of -ers.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tartarus.org/pipermail/snowball-discuss/attachments/20250817/a6dd6f84/attachment.htm>


More information about the Snowball-discuss mailing list