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

rule0, exceptions handling #13

Open
cmantas opened this issue Sep 27, 2016 · 0 comments
Open

rule0, exceptions handling #13

cmantas opened this issue Sep 27, 2016 · 0 comments

Comments

@cmantas
Copy link
Contributor

cmantas commented Sep 27, 2016

rule0 of SkroutzGreekStemmer.java tries to handle special cases for specific word endings.
However, most of those cases concern whole words, rather than endings.
Eg. the word περατοσ is handled as an ending, and will also match υδατοπερατοσ and stem it as υδατοπερ, σαφωσ will match φωσ, etc.
Those case are false positive matches.

Most of the cases should be handled with string equality (rather than string suffix matching).
This should happen in an extra step before what now is rule0 and rule0 should have less special cases to handle

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

No branches or pull requests

1 participant