Speech recognition: words, alignment and uncertainty
Evaluate transcripts and timestamps without treating either as unquestionable ground truth.
Preparation: Edit counts, percentages and audio timing.
Plan 20–35 minutes with the activities; this is a study estimate, not a timed requirement. Both paths have complete narration. Your notes and progress are kept separately for each level.
FULL LOCAL NARRATION
Follow the complete explanation.
Narration includes worked solutions. Pause at each practice prompt before continuing. Formula notation has a spoken explanation; all teaching text remains readable.
High-school path. Evaluate transcripts and timestamps without treating either as unquestionable ground truth.
Preparation: Edit counts, percentages and audio timing. Work through one section at a time. Predict the experiment result before changing its controls, then explain what the example leaves out.
A speech recognizer converts an audio representation into text tokens. Preprocessing choices such as resampling and channel handling affect the evidence the model receives. A noisy or incorrectly sped-up recording makes the listening task harder before any language prediction begins.
Worked step 1. Inspect sample rate and channels.
Worked step 2. Apply the intended preprocessing.
Worked step 3. Check that speech speed and duration remain correct.
Try it yourself. Does renaming a file resample its audio?
Pause the recording and write your reasoning before continuing. The worked solution follows.
Reveal worked solution
Worked solution. No. Metadata or file names do not perform signal conversion.
Section 02 / 07
Language priors can help and mislead
A recognizer uses learned language patterns as well as acoustic evidence. Plausible words can be inserted when the sound is unclear, silent or unlike the training distribution. A listener may guess a familiar phrase even when the speaker said something unusual.
Worked step 1. Transcribe a quiet segment and a technical name.
Worked step 2. Compare with the actual audio.
Worked step 3. Mark unsupported words instead of assuming fluency means correctness.
Try it yourself. Can a grammatical transcript still be wrong?
Pause the recording and write your reasoning before continuing. The worked solution follows.
Reveal worked solution
Worked solution. Yes. Language plausibility is not acoustic verification.
Section 03 / 07
Align before counting errors
Word error rate counts substitutions, deletions and insertions after an alignment against a reference. The denominator is the number of reference words. Compare two word sequences in order rather than counting words that appear anywhere in both.
WER = (S+D+I)/Nreference
Worked step 1. Reference has ten words.
Worked step 2. There are two substitutions, one deletion and two insertions.
Worked step 3. WER is 5/10, or 50 percent.
Try it yourself. Can WER exceed 100 percent?
Pause the recording and write your reasoning before continuing. The worked solution follows.
Reveal worked solution
Worked solution. Yes. Many insertions can make the numerator larger than the reference length.
Section 04 / 07
Timestamps and forced alignment differ
Recognition predicts what was said; alignment locates a supplied or recognized transcript in time. Word-level timestamps can be approximate and should be checked at important boundaries. A correct sentence and a correct time label are two separate answers.
Worked step 1. Choose a short phrase with clear consonants.
Worked step 2. Compare predicted word boundaries with the waveform.
Worked step 3. Inspect pauses and overlapping speech.
Try it yourself. Does forced alignment prove the supplied words were spoken?
Pause the recording and write your reasoning before continuing. The worked solution follows.
Reveal worked solution
Worked solution. No. It attempts to place the supplied text; transcript correctness needs independent checking.
Section 05 / 07
Evaluate the actual speakers and conditions
A single clean recording cannot represent every accent, microphone, room and speaking style. Build a test set matching the intended audience and use case. Include quiet speech, background noise and unfamiliar names rather than only a studio introduction.
Worked step 1. Create clean, noisy and accented subsets.
Worked step 2. Use the same normalization policy.
Worked step 3. Report each score and representative errors.
Try it yourself. Should one overall score replace the subset results?
Pause the recording and write your reasoning before continuing. The worked solution follows.
Reveal worked solution
Worked solution. No. Keep the aggregate and the breakdown so important failures remain visible.
Section 06 / 07
Keep corrections connected to audio
A useful transcript workflow lets a reviewer replay uncertain spans and record corrections. Preserve the original machine transcript when edits matter for auditing. Clicking a word should help you hear its context instead of forcing a search through the entire recording.
Worked step 1. Mark an uncertain name.
Worked step 2. Replay its surrounding audio.
Worked step 3. Save the corrected text with the original segment reference.
Try it yourself. Is polished prose always a faithful transcript?
Pause the recording and write your reasoning before continuing. The worked solution follows.
Reveal worked solution
Worked solution. No. Cleaning can remove repetitions or change wording. State the intended transcription policy.
Section 07 / 07
Mastery and transfer
Bring the pieces together. First answer the checkpoint without the worked solutions. Then explain the mechanism in your own words, using one numerical example from this lesson.
WER divides edit count by… Option 1: Hypothesis word count. Option 2: Reference word count. Option 3: Audio sample count.
Pause here and choose an answer before continuing. The checkpoint explanation follows.
Reveal worked solution
The correct choice is option 2: Reference word count. The standard denominator is the number of reference words under the stated normalization.
Transfer task. Change one assumption in the worked example. State your prediction, calculate or test it in Workbench, then explain whether the result supports your prediction.
Reveal worked solution
Self-check rubric. Name the changed assumption, keep the other inputs fixed, show at least one intermediate calculation, and distinguish what the toy example guarantees from what would require a trained model or a real measurement.
WORKBENCH / PREDICT → TEST → EXPLAIN
Inspect exact numerical data
These are computed teaching fixtures. No remote AI model or GPU is called by the experiment.
CHECK YOUR UNDERSTANDING
Commit to an explanation.
Keep your learning record.
Sources and scope
Original worked examples and teaching text, grounded in these primary references. Numerical fixtures explain mechanisms; model quality and hardware performance require separate measurements. Both levels share key examples, with different explanations and checkpoints.