This algorithm turns a text string into a phonetic text string.
Consequently, different mis-spellings of the same word, even a made-up word like many company names are, will end up having the same phonetic text (Soundex or Metaphone).
This helps databases prevent duplicate data in the following way:
Imagine a database with a form in which someone has to type a company name, and the company name they wish to type is not in the dictionary.
When the company name is first typed, the new record is stored with the company name and the Metaphone for that company name:
So now another user hears the company name on the phone and types in Likom... which has the same metaphone, "LKM".
Rather than search for the Company Name Text, the (shorter) Metaphone Text can be searched for matches and a list presented for the user to choose from.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
(1101) Last modified: Tue, 03 Feb 2009 18:26:29 +0000