CER calculation obviously wrong
zhouyong64 opened this issue · comments
The CER calculation seems wrong. For example, with target string 'a' and prediction string 'b', I think CER should be 100%. Instead, current code outputs 0.
func = SequenceError()
local cer = func:calculateCER('a','b')
print('cer',cer)