CLF-C02 ยท AI, machine learning and analytics
Language and speech AI services
Amazon Lex (chatbots), Amazon Polly (text to speech), Amazon Transcribe (speech to text), Amazon Translate and Amazon Comprehend (text insights).
Key points
- Amazon Lex: chatbots for voice and text (intents, slots, speech recognition plus language understanding).
- Amazon Polly: text to lifelike speech.
- Amazon Transcribe: speech to text.
- Amazon Translate: text from one language to another.
- Amazon Comprehend: insights from text such as sentiment, entities, key phrases, PII and dominant language.
- All are pretrained and called through an API.
Source: https://docs.aws.amazon.com/lexv2/latest/dg/what-is.html
Practice questions
Which AWS service converts recorded speech into written text?
- Amazon Polly
- Amazon Translate
- Amazon Transcribe
- Amazon Comprehend
Show answer
Answer: C. Amazon Transcribe
Amazon Transcribe is the speech-to-text service. Polly goes the other way (text to speech), Translate changes the language of text, and Comprehend analyzes text that already exists.
Which insights can Amazon Comprehend extract from text?
- The overall sentiment of a customer email
- Names of people and places mentioned in an article
- An audio file that reads the text out loud
- Personal data such as phone numbers in a message
- A multi-turn dialog that books an appointment
Show answer
Answer: A. The overall sentiment of a customer email, B. Names of people and places mentioned in an article, D. Personal data such as phone numbers in a message
Comprehend reports sentiment, entities, key phrases, dominant language and PII such as phone or bank account numbers. Turning text into audio is Amazon Polly, and running a dialog with users is Amazon Lex.
Amazon Polly is the service that turns spoken audio into written transcripts.
Show answer
Answer: False
False. Polly converts text into speech. Turning speech into text is Amazon Transcribe; the two are easy to mix up because they work in opposite directions.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
