Wolfram|Alpha contains a Soundex algorithm to encode and decode words and names based on their phonetic spellings so that homophones are encoded to the same Soundex representation. This system is used to match similar words and names in a database search despite slight spelling differences.
Soundex
Generate and convert from Soundex code using Wolfram|Alpha.