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?

asked 2 years ago239 views
1 Answer
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
answered 2 years 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.

Guidelines for Answering Questions