![]() |
|
"be consistent" | |
PerlMonks |
Re: comparing strings - better than soundexby dree (Monsignor) |
on Aug 14, 2002 at 08:51 UTC ( [id://190010]=note: print w/replies, xml ) | Need Help?? |
If you want to compare two words for its sound similarity, better algorithms than Soundex are:
Text::Metaphone and Text::DoubleMetaphone. If you want string comparison (i.e. to order the results after a multiple match done by the above) you can try: Text::Levenshtein or Text::WagnerFischer If you want to compare entire phrases you can try also Text::PhraseDistance
In Section
Seekers of Perl Wisdom
|
|