guarriman has asked for the wisdom of the Perl Monks concerning the following question:
Working with Apache+Perl+MySQL, I'm developing a website to allow users to find within a product catalog. Product info is stored within a MySQL table (ID, name, price).
These users usually make typos and mistakes when typing the product name, and I want to suggest them other names, similars to the typed one. For instance: mp3 playr --> mp3 player
Does anybody know any algorithm or method to perform it? Thank you very much.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A method to suggest other names when user makes typos
by sauoq (Abbot) on Nov 03, 2005 at 10:43 UTC | |
|
Re: A method to suggest other names when user makes typos
by Corion (Patriarch) on Nov 03, 2005 at 10:39 UTC | |
|
Re: A method to suggest other names when user makes typos
by inman (Curate) on Nov 03, 2005 at 11:18 UTC | |
|
Re: A method to suggest other names when user makes typos
by ghenry (Vicar) on Nov 03, 2005 at 23:16 UTC |