Speech Recognition
The technology that transcribes spoken words into text
- Speech recognition takes the vibration of sound picked up by a microphone and writes it down as text.
- It cuts the sound into very short slices, scores each slice for which sound it's closest to, and strings those scores together into a sentence.
- It doesn't look at sound alone. It weighs the flow of the words around it too, to pick between candidates that sound alike.
- Speak clearly in a quiet room and it does well; it trips up on background noise, overlapping speakers, and unfamiliar names.
- Getting it down on paper is as far as speech recognition goes. Understanding what it means, and acting on it, is a separate step after that.
Contents
1The analogy
Imagine a story is playing on the radio, and you're writing it down on paper as it airs. Sound can't be held in place, so you have to transcribe it very fast, in the exact order it reaches your ear. Catching that passing sound and leaving it behind as text is speech recognition.
The person writing it down isn't working from sound alone. In a sentence like "my back's been hurting," the word "back" could mean the body part or the rear of something, and sound alone can't tell them apart. It's because you heard the surrounding story that you know to write down the body part.
When the broadcast comes through clean, writing it down isn't hard. Let static creep in, or two people talk over each other, or an unfamiliar place name show up, and the hand hesitates. Exactly those same spots are where speech recognition struggles too.
2In detail
Sound gets cut into very short slices
What a microphone picks up is a vibration in the air. That vibration turns into a string of numbers and enters the computer. But ask "what was said" about that whole string at once, and no answer comes out — speech is sound that keeps changing from one moment to the next.
So it gets cut first. A second gets split into roughly a hundred slices, and each slice gets read for which pitches of sound are mixed in and how much. Laid out this way, an "ah" sound and an "sss" sound show up as clearly different shapes.
There's a reason the slices are cut so fine. A speech sound changes shape depending on the sounds around it — the same "t" sound comes out differently depending on what follows it. Cutting things finely keeps this shifting from slipping through unnoticed.
Each slice gets a score
For each slice it has cut, the model doesn't commit to one fixed answer. Instead it leaves behind a score for every candidate — something like "this slice is probably this sound, but there's some chance of that other one too."
Leaving the score behind turns out to be far more useful. Settle on one answer too hastily from a single slice, and if it doesn't fit with the sound that follows, there's no way back. Keeping several branches open and picking the most plausible path across the whole sentence works far better.
The flow around it picks the answer
Sound scores alone leave a huge number of words undecided. "Recognize speech" and "wreck a nice beach" sound almost identical, and "the flowers in the garden" and "add a cup of flour" contain a word that sounds exactly the same either way.
That's why speech recognition also carries a part that tracks the flow of the sentence. If the words before it were about a garden, that word leans toward the bloom; if they were about a recipe, it leans toward the baking ingredient. It's the same instinct a person uses to follow a conversation in a noisy room.
Because this part exists, speech recognition can reconstruct a sentence even when the sound itself came through a little blurred. On the flip side, in speech with no flow to lean on — an unfamiliar person's name, or a random string of digits — there's no flow to help, and errors climb noticeably.
These days it's learned all in one piece
It used to be built from separate parts bolted together — one part to tell sounds apart, a dictionary of how each word is pronounced, and a part that knew the flow of a sentence, each built on its own and then stitched together. Every part needed a person's hand, which made adding a new language a major undertaking.
Now, a recording and its transcript get paired up in enormous numbers, and one single model learns to go straight from sound to text as a whole. Nobody has to build the pronunciation dictionary by hand anymore, and one model can handle multiple languages and noisy recordings together.
Text appears before the sentence is even finished
When text lands on screen in real time, the system is producing an answer without knowing what's still to come. That's why text already on screen sometimes quietly changes once the next words arrive — it isn't a mistake, it's the system revising its answer once it sees more of the flow.
Spacing and punctuation aren't in the sound at all. They get added separately, based on cues like whether the pitch rises at the end or where a breath was taken. That's exactly why commas and periods often land in odd places in a transcript.
3More precisely
Speech recognition is the task of turning a sequence of features pulled from a sound waveform into a sequence of text. The picture made from the sound is called a spectrogram; the part that learns how sound maps to text used to be called the acoustic model, and the part handling sentence flow the language model. Modern systems train these two as one piece, blurring that boundary — an approach called end-to-end learning. Performance is measured by word error rate, which counts how far the transcript drifts from the correct one.
The analogy breaks down in one place. A person writing something down understands the meaning as they write, and can ask again if they didn't catch it. A model can't ask again. It can only pick the single most plausible string of text and hand it over, so it writes down a sentence that doesn't even make sense with total confidence. Figuring out whose voice it is, or splitting apart how many people are speaking, tends to travel alongside speech recognition but is actually a separate technology.
A radio transcriber also only ever handles one broadcast at a time, while a deployed model runs the same steps on thousands of streams of audio at once, each one cut, scored, and reassembled in parallel within a fraction of a second.
4Try it yourself
5Common misconceptions
It's easy to think speech recognition understands what's said, but actually it only turns sound into text — working out what the sentence means is a separate step after that.
It's easy to assume mistakes come from bad pronunciation, but actually background noise, overlapping speakers, and names it's never seen in training cause far more of them.
It's easy to think speech recognition also identifies whose voice it is, but actually telling speakers apart is a separate technology, learned on its own.
7One-line summary
In shortSpeech recognition cuts passing speech into very short slices and writes them down as text, weighing the surrounding flow alongside the sound itself to pick its answer.
Spotted an error or have a better analogy? Suggest an edit · Last updated2026-09-02