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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则