Google can listen to you pronounce a name and learn from it. I was JUST thinking about this topic yesterday... my housemate is named Maryam, but invariably Google speech-to-text will write it as ...