module Cadmium::LevenshteinDistance

Defined in:

cadmium/distance/levenshtein.cr

Class Method Summary

Class Method Detail

def self.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.


[View source]