You can use the console or the synthesize-speech
command to request speech marks from Amazon Polly. You can then view the metadata or save it to a file.
To generate speech marks on the console
Sign in to the AWS Management Console and open the Amazon Polly console at https://console.aws.amazon.com/polly/
. -
Choose the Text-to-Speech tab.
-
Turn on SSML to use SSML.
-
Type or paste your text into the input box.
-
For Language, choose the language of your text.
-
For Voice, choose the voice you want to use.
-
To change text pronunciation, expand Additional settings, turn on Customize pronunciation, and for Apply lexicon, choose the desired lexicon.
-
To verify the speech, choose Listen.
-
Turn on Speech file format settings.
Note
Downloading MP3, OGG, or PCM formats will not generate speech marks.
-
For File Format, choose Speech marks.
-
For Speech mark types, choose the types of speech marks to generate. The option to choose SSML metadata is only available when SSML is on. For more information on using SSML with Amazon Polly see Generating speech from SSML documents.
-
Choose Download.