Get similarity percentage of tone

Currently I’m working on a project which is based upon voice search. But my problem is I need to search for real names. Real Indian names. Imagine I wanna look for people named “Ganesh” but my voice recorder isn’t that good, it’s taking “Gones” (type). How can I get the name Ganesh with my input “Gones”?