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

how to generate ROUGE scores for each sentence in the text? #16

Open
85405115 opened this issue Apr 18, 2018 · 1 comment
Open

how to generate ROUGE scores for each sentence in the text? #16

85405115 opened this issue Apr 18, 2018 · 1 comment

Comments

@85405115
Copy link

I want to do a supervised text summarization task on DUC2007. There are not any labels for this corpus and so I must generate ROUGE scores for all of the sentences in the corpus. how can I do this? should I put every sentence in a file? it is hard.

I use your pyrouge. but for example for pyrouge written in https://github.com/andersjo/pyrouge, there is a simple way for generating rouge score for any sentence. May you guide how can I produce ROUGE score for any sentence using your interface?

@85405115 85405115 changed the title how to generate ROUGE scores for each of my sentences? how to generate ROUGE scores for each sentence in the text? Apr 18, 2018
@pltrdy
Copy link
Contributor

pltrdy commented May 2, 2018

Note that I wrote a wrapper especially for this files2rouge.

Given a summaries.txt and references.txt files, it will calculate the ROUGE score between each lines.

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

2 participants