bleu4

时间:2021-03-09 15:28:50
【文件属性】:
文件名称:bleu4
文件大小:11KB
文件格式:ZIP
更新时间:2021-03-09 15:28:50
Python bleu4 集成了几种常用的bleu4计算方法,包括:CodeBert BLEU,Google BLEU,nltk BLEU组件以及文章《基于变压器的源代码汇总方法》中的bleu实现方法。 tbcs-bleu的代码源自于 ,是文章《基于变压器的源代码汇总方法》的代码 运行方法 python bleu4.py reference_file_path hypothesis_file_path
【文件预览】:
bleu4-main
----tbcs_bleu()
--------google_bleu.py(5KB)
--------bleu_scorer.py(9KB)
--------bleu.py(1KB)
--------__init__.py(120B)
--------nltk_bleu.py(985B)
----blue4.py(8KB)
----README.md(442B)
----.gitignore(2KB)

网友评论