Generalized phonetic similarity function.