-
Notifications
You must be signed in to change notification settings - Fork 60
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
ROUGE score is not matched with Pythonrouge when stemming=True #20
Comments
@icoxfog417 I found the same problem, argument "stemming" actually didn't work: from sumeval.metrics.rouge import RougeCalculator
rouge = RougeCalculator(stopwords=False, stemming=True, lang="en")
summary = 'a little long way away from the crowd'
reference = 'hidden getaway from crowds'
print(rouge.rouge_1(summary, reference)) # 0.16666666666666666, word "crowds" didn't be stemmed! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @icoxfog417. Thank you for providing a great tool!
I found that the result is different between
Pythonrouge
andRougeCalculator
when usingstemming=True
.I attached the test code to reproduce (just change the option
stemming
):Is this expected?
If so, is there any solution to match the results?
The text was updated successfully, but these errors were encountered: