I know similar question was answered a lot times before, but I hope this is little bit releated, not a dupe.
Some time ago, I had some search-engine source code, and there was function which found similar words for inserted. It was NATIVE PHP FUNCTION.
Does anybody know similar function? I found this one
http://www.php.net/manual/en/function.similar-开发者_StackOverflow社区text.php
but it is not EXACTLY what I mean.
Levenshtein maybe ?
http://soundofemotion.com/spellcorrect.txt or maybe http://www.phpclasses.org/package/4859-PHP-Suggest-corrected-spelling-text-in-pure-PHP.html
i found them searching for the same in python
精彩评论