Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Approximate or Phonetic String-Matching

by vroom (Pope)
on Dec 27, 1999 at 03:53 UTC ( #1407=perlquestion: print w/replies, xml ) Need Help??
vroom has asked for the wisdom of the Perl Monks concerning the following question:

I want to be able to search a database and return approximate matches or matches that are phonetically similar. I've run across the String::Approx module which looks like it may be useful. I need a solution that will scale well and was wondering if anyone else had any insight or experience doing something similar.
  • Comment on Approximate or Phonetic String-Matching

Replies are listed 'Best First'.
by chromatic (Archbishop) on Dec 27, 1999 at 05:19 UTC
    One option for your phonetic needs is the Soundex module. It implements Knuth's Soundex algorithm and hashes text keys into small strings which approximate English phonetic equivalents.

    You might also want to see How do I find the Soundex value of a string?, though it isn't very informative.

Re: Approximate or Phonetic String-Matching (newer thread)
by bsb (Priest) on Jun 20, 2003 at 03:04 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1407]
[MidLifeXis]: Project Admin, today, after many periodic updates from me: "Why hasn't this been closed yet? Is there anything I can do to get this closed?" <facepalm>
[MidLifeXis]: In addition to SOAP (last hour of cb), try water. ;-)
[MidLifeXis]: hahaha: Just received a buzz-word-bingo- compliant email (internal) that starts with "%Firstname% %Lastname%...". It only gets better from there.
choroba finds working in a small company boring comparing to a large corporation
[MidLifeXis]: At least test before mass distribution.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2017-01-19 12:11 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (170 votes). Check out past polls.