Bitzu

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

Single choice

Which AWS service converts recorded speech into written text?

  1. Amazon Polly
  2. Amazon Translate
  3. Amazon Transcribe
  4. 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.

Select all that apply

Which insights can Amazon Comprehend extract from text?

  1. The overall sentiment of a customer email
  2. Names of people and places mentioned in an article
  3. An audio file that reads the text out loud
  4. Personal data such as phone numbers in a message
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More CLF-C02 topics in this module