Phonetics is the name of a sceince that deals with converting words to sound values, so you are able to compare words with each other on there pronunciation.
To make things easy Triple Software developed a set of phonetic functions and packed them in a nice library, for free.
The installer package also comes with the String Compare library and a demo application to test the algorithms. The demo application can also show you the execute time for each of the algorithms. Phonetic function supported