Return the Levenshtein distance between two Text values. The
Levenshtein distance between two strings is the minimal number of
operations necessary to transform one string into another. For the
Levenshtein distance allowed operations are: deletion, insertion, and
substitution.
See also: https://en.wikipedia.org/wiki/Levenshtein_distance.
Heads up, before version 0.3.0 this function returned
Natural.
Return the normalized Levenshtein distance between two Text
values. Result is a non-negative rational number (represented as
RatioNatural), where 0 signifies no similarity
between the strings, while 1 means exact match.
See also: https://en.wikipedia.org/wiki/Levenshtein_distance.
Heads up, before version 0.3.0 this function returned
RatioNatural.