franckbrl / morpheval_v2

Evaluation of the morphological quality of machine translation outputs
3 stars 0 forks source link

ZeroDivisionError: division by zero #1

Closed liesun1994 closed 3 years ago

liesun1994 commented 3 years ago

Hi, I am using morpheval_v2 to evaluate translation quality. When using "evaluate_de.py", an error occurred, which is "ZeroDivisionError: division by zero". How to solve this problem? Thanks~

franckbrl commented 3 years ago

Hi, did you use the required version of SMOR mentioned here? https://github.com/franckbrl/morpheval_v2#requirements

liesun1994 commented 3 years ago

ohhhhh! that's it !!