Skip to content

Conversation

@wanghaoshuang
Copy link
Contributor

fix #8199

@wanghaoshuang wanghaoshuang requested a review from kuke February 7, 2018 14:09
@kuke
Copy link
Contributor

kuke commented Feb 7, 2018

It is not reasonable to normalize edit distance by the max length of two strings. Actually the normalization of edit distance is the definition of word/character error rate (https://en.wikipedia.org/wiki/Word_error_rate), and the denominator should always be the length of reference string.

@wanghaoshuang wanghaoshuang deleted the fix_edit_dis branch February 9, 2018 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change output of edit_distance_op to average error

2 participants