You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
First of all, thanks for the project! I found it very fast compared to other GPU implementations.
However, I think the Levenshtein distance is not calculated correctly.
Also, I think there is another problem with your implementation since the order of the arguments (i.e. strings) should not matter, yet running editdistance(y, x, padToken) returns 39.
The text was updated successfully, but these errors were encountered:
Hi there,
First of all, thanks for the project! I found it very fast compared to other GPU implementations.
However, I think the Levenshtein distance is not calculated correctly.
For instance, consider this example:
I get
pred -> 49
However, it should be
62
, as you can see when calculating the same distance using the famous Rapidfuzz Levensthein module:or directly here.
Also, I think there is another problem with your implementation since the order of the arguments (i.e. strings) should not matter, yet running
editdistance(y, x, padToken)
returns39
.The text was updated successfully, but these errors were encountered: