pyrouge icon indicating copy to clipboard operation
pyrouge copied to clipboard

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

Open 85405115 opened this issue 7 years ago • 1 comments

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 avatar Apr 18 '18 10:04 85405115

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.

pltrdy avatar May 02 '18 10:05 pltrdy