in reply to comparing strings - better than soundex
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
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: comparing strings - better than soundex
by nmerriweather (Friar) on Aug 14, 2002 at 16:54 UTC |
In Section
Seekers of Perl Wisdom