module

Cadmium::LevenshteinDistance

Class methods

distance(s1 : String, s2 : String)

Returns the Damerau-Levenshtein distance between strings. Counts the distance between two strings by returning the number of edit operations required to convert s1 into s2.

Source