DeepLearnXMU / Otem-Utem

Code for "Otem&Utem: Over- and Under-Translation Evaluation Metric for NMT" (NLPCC 2018)
9 stars 0 forks source link

Using metric for each sentence in a file #1

Closed sugeeth14 closed 5 years ago

sugeeth14 commented 6 years ago

Hi, I want to know the score of OTEM and UTEM scores for each sentence in a file. Please help me in getting scores as such. Thanks in advance

bzhangGo commented 6 years ago

Hi @Raghava14 , The scripts in current version only support corpus-level evaluation scores, rather than sentence-level. As a trivial solution, you can perform sentence-level evaluation by feeding data in a sentence-wise manner.

Our project is still under developing. Your suggestion is great. We will support these requirements as soon as possible.

sugeeth14 commented 6 years ago

That would be great thanks !! @bzhangXMU

bzhangGo commented 5 years ago

Please see the test.py for reference.