Use phonetic text for text-to-speech in IOS

I am developing atn app that is using the text-to-speech capability in IOS: I am using english, swedish, norweigan, danish and finnish. The voices for all this languages have approved a lot. But there are of course difficulties to pronounce specila words and names and also som combinations or words.

Is it possible to use phonetic text to enhance this? Some text-to-speech solutions can do that. One possiblity is to add a dictionary substitutiong words for the phonetic version of it.

It is done in Contact app, through a trick: you give a different spelling for Siri to use for pronunciation:

h ttps://www.imore.com/daily-tip-add-phonetic-spelling-contact-ios


But it is not reading phonetics : you write Alley as the pronunciation for Ally.


So you could probably do the same: create a ditcionary with "phonetics" for textToSpeech ;

var dicoForSpeech = [String: String]()

usually, the value will be equal to the key, but you could have a

dicoForSpeech["easy"] = "easy"

different one if you find it is pronounced badly:

dicoForSpeech["Ally"] = "Alley"

Thanks but not exately what I am looking for. To use what you suggested every user has to add this to the phone. What I want is to send out text using phonetics to users and they get it read in a nice way. So I dont want the users to have to configure any "translation" themselves.

So far I haven´t seen any solution in a mobile. It exsist in some software for computers.

Use phonetic text for text-to-speech in IOS
 
 
Q