Open hecongqing opened 3 months ago
r1 = rouge_score[0]["rouge-1"]['r'] r2 = rouge_score[0]["rouge-2"]['r'] rl = rouge_score[0]["rouge-l"]['r'] b1 = sentence_bleu(reference, candidate, weights=(1, 0, 0, 0)) b2 = sentence_bleu(reference, candidate,weights=(0, 1, 0, 0)) bn = sentence_bleu(reference, candidate,weights=(0.25, 0.25, 0.25, 0.25))
已收到您的邮件,谢谢!