Just another Perl shrine | |
PerlMonks |
Re: How do I find the percentage of similarity between strings?by The Mad Hatter (Priest) |
on Apr 07, 2003 at 22:31 UTC ( [id://248754]=note: print w/replies, xml ) | Need Help?? |
String::Approx is good as someone else said. So is Text::Levenshtein. With the values you can get from both modules, you should be able to do some math to get a percentage.
You might also want to read Levenshtein distance: calculating similarity of strings.
In Section
Seekers of Perl Wisdom
|
|