Skip to content

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

@chrislit

Description

@chrislit
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').

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions