Speech Mark Types
You request speech marks using the SpeechMarkTypes
In the Amazon CLI, for example:
--speech-mark-types='["sentence", "word", "viseme", "ssml"]'
Amazon Polly generates speech marks using the following elements:
-
sentence – Indicates a sentence element in the input text.
-
word – Indicates a word element in the text.
-
viseme – Describes the face and mouth movements corresponding to each phoneme being spoken. For more information, see Visemes and Amazon Polly.
-
ssml – Describes a <mark> element from the SSML input text. For more information, see Generating Speech from SSML Documents.