in reply to Search for similar strings - to standardise
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Search for similar strings - to standardise
by educated_foo (Vicar) on Oct 31, 2009 at 03:33 UTC |
In Section
Seekers of Perl Wisdom