|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: Search for similar strings - to standardiseby Rival (Acolyte) |
| on Oct 30, 2009 at 16:15 UTC ( #804191=note: print w/ replies, xml ) | Need Help?? |
|
For the string comparison, using the Levenshtein distance is probably your best bet. This is often used in spell-checking to suggest corrections. For implementations, there is a Text::Levenshtein module on CPAN. But also, take a look at this node and this node.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||