擅长:python、mysql、java
<p>你应该看看<a href="https://en.wikipedia.org/wiki/Levenshtein_distance" rel="nofollow">Levenshtein distance</a>!PHP有一个很好的函数:leventstein()。对于Phython,至少有一个C实现:<a href="https://pypi.python.org/pypi/python-Levenshtein/0.12.0" rel="nofollow">https://pypi.python.org/pypi/python-Levenshtein/0.12.0</a></p>