Take a look at Text::Soundex and Text::Metaphone. Those will help you pick close matches quickly. Then use Text::Levenshtein (or Text::LevenshteinXS, Text::Brew, Text::WagnerFischer, or one of the other "edit distance" modules to get narrow things down or order by likelihood.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: A method to suggest other names when user makes typos
by sauoq
in thread A method to suggest other names when user makes typos
by guarriman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |