note 37953 added to function.levenshtein
| From: | gzink at zinkconsulting dot com | Date: | Wed, 03 Dec 2003 08:03:09 +0000 |
| Subject: | note 37953 added to function.levenshtein | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-61309@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!
-Galen
http://www.zinkconsulting.com/
----
Manual Page -- http://www.php.net/manual/en/function.levenshtein.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37953
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37953&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37953&report=yes
Search -- http://master.php.net/manage/user-notes.php