diff --git a/algorithms/english/stemmer.tt b/algorithms/english/stemmer.tt index b50e69f..3735f4a 100644 --- a/algorithms/english/stemmer.tt +++ b/algorithms/english/stemmer.tt @@ -76,6 +76,7 @@ apostrophe.
  • [January 2006] "Words" ied and ies now stem to ie rather than i.
  • [January 2006] The implementation was fixed to follow the algorithm as documented here and now always treats an initial y as a consonant.
  • [November 2006] arsen added to exceptional forms +
  • [October 2023] Don't undouble if preceded by exactly a, e or o

    @@ -204,9 +205,9 @@ Step 1b:

    ed   edly+   ing   ingly+
    delete if the preceding word part contains a vowel, and after the deletion:
    if the word ends at, bl or iz add e (so luxuriatluxuriate), or -
    if the word ends with a double - remove the last letter (so hopphop), or -
    if the word is short, add e (so hophope) +
    if the word ends with a double preceded by something other than exactly a, e or o then + remove the last letter (so hopphop but add, egg and off are not changed), or +
    if the word does not end with a double and is short, add e (so hophope)