You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @icoxfog417. Thank you for providing a great tool!
I found that the result is different between Pythonrouge and RougeCalculator when using stemming=True.
I attached the test code to reproduce (just change the option stemming):
@icoxfog417 I found the same problem, argument "stemming" actually didn't work:
fromsumeval.metrics.rougeimportRougeCalculatorrouge=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!
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: