Site icon MacTech.com

Soundex 1.0

WHAT IS SOUNDEX?

Soundex is a system that was developed by the United States government to
aid in searching their vast databases of people. It allows searching by how
a name sounds rather than how it is spelled.

For example: Imagine a telephone operator listening to someone pronouncing
their last name. Wouldn’t it be nice if they could find the person in their
database by how it sounds so they don’t have to ask them to spell it out?

The soundex system achieves this by converting a last name into a 4
character identification string.

For example: My last name is Ronge but after people here me pronounce it
they think it is “Runge”. Using the soundex system as far as the computer is
concerned “Ronge” and “Runge” are the same.

WHAT DOES THIS MODULE DO?

The REALbasic module contains a 3 useful methods: convertToSoundex,
exactSoundexComparision and soundexComparision.

convertToSoundex – Converts the name to soundex so you can store it
exactSoundexComparision – Provide it with two last names and it will tell
you if they sound the same
soundexComparision – Provide it with two last names and it will tell you on
a scale of 1 to 4 how similar they are

DOWNLOAD

More delicious classes/modules:
http://www.monkeybreadsoftware.com/rbIndex.html

Direct Download:
http://www.monkeybreadsoftware.com/downloads/realbasic/soundex.sit

Matt Ronge

President
Monkeybread Software
http://www.monkeybreadsoftware.com

Exit mobile version