Skip to content

Using Polly with IPA Pronunciation (German)

0

Using Polly for this German sentence:

Das ist der Buchstabe <phoneme alphabet="ipa" ph="ksi">Xi</phoneme> .

Everything sounds fine, if I use:

 Engine = 'neural', 
 LanguageCode='de-DE',
 VoiceId='Daniel',

But the pronunciation of the letter Xi is incorrect, if I use the following instead:

 Engine = 'generative', 
 LanguageCode='de-DE',
 VoiceId='Daniel',

asked a year ago98 views

1 Answer
0

When using Amazon Polly with phonetic pronunciation for German, there can be differences in how the engines handle the IPA phonetic tags.

In your case, the neural engine correctly processes the IPA pronunciation for "Xi" as "ksi" in German, but the generative engine appears to have an issue with the same phonetic markup. This discrepancy between engines is a known limitation when working with special phonetic pronunciations.

To address this issue, you have a few options:

  1. Continue using the neural engine if the pronunciation is critical for your use case

  2. Try using X-SAMPA phonetic alphabet instead of IPA, which might be processed differently by the generative engine:

Das ist der Buchstabe <phoneme alphabet="x-sampa" ph="ksi">Xi</phoneme> .
  1. If you need to use the generative engine specifically, you might need to experiment with different phonetic representations to achieve the correct pronunciation

The phonetic pronunciation capabilities in Amazon Polly are designed to give you control over how special characters and words are pronounced, but implementation can vary between engine types.
Sources
Using phonetic pronunciation - Amazon Polly
Amazon Polly, Spelling of special characters | AWS re:Post

answered a year 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.