Polly Abbreviation Pronunciation

0

Polly pronounces "can't" as "can" + "back slash". How can I get an abbreviation like 't to be pronounced properly?

	'OutputFormat' => 'mp3',
	'Text' => "<speak><prosody rate='medium' volume='x-loud'>I can't do it</prosody></speak>",
	'TextType' => 'ssml',
	'LanguageCode' => 'en-US',
	'VoiceId' => "Joanna",
  • Polly is able to handle contractions like "can't", so the problem is likely being introduced by something in your code. Can you tell us which SDK or command line tool you are using to call Polly (boto3? Javascript SDK? AWS CLI?)? Can you also provide an example of the actual code you're using which results in this unintended behavior?

已提問 2 年前檢視次數 246 次
1 個回答
0

Can you check your character encoding is UTF-8? It sounds like polly may be picking up a forward slash escape character?

AWS
Alex_K
已回答 2 年前

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

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

回答問題指南