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

Fix Porter stemmer failing on 'oed' #1582

Merged
merged 2 commits into from
Jan 7, 2017

Conversation

ExplodingCabbage
Copy link
Contributor

Fixes #1581, which was a regression caused by #1261

fievelk's analysis there is entirely correct; I missed an important length check from my function to see if a stem ends with a double consonant, and remarkably this didn't blow up on any of the tens of thousands of cases in the testing vocabulary. :(

All Porter tests now pass (including the new one, of course).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants