Commit 59743fc4 authored by Eugene Brevdo's avatar Eugene Brevdo Committed by TensorFlower Gardener
Browse files

edit_distance returns inf in normalized mode when the truth sequence is empty...

edit_distance returns inf in normalized mode when the truth sequence is empty and hypothesis is not.

otherwise if both are empty, it returns 0

cleared up the code & unit tests.
Change: 124617418
parent 667493d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment