-
Notifications
You must be signed in to change notification settings - Fork 860
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
Porter stemmer not stemming properly #176
Comments
Correct me if i'm wrong but |
You seem to be right 👍. Weird why that error’d in my tests. Let me check out. |
EDIT: Hold on. My above examples do not include the actual output Natural gave, but rather what it should give. Here are the actual return values:
|
I see, ill try to go over the porter stemmer in more detail ASAP. Thanks! |
Didn't mean to close. I've handled the cases mentioned initially, but more remain. Will be addressing. 156 cases remain. |
Still bugs with PorterStemmer.Anyone working on it??
|
i think below algorithm is working better. |
assuming whats at the end of those arrows is the output from natural i think those are correct. i verified with another unrelated implementation. |
Out of 23532 input/outputs provided with the original algorithm, Natural fails on 558 cases (Natural@0.1.28).
Failures include:
ace
toac
;acknowledg
toacknowledg
;adoptedly
toadoptedli
;aedile
toaedil
;Source: See http://tartarus.org/martin/PorterStemmer/, and search for "To test the programs out".
The text was updated successfully, but these errors were encountered: