ssecorp schrieb:
If I have an expression like "bob marley" and I want to match
everything with one letter wrong, how would I do?
so "bob narely" and "vob marley" should match etc.

Fuzzy matching is better done using Levensthein-distance [1] or n-gram-matching [2].


Diez


[1] http://en.wikipedia.org/wiki/Levenshtein_distance
[2] http://en.wikipedia.org/wiki/Ngram#n-grams_for_approximate_matching
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to