A fuzzy string matching module for Python. Seems fairly smart, designed to be practical. Can also use python-levenstein for additional matching accuracy if available. Looks very helpful for searching on arbitrary strings. Does the statistical analysis for you (percentage probability of a good match).