Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

(jeffa) Re: pattern matching with heuristics

by jeffa (Bishop)
on Jul 07, 2000 at 17:03 UTC ( #21458=note: print w/replies, xml ) Need Help??


in reply to pattern matching with heuristics

. . . if you don't like the results of String::Approx, try Text::Soundex - it's slow as well, unfortunately.
  • Comment on (jeffa) Re: pattern matching with heuristics

Replies are listed 'Best First'.
RE: Re: pattern matching with heuristics
by lhoward (Vicar) on Jul 07, 2000 at 17:11 UTC
    Text::Soundex is good for finding "sound-alike" matches, but only for English words. If this is the kind of think you're looking for, you may also want to consider Text::Metaphone. It provides similar functionality to Text::Soundex (reducing a word to a simplified "sound description") but is more "phonetically" advanced and can handle phrases, not just single words. Also, neither of these two as slow at String::Approx, as String::Approx has to compute the edit distance between two strings and both Soundex and Metaphone just reduce a string to a "sound description" of it. Of course, both Metaphone and Soundex are of no use to you if your data is not English text.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://21458]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2021-11-29 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?