Spoken Language Processing in Python

Start Free Preview

Buying via our links supports this free directory · Affiliate disclosure.
Course facts
  • Payment: Free Preview (Paid Upgrade)
  • Learning style: Self-paced, start anytime
  • Format: Text & Interactive
  • Video access: Streaming Only
  • Before you start: Introduction to Natural Language Processing in Python; Supervised Learning with scikit-learn
DataCamp details
  • Chapters: 4
Created byDataCamp
Available onDataCamp

Course Details
Learning Style

Start Anytime

Level

Intermediate

Study Mode

100% Online

Duration

Short (< 10 Hours)

Languages
Audio Language

English

Outcomes
Certificate

Certificate of Completion

Price & Terms
Pricing Model

Free Preview (Paid Upgrade)

Technical
Content Medium

Text & Interactive

Video Access

Streaming Only

Specification
Access

Subscription

SKU: spoken-language-processing-python Category: Tags: , Brand:

Prepare audio with PyDub, transcribe speech with SpeechRecognition and analyze customer call transcripts for sentiment in Python.

At a glance
Duration4 hrs
LevelIntermediate
CertificateCertificate of Completion
LanguageEnglish
Taught byDaniel Bourke
AccessSubscription
Add your review
Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare

Spoken language processing in Python turns recorded speech into text that a program can analyze. Recorded audio needs preprocessing before transcription, because files differ in frame rate, number of channels and format. You read raw sound waves as numbers, reshape files with PyDub and convert speech to text with the SpeechRecognition library. You then run sentiment analysis, named entity recognition and classification on transcripts of customer support calls.

What You Will Achieve

  • Load an audio file in Python, convert its bytes to integers and plot the sound wave over time
  • Prepare audio for transcription by changing frame rate, channel count and file format with PyDub
  • Transcribe spoken audio to text with SpeechRecognition and cope with difficult recordings
  • Build a pipeline that transcribes customer support calls and scores the sentiment, entities and category of each one


Program Overview

Audio Data Foundations in Python

Raw audio is read into Python and turned into numbers, so two recordings can be compared as sound waves.

  • Audio data and frequency
  • Data types and time stamps
  • Visual comparison of two sound waves

Speech-to-Text and Audio Preparation

The SpeechRecognition library connects to speech-to-text APIs, and PyDub reshapes audio file attributes ahead of transcription.

  • Choosing an API and using the Recognizer class
  • Working with noisy audio and multiple speakers
  • Audio parameters, volume and normalization
  • Stereo to mono splits, exporting and reformatting

Acme Studios Phone Call Project

A proof of concept for the fictional Acme Studios transcribes customer support calls and analyzes the resulting text.

  • Transcription helper functions and PyDub stats
  • Sentiment analysis with NLTK
  • Named entity recognition and a custom entity in spaCy
  • Text classification with scikit-learn

Certificate Awarded (Paid)


Job Outlook

These skills apply wherever recorded speech has to be analyzed as text, such as reviewing customer support phone calls, and in natural language processing work and personal projects that start from audio.


Our take

Good for: Python users who want to transcribe recorded speech and analyze the transcripts with the same tools they already use on text.

Keep in mind: The final project is a proof of concept for Acme Studios, a fictional company, built on snippets of customer support calls.

Bottom line: A focused course that pairs PyDub and SpeechRecognition, then carries the transcripts through NLTK, spaCy and scikit-learn analysis.

Frequently Asked Questions

Which libraries handle the audio and the transcripts?

Audio work relies on two libraries: SpeechRecognition, which talks to several speech-to-text APIs, and PyDub, written by James Robert, for changing audio attributes. The closing project adds NLTK for sentiment, spaCy for named entities and scikit-learn for classification.

What is the Acme Studios project?

It is the last chapter's proof of concept for a fictional technology company. You write helper functions that convert and transcribe customer support call snippets, then analyze the text for sentiment, named entities, including a custom entity, and call categories.

Does the course deal with poor-quality recordings?

Yes. The SpeechRecognition chapter works through different kinds of audio, recordings with multiple speakers and noisy audio, and it notes that speech recognition is still far from perfect.

What does the first chapter do with raw audio?

It imports two audio files, converts their sound wave bytes to integers, finds the time stamps for each sample and plots both sound waves so you can compare them visually.

User Reviews

0.0 out of 5
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0

No reviews yet. Be the first to review this course.

There are no reviews yet.

Write your review

Reviews can only be posted by registered learners. Log in or create a free account, then you will return here to post.

×

    Report this page
    Spoken Language Processing in Python
    Spoken Language Processing in Python
    LiveTalent
    Logo
    Compare items
    • Total (0)
    Compare
    0