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
已提問 1 個月前檢視次數 161 次
2 個答案
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
已回答 1 個月前
profile pictureAWS
專家
已審閱 1 個月前
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
專家
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南