I want to filter out duplicate customer names from a database. A single customer may have more than one entry to the system with the same name but with little difference in
Look into soundex. It's a pretty standard library in most languages that does what you require, i.e. algorithmically identify phonetic similarity.
http://en.wikipedia.org/wiki/Soundex