Re: Porter2 algorithm question
Martin Porter <[email protected]> Fri, 31 May 2019 08:08:33 +0100
| Newsgroups | gmane.comp.search.snowball |
|---|---|
| Message-ID | <CALc6duy_YmVY-6PLGm1eScOcqV39n7RjkFci+A2eSrvbM7WuZQ@mail.gmail.com> |
See the first among the list of "common errors" in the paragraph headed "common errors" in https://tartarus.org/martin/PorterStemmer/ Only one rule is applied for these lists of endings, irrespective of whether it results in a suffix removal or not. The order of the suffixes in these lists is effectively random, although there is often some plan to them. For example the list ational tional enci anci izer .... is by alphabetic order of the last letter but one, -a-, -a-, -c-, -c-, -e-, ... to emphasize the suggestion, "the test for the string S1 can be made fast by doing a program switch on the penultimate letter of the word being tested". See the appearance of this phrase in http://snowball.tartarus.org/algorithms/porter/stemmer.html -- Martin _______________________________________________ Snowball-discuss mailing list [email protected] https://lists.tartarus.org/mailman/listinfo/snowball-discuss