Natural Language Processing · Advanced level

Advanced level · Module 8 of 10 · 15 guided hours

Automatic Speech Recognition

Speech to text: audio basics, pretrained ASR with Whisper, word error rate, noise and accents, the limits for South Sudanese languages, voice data ethics, and an optional look at voice user interfaces.

Learning objectives

  • Explain how audio is represented for speech recognition
  • Transcribe audio with a pretrained model and measure word error rate
  • Assess ASR limits, voice data ethics and voice interface design

Topics

  • sound, sampling rates and spectrograms
  • end-to-end ASR models
  • Whisper via the transformers pipeline
  • word error rate
  • noise, accents and code-switching
  • voice data consent and voice user interfaces (optional)

Lessons

  1. Lesson 1 Audio Basics for Speech Recognition

    Learners load audio, resample it to 16 kHz, visualise waveforms and spectrograms and understand what an ASR model receives as input.

    waveformsampling rate (16 kHz)mono audiospectrogram / log-Mel featuresaudio file formats

  2. Lesson 2 Transcribing Speech with a Pretrained Model

    Learners transcribe audio with Whisper through the transformers pipeline, compute word error rate and analyse errors by speaker, noise and language.

    pipeline('automatic-speech-recognition')Whisperword error rate (WER)substitutions, deletions and insertionsper-condition evaluation

  3. Lesson 3 Voice Data Ethics and Voice User Interfaces

    Learners examine consent and privacy for voice data and, as an optional extension, design a simple voice interface flow for a low-bandwidth service with clear fallbacks.

    voice as personal datainformed consent for recordingsstorage and deletionvoice user interfacefallback to human or text

Practical activity

Produce an ASR evaluation report on consented recordings (WER by condition and language) and a voice-data consent plan, with an optional voice-interface design.

Expected outcomes

  • Practical, honest ASR evaluation
  • Responsible handling of voice data

Assessment

ASR evaluation report (60%) and consent plan (40%); the optional VUI design can earn credit towards the module grade.

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.