Amazon Polly, Spelling of special characters

0

Hello! I am using Polly in my app. There I have problems with the spelling of special characters. For example German: ä, ö, ü For example Spanish: ñ, á,ó For example Portuguese: ç, ê, Ó We are using api of Amazon Polly. Has somebody an idea? Thanks for helping, Erik

Erik
demandé il y a un mois161 vues
2 réponses
0

Hello,

When using Amazon Polly, you have some control over how special characters are pronounced through the use of Speech Synthesis Markup Language (SSML). SSML allows you to specify phonemes for individual characters or sequences of characters.

Certain characters like @ may have default pronunciations defined by the voice but you can override this using SSML.

For characters with no default mapping, you need to specify the phonemes explicitly using the <phoneme> tag within SSML.

profile picture
Julian
répondu il y a un mois
profile pictureAWS
EXPERT
vérifié il y a un mois
0

Hi,

If you need to really "fine-tune" the pronunciation, you can use the <phoneme> tag of SSML in Polly: https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html#phoneme-tag

But, there is many other possibilities in Polly before this kind of last-end solution: https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html

Best,

Didier

profile pictureAWS
EXPERT
répondu il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions