Works incorrect with Cyrillic
Opened this issue · 0 comments
AlexWayfer commented
Hello.
I found that there is twice distance for Cyrillic text, I guess because of bytes:
Hotwater.damerau_levenshtein_distance('сколко', 'соло')
# => 4
Hotwater.damerau_levenshtein_distance('skolko', 'solo')
# => 2