kavgan / ROUGE-2.0

ROUGE automatic summarization evaluation toolkit. Support for ROUGE-[N, L, S, SU], stemming and stopwords in different languages, unicode text evaluation, CSV output.
https://kavgan.github.io/ROUGE-2.0
Apache License 2.0
210 stars 37 forks source link

You need to have a valid 'references' and 'system' folder under project_directory/project. Please check your rouge properties file. #17

Closed thomasmccabe closed 5 years ago

thomasmccabe commented 5 years ago

We are experiencing this error even though:

kavgan commented 5 years ago

Could you please paste your directory structure as well as the command you are using to run the program. Also, the exact stacktrace would be useful.

thomasmccabe commented 5 years ago

Sorry, I should have included that information initially. Also - it may be worth noting that ROUGE was initially working when comparing four reference summaries to a single system summary. But once we modified our algorithm to adjust a few different parameters at a time to output multiple system summaries to evaluate against the reference summaries to optimize the algorithm we ran into this issue.

Directory Structure: dir_sc Directory in rouge.properties

==Project Directory==

#root directory for system and reference summaries
project.dir=rouge_testing_input_output/project

Command Used: java -jar rouge2-1.2.jar Stacktrace 2019-04-15 14:41:49 INFO SettingsUtil:33 - Using rouge.properties='/home/tom/Senior_Design/MNRVA/rouge.properties' 2019-04-15 14:41:49 INFO ROUGECalculator:201 - Working on d30002 ngram=L 2019-04-15 14:41:49 ERROR ROUGECalculator:180 - 0 2019-04-15 14:41:49 ERROR ROUGECalculator:181 - You need to have a valid 'references' and 'system' folder under rouge_testing_input_output/project. Please check your rouge.properties file

Thank you for the help!

thomasmccabe commented 5 years ago

I figure out the issue - some of the system summaries contained a "_" (underscore) character that was keeping ROUGE from running and outputting a score for all the system files.

kavgan commented 5 years ago

😆 I was just about to respond. I'm glad you figured it out