Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chrislit opened this issue Jan 5, 2022 · 1 comment
Open

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

chrislit opened this issue Jan 5, 2022 · 1 comment
Assignees
Labels
Milestone

Comments

@chrislit
Copy link
Owner

chrislit commented Jan 5, 2022

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 chrislit added the bug label Jan 5, 2022
@chrislit chrislit added this to the 0.6 milestone Jan 5, 2022
@chrislit chrislit self-assigned this Jan 5, 2022
@chrislit
Copy link
Owner Author

chrislit commented Jan 5, 2022

same as #250

@chrislit chrislit mentioned this issue Jan 5, 2022
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant