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
preguntada hace un mes161 visualizaciones
2 Respuestas
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
respondido hace un mes
profile pictureAWS
EXPERTO
revisado hace un mes
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
EXPERTO
respondido hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas