EditDistance
EditDistance(a, b)returns the Levenshtein distance of
aandb, which is defined as the minimum number of insertions, deletions and substitutions on the constituents ofaandbneeded to transform one into the other.
See:
Examples
>> EditDistance("kitten", "kitchen")2
>> EditDistance("abc", "ac")1>> EditDistance("abc", "acb")2
>> EditDistance("azbc", "abxyc")3The IgnoreCase option makes EditDistance ignore the case of letters:
>> EditDistance("time", "Thyme")3
>> EditDistance("time", "Thyme", IgnoreCase -> True)2Implementation status
- ✅ - full supported