jcyk / copyisallyouneed

Code for our ACL2021 paper Neural Machine Translation with Monolingual Translation Memory
82 stars 12 forks source link

reproduce the result of table 2 "source similarity" #1

Closed wangqi1996 closed 3 years ago

wangqi1996 commented 3 years ago

It's a really good job! Could you provide the scripts or README.md to reproduce the result of table 2 "source similarity"? thx.

jcyk commented 3 years ago

it based on BM25 and edit distance. Will add more info soon.

jcyk commented 3 years ago

Hi @wangqi1996

pls check bm25.py for details.