pyrouge
pyrouge copied to clipboard
how to generate ROUGE scores for each sentence in the text?
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?
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.