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
asked 16 days ago53 views
2 Answers
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
answered 16 days ago
profile pictureAWS
EXPERT
reviewed 16 days ago
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
answered 16 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions