pyter
pyter copied to clipboard
hey ! I know this can accurately calculate the editing distance, but I want to know the editing position, that is, which characters are wrong. Do you know how to...
Hi guys, I am using 'pyter' library to calculate TER (translation edit rate). I want to improve the processing time of this library because when the ref and hyp sentence...
How to evaluate TER for a list of sentences
setup.py gives a UnicodeDecodeError in Python 3.4.1 because of line 10: ```python def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read()` ``` It is possible to fix for py2/py3 this by using ```python from...
Calling ``` python pyter.ter('','') ``` raises: ``` 34 err += 1 35 iwords = new_iwords ---> 36 return (err + mtd(iwords)) / len(rwords) 37 38 ZeroDivisionError: division by zero ```