note 37953 modified in function.levenshtein by philip
| From: | philip@php.net | Date: | Fri, 06 Aug 2004 22:50:37 +0000 |
| Subject: | note 37953 modified in function.levenshtein by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-74108@lists.php.net to get a copy of this message | ||
Try combining this with metaphone() for a truly amazing fuzzy search function. Play with it a bit,
the results can be plain scary (users thinking the computer is almost telepathic) when implemented
properly. I wish spell checkers worked as well as the code I've written.
I would release my complete code if reasonable, but it's not, due to copyright issues. I just
hope that somebody can learn from this little tip!
--was--
Try combining this with metaphone() for a truly amazing fuzzy search function. Play with it a bit,
the results can be plain scary (users thinking the computer is almost telepathic) when implemented
properly. I wish spell checkers worked as well as the code I've written.
I would release my complete code if reasonable, but it's not, due to copyright issues. I just
hope that somebody can learn from this little tip!
-Galen
http://www.zinkconsulting.com/
http://php.net/manual/en/function.levenshtein.php