neulab / guided_summarization

GSum: A General Framework for Guided Neural Abstractive Summarization
MIT License
113 stars 27 forks source link

highlight sentence data not in order #51

Closed nargesdel closed 1 year ago

nargesdel commented 1 year ago

Hello,

I have realized that the data available in this link is not in order corresponding to each datapoint in dataset. I assumed that each line(data point) in dataset needs to be related to the same line in oracle sentences, but it is not. If so, how to get the ordered data?

Thanks.

zdou0830 commented 1 year ago

You can reference this file https://github.com/neulab/guided_summarization/blob/master/scripts/sents.py to see how you can get the ordered data.

nargesdel commented 1 year ago

@zdou0830 Thank you very much for your reply. This code is goring to be Oracle sentences. How about sentences for test? Thanks.

zdou0830 commented 1 year ago

Hi, during test time, you can arrange the guided sentences in order.