ROUGE评测库的安装
张文政
2020.7.8
AAAI2021的投稿中使用到了ROUGE这个评测指标,发现官网上有标准的计算库。但安装配置有点麻烦,故作此记录。为以后使用。
几个库的对比(时间比较早,17年)
https://github.com/google/seq2seq/issues/89
非官方库(用在训练过程中的validation)
这两个都不是rouge的官方版,the official implementation is based on perl. 但是后者(py-rouge)中称自己为**“producing same results as in the official perl implementation”**,所以为了方便可以选择后者。但也略有不同。在py-rouge的库中说:
The official ROUGE perl script use resampling strategy to compute the average with confidence intervals. Therefore, we might have a difference <3e-5
for ROUGE-L as well as ROUGE-W and <4e-5
for ROUGE-N.
安装也非常简单: