I\'m trying to implement a \"Did you mean?\" sort of function for a search.
I\'m trying to do a query that uses the levenshtein function, which was written in ruby.
Try the editdist3 function:
editdist3
The editdist3 algorithm is a function that computes the minimum edit distance (a.k.a. the Levenshtein distance) between two input strings.