abydos icon indicating copy to clipboard operation
abydos copied to clipboard

'eings' throws an exception when Porter2.stem() is applied

Open chrislit opened this issue 3 years ago • 1 comments

from abydos.stemmer import Porter2
p = Porter2()
p.stem('eings')

It should probably return 'e', but fails at step 2 when word[-2] indexes beyond then end of the word at that point ('e').

chrislit avatar Jan 05 '22 19:01 chrislit

same as #250

chrislit avatar Jan 05 '22 21:01 chrislit