chrislit/abydos

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

Opened this issue · 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').

same as #250