Calculate the distance between two strings using the specified method.
The first string.
The second string.
The distance method to use. Defaults to 'levenshtein'.
The distance between the two strings.
Calculate the distance between two strings using the specified method.