Lesson 2 of 2 AI Workloads and Scenarios

Identifying Text, Speech, Vision and Information Extraction Workloads

This lesson explains the four workloads that interpret existing content: text analysis, speech, computer vision and information extraction, each defined by its input and output.

Learning outcomes

After completing this lesson, you will be able to:

  • Identify scenarios for text analysis, speech, computer vision and information extraction.
  • Match a requirement to the workload that fits its input and output.

Text analysis

Text analysis, part of natural language processing (NLP), extracts meaning from written text. Scenarios include measuring customer sentiment in reviews and social media, extracting key phrases to find trending topics, detecting entities such as products, people and dates in emails, redacting personal data, detecting the language of incoming messages and summarizing long documents. The text analysis concepts module explains each technique.

Speech

Speech workloads convert between spoken and written language. Speech recognition (speech to text) powers call transcription, meeting captions and voice commands. Speech synthesis (text to speech) powers screen readers, spoken notifications, audiobook narration and voice responses. Combined, they enable speech translation and voice assistants that hold spoken conversations.

True or false

Speech in both directions

Exam skills 1.3.1 · 1.3.3

Check four statements about speech recognition and speech synthesis.

Log in to try this activity Interactive activities are free with an account.

Computer vision

Computer vision interprets images and video. Scenarios include describing photos for accessibility, tagging images in a media library, detecting and counting objects such as products on shelves or vehicles in traffic, reading text in images with optical character recognition (OCR), inspecting manufactured parts for defects and answering questions about charts or screenshots. Image generation, which creates new images, is the generative counterpart.

Information extraction

Information extraction turns unstructured content into structured data. Scenarios include capturing invoice and receipt fields for accounting, digitizing application forms, extracting the reason and outcome of each support call, and indexing training videos by topic. It draws on the other workloads (OCR, speech recognition, language understanding) and returns fields defined by a schema.

The following table recaps the four workloads by input and output, which is usually the fastest way to identify them in a question.

WorkloadTypical inputTypical output
Text analysisTextSentiment, key phrases, entities, language, summary
Speech recognitionAudioText transcript
Speech synthesisTextAudio
Computer visionImages or videoDescriptions, tags, objects, text
Information extractionDocuments, images, audio, videoStructured fields defined by a schema
Sort into groups

Name the workload

Exam skills 1.3.1

Identify the workload in each scenario from its input and output.

Log in to try this activity Interactive activities are free with an account.
Worked example

Matching scenarios to workloads

Match each requirement to a workload: (1) produce subtitles for recorded webinars; (2) find which product features customers mention most in reviews; (3) record the supplier, date and total of scanned purchase invoices in an accounting system; (4) count empty spaces in car park camera images.

(1) is speech recognition, because audio becomes text. (2) is text analysis, specifically key phrase extraction. (3) is information extraction, because documents become typed fields. (4) is computer vision, specifically object detection. Note that (3) uses OCR internally, but the requirement is the fields, not the raw text.

Check yourself

What is the difference between OCR and information extraction?

Show answer

OCR returns the raw text. Information extraction returns the specific fields a schema defines, such as an invoice total.

Exam Tips

Remember for the exam

  • Identify the workload from input and output.
  • Information extraction returns schema-defined fields; OCR alone returns raw text.
  • Speech recognition and speech synthesis are opposite directions.