Machine Learning
Amazon Polly
Service that turns text into lifelike speech (text-to-speech). It is used to build applications that talk, in multiple languages and with different voices, for example for news readers or accessibility.
Exam phrases that point here
«convert text into natural-sounding speech»
Amazon Polly takes text and returns spoken audio with lifelike voices, ready to play or store.
When not: If the direction is the opposite, from audio to text, the answer is Amazon Transcribe. If you also need to hold a conversation with the user, think of Amazon Lex, which together with Polly forms complete voice interfaces.
«control the pronunciation, pauses, or speed of the voice»
With SSML you mark pauses, emphasis, speed, pitch, and volume, and with custom lexicons you set how specific words are pronounced.
When not: If the problem is that the system does not recognize certain words correctly in an audio recording, that is speech recognition: it is solved with Amazon Transcribe custom vocabulary.
«generate audio files from long texts and store them for reuse»
Polly asynchronous synthesis processes long texts in the background and places the audio in an Amazon S3 bucket; the generated audio can be played as many times as you want.
When not: For short sentences that must play almost instantly, use regular synthesis (SynthesizeSpeech), which returns the audio in the response.
«highlight each word on screen while the text is read aloud»
Polly speech marks return the timing of each sentence, word, or viseme (mouth shape), to synchronize highlighted text or animations with the audio.
When not: Polly does not translate: if the text must be read in another language, it is first translated with Amazon Translate and then synthesized.
«read content aloud to improve accessibility»
Helping people with visual impairments or reading difficulties is one of the typical uses AWS cites for Polly.
When not: If the content is in an image or a scanned document, the text must first be extracted (Amazon Textract for documents) and then synthesized.