AI clean-up and transcription: dialogue isolation and Whisper
What a speech recogniser and a dialogue isolator do to your audio, how to measure them with word error rate, and why they fail first on Nigerian names, naira amounts, tones and Pidgin
You give a speech recogniser a six-second file that contains no speech at all: a synthetic buzz shaped like a voice (a harmonic series with vowel-like formants, four syllables a second) over silence. What does Whisper's base model most likely write?
Two AI tools now sit in almost every audio workflow. A speech recogniser turns a recording into text: transcripts, captions, show notes, searchable call logs, and the word timings that text-based editors cut by. A dialogue isolator separates the voice from what is around it: traffic, a generator, a ceiling fan, a crowd. Both are free or cheap, both run on a laptop, and both are wrong in ways that are easy to miss because their output looks finished.
This chapter teaches you to use them well and to measure them. How the models work inside (encoders, decoders, training data, evaluation sets) belongs to the AI Engineering course: choosing a model covers picking one on evidence, and building an eval set covers testing one honestly. Here you treat each tool as a box with audio in and text or audio out, and you measure what comes out with the same rigour you apply to a loudness reading.
What the two tools do
| Tool | Input | Output | What it is doing | How it fails |
|---|---|---|---|---|
| Speech recogniser (Whisper, the transcription in editing apps, cloud transcription APIs) | Speech | Text, with timings | Predicts the most likely words for the sound, one token at a time, using what it learned from audio paired with text | Mishears names, numbers and rare words; drops tones; writes words for silence, music and noise; loops; misses the first or last words of a segment |
| Dialogue isolator (RNNoise, iZotope RX Dialogue Isolate, the voice-isolation buttons in editors and phones) | Speech plus everything else | Audio with less of everything else | Estimates, many times a second and band by band, how much of the sound is voice, and turns the rest down | Watery or metallic voice, swallowed consonants, breaths and room tone removed, background pumping between words, a second voice treated as noise |
The two are often chained: isolate, then transcribe. That chain is not automatically better, and finding out whether it is better on your material is one of the things this chapter teaches.
Whisper in one page
Whisper is the open speech recognition model OpenAI released in 2022, and most free local transcription tools run it or a model like it. Its paper is unusually frank about where it works and where it does not, so read the paper rather than a summary.
The model was trained on 680,000 hours of audio paired with transcripts collected from the internet, of which 438,218 hours were English speech recognition and 117,113 hours were speech recognition in other languages (Radford et al., §1 and Appendix E, Figure 11)as of 2026-11. It hears 30 seconds at a time; longer files are transcribed window by window, each window given the text of the last as context. It comes in sizes from tiny (39 million parameters) to large (1,550 million), and smaller models are faster and make more mistakes.
The paper also measured how accuracy depends on how much of each language the model heard in training. It found a squared correlation of 0.83 between the log of the word error rate and the log of the training hours per language, and estimated that WER halves for every 16-fold increase in training data. Now look at what it heard of the languages you work in:
| Language | Speech-recognition training hours (paper, Figure 11) | FLEURS WER, base |
FLEURS WER, large-v2 |
|---|---|---|---|
| English | 438,218 | 8.9% | 4.2% |
| Swahili | 5.4 | 92.5% | 39.3% |
| Hausa | none listed (8 hours of Hausa-to-English translation) | 98.6% | 88.9% |
| Yoruba | none listed (432 hours of Yoruba-to-English translation) | 101.8% | 94.8% |
| Igbo | not a supported language | — | — |
| Nigerian Pidgin | not a supported language | — | — |
WER figures from Table 13 (FLEURS) and hours from Figure 11 of Radford et al., “Robust Speech Recognition via Large-Scale Weak Supervision”, 2022as of 2026-11. Igbo and Pidgin are absent from the language list in the model’s own tokenizer, read from the openai/whisper repository in November 2026: there is a code for Yoruba (yo), Hausa (ha) and Swahili (sw), and none for Igbo or Pidgin. A Pidgin speaker gets the English model’s best guess; an Igbo speaker gets whatever language the detector picks.
The paper scores these after a normaliser that turns every leftover combining mark into a space (Appendix C). In Yoruba that removes the tone on ẹ and ọ, which have no single-character toned form, so ọkọ̀ and ọkọ score as the same word; tones on plain vowels (á, è) survive. The Yoruba figure therefore counts some tone errors and misses others: with every mark kept, expect it to be worse.
Read the table carefully. A WER near or above 100% means the transcript is not a transcript: about as many errors as there were words. These are the original models; OpenAI has since released large-v3 and turbo, and the repository’s README charts large-v3’s (and large-v2’s) error rates by language on Common Voice 15 and FLEURS. Check your language in that chart before you promise anything, and then measure on your own speakers, because a benchmark of read sentences is not a Lagos phone call.
The English figure is also not your figure. FLEURS is read speech, recorded clean, and the paper’s WER is computed after a text normaliser its authors built to forgive differences of style. Nigerian English on a phone line, with names and amounts, scores worse, and you will see by how much in the lab.
Measuring it: word error rate
The standard measure is the word error rate. You need a reference: a human transcript of the same audio, checked twice. The machine transcript is aligned to it word by word with the cheapest set of edits, and every edit is counted:
- a substitution (S): the reference says “Ikorodu”, the machine wrote “Icarodu”;
- a deletion (D): a word in the reference is missing;
- an insertion (I): the machine wrote a word nobody said.
WER = (S + D + I) / N, where N is the number of words in the reference. Because insertions count, WER can exceed 100%: a model that invents a sentence in a pause can score worse than one that writes nothing at all. For languages written without spaces between words, people use the character error rate (CER) instead, the same sum over characters.
The number depends on choices you make before counting, and those choices are where WER is most often misused:
- Normalisation. Is “Good morning,” the same as “good morning”? Almost everyone lower-cases and strips punctuation first. Whisper’s authors went further and wrote a normaliser that also folds spellings and number formats; they report WER drops of up to 50% on some datasets from normalisation alone. A WER without its rules is not comparable with another.
- Tones and diacritics. In Yoruba, tone marks and the dot below separate words: ọkọ̀ (a vehicle) and ọkọ (a husband) differ by one mark. A normaliser that strips marks makes a tone-deaf transcript look correct. Compute both: with marks kept, and with them stripped. The gap is the tone error.
- Numbers. “₦15,000”, “15,000 naira”, “fifteen thousand naira” and “15k” are the same amount. Decide how the delivered transcript must write it, write the reference that way, and count anything else as an error, because a person will have to fix it.
- Names. Spell each name as its owner spells it. “Kerubo” written “Carubo” is one substitution in the count and an insult on screen.
The lab ships wer.py in labs/media, a standard-library script that applies these rules, keeps tone marks unless you pass --no-tones, and lists every substitution, deletion and insertion with --show. The list matters more than the percentage: it tells you whether the errors are names, amounts, tones or invented text, and each has a different fix.
How many clips you need, and how to sample them so the number means something, is the subject of the AI Engineering chapter on eval sets. For a working check, five clips per language and speaker type, each 20 to 60 seconds, with a reference you typed yourself, will show you a model that is failing. It will not prove a model is good.
Where transcription fails, and what it looks like
Most failures fall into six patterns. Learn to spot each in a transcript before anyone else reads it.
Names. A recogniser writes the most likely spelling it has seen. Nigerian names, street names and company names are rare in its training data, so it writes a near-sounding common word or an invented spelling. Expect “Kerubo” as “Carubo”, “Ikorodu” as “Icarodu”, “Wrenpost” as “Rennpost”.
Amounts. Naira and kobo come out as “Nira”, “Naira”, “povo” or “Tobo”; “₦2.50” comes out as “two Naira 50 Kobo”, and in noise as “$2.50”, in another currency. Amounts are the errors a finance or support transcript can least afford.
Tones and code-switching. In the paper’s own tables, Yoruba and Hausa are at or near 100% WER even for the largest model it tested. A speaker who switches from English to Yoruba mid-sentence gets an English transcript of the Yoruba part, or an English translation of it, or nothing. Whisper’s language flag is one language per file.
Noise. Whisper is more robust to noise than many earlier systems. Its authors added white noise and recorded pub noise at falling signal-to-noise ratios and found that every LibriSpeech-trained model they compared did worse than Whisper once the pub noise was loud enough to bring the SNR below 10 dB. More robust is not immune: errors rise as the noise rises, and a generator 3 m from the speaker is not a pub.
Hallucination. The paper lists “getting stuck in repeat loops, not transcribing the first or last few words of an audio segment, or complete hallucination where the model will output a transcript entirely unrelated to the actual audio” among Whisper’s remaining errors. Koenecke and colleagues tested it in 2023 and found that roughly 1% of transcriptions contained entire hallucinated phrases or sentences, 38% of those hallucinations included explicit harms such as violence or false authority, and they occurred more for speakers with longer non-vocal stretches (Koenecke et al., “Careless Whisper”, FAccT 2024)as of 2026-11. Pauses, hold music, breaths and someone looking for a reference number are exactly those stretches.
Formatting. Even a correct transcript can be wrong for the deliverable: no speaker labels, numbers in the wrong form, Pidgin words “corrected” into standard English words that sound alike, filler removed where the client wanted verbatim.
A check run while writing this chapter shows several of these at once. It used a generated voice (macOS text-to-speech, a US English voice, not a recording of a person) reading one 22-word sentence with two names, a Lagos suburb, the company name and two amounts, transcribed by whisper.cpp with the base model:
| Condition | WER | What went wrong |
|---|---|---|
| Clean | 40.9% (S 5, I 4) | “Icarodu”, “Carubo”, “Rennpost”; both amounts written as words and figures (“15,000 Naira”, “two Naira 50 Kobo”) |
| Pink noise at 10 dB SNR | 54.5% | plus “Husaini”, and “calling for my corrodo” for “calling from Ikorodu” |
| Pink noise at 0 dB SNR | 54.5% | “Hussain”, “Peruvian” for “Kerubo”, and “$2.50”: the naira became dollars |
| Clean, with a glossary prompt | 13.6% (S 1, I 2) | names and place correct; the model wrote “₦15,000 Naira” (the currency twice) and “₦2,950 Kobo” for ₦2.50 |
One sentence on a synthetic voice is not a benchmark. It shows the shape of the failure: the common words survive, and the words that carry the meaning for a Nigerian client (who, where, how much) are the ones that break.
Making transcription better
In order of cost:
- Record it clean. Everything in recording a voice lowers the WER: distance, a quiet room, levels around −12 dBFS on peaks. A recogniser cannot recover a word the microphone did not capture.
- Set the language. Pass
-l yo,-l haor-l enrather than letting the model guess from the first 30 seconds. For Pidgin, use English and expect more errors. For Igbo, there is no right setting; say so to the client. - Give it a glossary. whisper.cpp’s
--promptpasses text the model treats as the conversation so far. A line with the names, places, product names and the way you write amounts (“Names: Hussaini, Kerubo. Places: Ikorodu. Company: Wrenpost. Amounts written ₦15,000.”) is the cheapest large gain in the table above. It also pulls the output towards the prompt’s style, which is how “₦2,950 Kobo” appeared for ₦2.50, so check every amount after. - Use a larger model if the machine allows, and measure it. Larger models are better on average and much better in English, at several times the time and memory, but not in every language: on FLEURS Yoruba,
small(116.4%) andlarge(111.7%) scored worse thanbase(101.8%), and Hausamedium(106.6%) worse thanbase(98.6%). Try the bigger model on your own clips before you pay for it. - Review by a person, every time. Read the transcript against the audio at the places a model fails: names, amounts, every non-English stretch, the first and last seconds of each segment, and every pause longer than two seconds. Mark what you corrected; that log is your next WER test.
Dialogue isolation: what it removes and what it costs
A dialogue isolator estimates, in short frames across many frequency bands, how much of the energy is voice and how much is everything else, and applies a gain to each band. RNNoise, the model inside ffmpeg’s arnndn filter, is a published example: a neural network with four hidden layers estimates gains for critical bands, a pitch filter removes noise between the voice’s harmonics, and it runs in real time at 48 kHz on a low-power processor (Valin, 2017)as of 2026-11. Commercial isolators use larger models and more training data. Here is a maker’s own demonstration:
Treat every isolator’s marketing, that one included, as a claim to test. What isolation does well: it lowers steady background (a generator, air conditioning, traffic hum) between and under words, and makes a noisy clip far easier to listen to. What it costs: the voice can turn watery or metallic; soft consonants (f, s, th) and the ends of words are pulled down with the noise; breaths and room tone disappear, so cuts that relied on them now gape (the editing chapter’s room-tone problem, made by software); and between words the background can pump up and down.
Whether it helps a recogniser is a separate question, and the answer can be no. In the check above, the noisy files were run through RNNoise (arnndn with a speech-in-recording-noise model, sh, at 48 kHz) and transcribed again:
| Condition | Noise in a pause, before → after | WER before → after |
|---|---|---|
| 10 dB SNR | −28.2 → −47.9 dBFS | 54.5% → 54.5% |
| 0 dB SNR | −18.2 → −44.0 dBFS | 54.5% → 63.6% |
The isolator did its job for a listener: the noise in a pause dropped by 20 dB and 26 dB. The recogniser gained nothing at 10 dB and did worse at 0 dB, where the isolator’s artefacts cost more than the noise it removed: Whisper had learned to cope with noise, not with those artefacts. Other material, another isolator or another model can go the other way. The rule is to measure both outcomes, the noise you hear and the WER you get, on your own clips, and to keep the unprocessed file. Isolation is a decision you can undo only if you kept the original.
Consent, privacy and the NDPA
A voice recording of a person who can be identified is personal data. Transcribing it makes a second copy in a form anyone can search. Sending it to a cloud service sends it to another company, often in another country. The Nigeria Data Protection Act 2023 applies at each step, and the questions to ask before you record are the same whether the speaker is a podcast guest, a support caller or a vox-pop.
Nigeria Data Protection Act 2023 (No. 37, commenced 12 June 2023), as published by the Nigeria Data Protection Commission: s.65 defines personal data as information relating to an identifiable individual, and lists “voice recognition” in its definition of biometric data, which is sensitive personal data when processed to uniquely identify a person. s.25(1) makes processing lawful only on a stated basis: consent for the specific purpose, or necessity for a contract, a legal obligation, vital interests, a public task, or legitimate interests that do not override the person’s rights or expectations. s.26 puts the burden of proving consent on the controller, says silence or inactivity is not consent, requires the person to be told they can withdraw it before they give it, and requires it to be affirmative; it may be written, oral or electronic. s.27 requires the person to be told, before collection, who is collecting, the lawful basis and purpose, and who will receive the data. s.29 requires a controller that uses a processor (a transcription vendor) to ensure it meets the Act, with a written agreement. s.41 forbids transfer outside Nigeria unless the recipient offers adequate protection or a s.43 condition applies, and requires the basis for the transfer to be recorded.as of 2026-11What that means in the booth and on the phone line:
- Say it before you record. For a guest: what you are recording, that it will be transcribed, by what (a local model, or a named service abroad), who will see the transcript, how long you keep it, and that they can withdraw. Get a yes you can prove: a signed release or the start of the recording.
- Prefer local transcription for anything sensitive. whisper.cpp on your own machine sends nothing anywhere. A cloud service is a processor under s.29 and probably a transfer under s.41; that needs a contract and a recorded basis, which is a job for whoever signs the agency’s data-protection paperwork, not for the engineer on the session.
- Do not use transcription to identify people. Voice used to recognise who is speaking is biometric data, and that is sensitive personal data (s.30 sets the extra conditions for processing it). Speaker labels from the content (“Host”, “Guest”) are a different thing from a voiceprint.
- Downloaded speech is not yours to identify either. Mozilla’s Common Voice datasets for Yoruba, Hausa, Igbo and Nigerian Pidgin (Scripted Speech 27.0) are listed under CC0-1.0 on the Mozilla Data Collective, as MP3 archives of 167 MB (Yoruba), 261 MB (Hausa), 380 MB (Igbo) and 283 MB (Pidgin); downloading needs a free account and agreement to each dataset’s terms on its page, which forbid attempting to identify the speakers and forbid re-hosting or re-sharing the datasetas of 2026-11. The Igbo and Pidgin pages are linked here; search the Collective for “Common Voice Scripted Speech 27.0 - Hausa”. Read the terms for each language, credit Common Voice, do not re-host or pass on the clips, and never try to find out who a speaker is.
This chapter carries a not-legal-advice notice for a reason: these are the rules as written, read from the Act. How they apply to a particular contract or client is a lawyer’s call.
A transcription workflow you can defend
For Wrenpost’s support calls, or Owoleaf’s podcast, or any job where a transcript leaves the building, the workflow is the same shape:
- Consent and notice at the start of every recording, in the language of the call.
- Record clean and keep the original file untouched.
- Isolate only if it measurably helps, on a copy, with the setting logged.
- Transcribe locally with the language set and a glossary per client.
- Measure WER on a sample per language every time the model, the glossary or the recording set-up changes.
- Review by a person at names, amounts, non-English speech, segment edges and long pauses.
- Label the deliverable: “machine transcript, reviewed by (name), (date)”, and say which languages the model does not support.
The editing chapter uses the same transcripts to cut by text; the errors you measure here are the cuts that will go wrong there. The module project, recording and editing a two-person podcast, ends with a transcript and its WER.
1. Install whisper.cpp, fetch the base model and check it on a known answer.
The Homebrew formula is whisper.cpp (it was whisper-cpp; the old name still works). It installs whisper-cli and a short test clip from a 1961 speech, jfk.wav. The model is not included: download the multilingual base model (142 MiB) and check its SHA-1 against the table in the whisper.cpp models README. Do not take a .en model: those are English-only.
brew install whisper.cpp
mkdir -p ~/whisper-models
curl -L -o ~/whisper-models/ggml-base.bin \
https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin
shasum ~/whisper-models/ggml-base.bin
cd labs/media && mkdir -p out/asr
M=~/whisper-models/ggml-base.bin
whisper-cli -m $M -f "$(brew --prefix whisper.cpp)/share/whisper.cpp/jfk.wav" \
-l en -nt -np -otxt -of out/asr/jfk
printf "And so, my fellow Americans: ask not what your country can do for you, ask what you can do for your country.\n" > out/asr/jfk_ref.txt
python3 wer.py out/asr/jfk_ref.txt out/asr/jfk.txtshasum prints 465707469ff3a37a2b9b8d8f89f2f99de7299dac. whisper-cli prints “And so my fellow Americans, ask not what your country can do for you, ask what you can do for your country.” and wer.py prints WER 0.0% (S 0, D 0, I 0, N 22; tones kept): the punctuation differs, and the normaliser removes it. Tested with whisper.cpp 1.9.5 on an Apple M2 Pro; the transcription itself takes under a second, and the first run is slower while the GPU code compiles. If the WER is not zero here, fix your set-up before you measure anything else.2. Give it something that is not speech.
The lab’s “voice” is a synthetic harmonic series, not a recording of anyone. Nothing in it is a word, so the right transcript is empty.
python3 generate.py
whisper-cli -m $M -f out/audio/reference_voice.wav -l en -nt -np
whisper-cli -m $M -f out/audio/generator_noise.wav -l en -nt -np[Sings "Ari, Ari, Ari, Ari, Ari, Ari, Ari, Ari] for the reference voice: invented lyrics for a buzz. For the generator-noise file (the same buzz under pink noise) it writes [Music]. Another seed gives other words; the point is that it writes words. whisper-cli reads the 48 kHz WAVs directly. Remember this result whenever a transcript has text in a stretch you know was silent.3. Record five clips and type their references.
Record five clips of 20 to 60 seconds, each on its own, with consent from everyone recorded: your own Nigerian English; Pidgin; one of Yoruba, Igbo or Hausa; and two more from other speakers (a man’s and a woman’s voice if you can). Use sentences with names, a street or town, and amounts in naira, for example a refund request or directions to a shop. Type each reference yourself into a text file, with Yoruba tone marks if you write them, amounts written as “₦47,500”, names spelt as their owners spell them. Then convert and transcribe each clip.
ffmpeg -i ~/Desktop/clip1.m4a -ar 16000 -ac 1 -c:a pcm_s16le out/asr/clip1.wav
whisper-cli -m $M -f out/asr/clip1.wav -l en -nt -np -otxt -of out/asr/clip1
python3 wer.py out/asr/clip1_ref.txt out/asr/clip1.txt --showUse -l en for English and Pidgin, -l yo for Yoruba, -l ha for Hausa, and -l auto for Igbo (there is no Igbo code) and note which language it detects. For a Yoruba clip, run wer.py a second time with --no-tones.
Optional: sign in to the Mozilla Data Collective, accept the terms of a Common Voice Scripted Speech dataset (Yoruba, Hausa, Igbo or Nigerian Pidgin, each 167 to 380 MB), and take five clips from it. Each comes with its sentence, which is your reference. Credit Common Voice in anything you publish, keep the clips to yourself (the terms forbid re-hosting or re-sharing the dataset) and do not try to identify the speakers.
--show list per clip. Expect English to be the lowest and to fail mostly on names and amounts; Pidgin higher, with Pidgin words turned into English ones; Yoruba and Hausa near or above the paper’s figures (about 100% for base on FLEURS); Igbo detected as another language. For Yoruba, the gap between the two runs is the share of the error that is tone marks and dots below alone. Every result is yours: another learner’s voice and phone give other numbers, which is why you keep your own clips for later chapters.4. Put a generator under it.
Mix pink noise (the same kind of noise as the lab’s generator_noise.wav, without the synthetic voice) under one English clip at 10 dB and at 0 dB signal-to-noise ratio. The script measures the speech and the noise, then sets the noise gain so the RMS levels differ by the SNR.
rms() { ffmpeg -nostats -i "$1" -af astats=measure_perchannel=none:measure_overall=RMS_level -f null - 2>&1 | awk '/RMS level dB/{print $NF}'; }
ffmpeg -v error -y -f lavfi -i "anoisesrc=color=pink:seed=1:amplitude=0.5:d=600" -ar 16000 -ac 1 -c:a pcm_s16le out/asr/pink.wav
for SNR in 10 0; do
G=$(python3 -c "print(round($(rms out/asr/clip1.wav) - $SNR - $(rms out/asr/pink.wav), 2))")
ffmpeg -v error -y -i out/asr/clip1.wav -i out/asr/pink.wav -filter_complex \
"[1:a]volume=${G}dB[n];[0:a][n]amix=inputs=2:duration=first:normalize=0" \
-c:a pcm_s16le out/asr/clip1_snr$SNR.wav
whisper-cli -m $M -f out/asr/clip1_snr$SNR.wav -l en -nt -np -otxt -of out/asr/clip1_snr$SNR > /dev/null 2>&1
python3 wer.py out/asr/clip1_ref.txt out/asr/clip1_snr$SNR.txt
done--show on the 0 dB result: the names and amounts break first and furthest. The kickoff for this course suggested −10 dB SNR; at that level the noise is 10 dB louder than the voice and most clips become unusable for everyone, so 10 and 0 dB show the slope more usefully. Clips under 10 minutes only: the noise file is 600 seconds.5. Isolate the dialogue and transcribe again.
Download one RNNoise model from the rnnoise-models repository (about 290 KB; its README says the models are not subject to copyright) and run ffmpeg’s arnndn filter on both noisy files. RNNoise works at 48 kHz, so resample up for the filter and back down after.
curl -L -o out/asr/sh.rnnn \
https://raw.githubusercontent.com/GregorR/rnnoise-models/master/somnolent-hogwash-2018-09-01/sh.rnnn
for SNR in 10 0; do
ffmpeg -v error -y -i out/asr/clip1_snr$SNR.wav \
-af "aresample=48000,arnndn=m=out/asr/sh.rnnn,aresample=16000" -c:a pcm_s16le out/asr/clip1_snr${SNR}_iso.wav
whisper-cli -m $M -f out/asr/clip1_snr${SNR}_iso.wav -l en -nt -np -otxt -of out/asr/clip1_snr${SNR}_iso > /dev/null 2>&1
python3 wer.py out/asr/clip1_ref.txt out/asr/clip1_snr${SNR}_iso.txt
doneMeasure the noise in one pause before and after (replace the times with a pause in your clip, from Audacity): ffmpeg -nostats -i out/asr/clip1_snr0.wav -af "atrim=10.45:10.8,astats=measure_perchannel=none:measure_overall=RMS_level" -f null - 2>&1 | grep "RMS level", then the same on the _iso file. Listen to both in Audacity.
6. Give it a glossary.
Transcribe the clean clip again with the names, places and amount style from your reference as a prompt.
whisper-cli -m $M -f out/asr/clip1.wav -l en -nt -np -otxt -of out/asr/clip1_prompt \
--prompt "Names: (the names in your clip). Places: (the places). Amounts written ₦47,500." > /dev/null 2>&1
python3 wer.py out/asr/clip1_ref.txt out/asr/clip1_prompt.txt --show--show: the prompt’s style can leak, as in “₦15,000 Naira” with the currency written twice, or turn an amount into a different one (“₦2,950 Kobo” for ₦2.50). A glossary is the cheapest gain you have; it is also one more reason a person reads every amount.-l en, and then with no flag at all (-l auto). With -l en, Whisper writes English: English-sounding words or a loose translation instead of a transcript, and the WER goes towards or past 100%. With auto, look at the detected language and its probability in the log. The file did not change; one setting turned a poor transcript into a fluent wrong one, which is harder to catch than gibberish.Wrenpost (about 180 staff, 12 in support) wants every support call transcribed so the team can search for complaints and refunds. Calls come from four countries in English, Pidgin, Hausa, Yoruba and Swahili, recorded through the phone system. Your test of 20 calls with Whisper base gives about 25% WER on English, 45% on Pidgin, and over 90% on Hausa and Yoruba, with two invented sentences in long holds. Hussaini, the support lead, wants it live next month. What do you recommend?
- PAPER Robust Speech Recognition via Large-Scale Weak Supervision Radford, Kim, Xu, Brockman, McLeavey and Sutskever, 2022
Whisper's own paper, with the per-language error rates and training hours this chapter quotes. Find Yoruba, Hausa and Swahili in the tables before you trust any marketing. Read: arXiv 2212.04356; §3.7 on noise, §4.4 on text normalisation, §6 on remaining errors, Table 13 and Figure 11 for your languages; skip the training details.
- PAPER Careless Whisper: Speech-to-Text Hallucination Harms Koenecke, Choi, Mei, Schellmann and Sloane, 2024
The measured rate and content of invented text in Whisper transcripts, and why pauses make it worse. Read it before you put a transcript in front of a client. Read: FAccT 2024 (arXiv 2402.08021); the abstract and the analysis of what the hallucinations contain.
- CODE openai/whisper OpenAI
The model sizes, the language list in tokenizer.py (look for Igbo and Pidgin: they are not there) and the README's chart of large-v3 error rates by language.
- CODE whisper.cpp Georgi Gerganov and contributors
The local runtime the lab uses. The models README lists each model's size and SHA-1; whisper-cli --help lists the prompt, language and output options.
- PAPER A Hybrid DSP/Deep Learning Approach to Real-Time Full-Band Speech Enhancement Jean-Marc Valin, 2017
How RNNoise, the isolator in ffmpeg's arnndn filter, decides what is voice. Short and readable; it shows why isolation works band by band and where artefacts come from. Read: arXiv 1709.08243; the overview and the band-gain sections.
- PAPER Common Voice: A Massively-Multilingual Speech Corpus Ardila et al., 2020
How the volunteer speech datasets for Yoruba, Hausa, Igbo and Pidgin are collected and checked, which tells you what read sentences can and cannot test. Read: LREC 2020 (arXiv 1912.06670); the collection and validation sections.
- DOC Nigeria Data Protection Act 2023 National Assembly; published by the Nigeria Data Protection Commission, 2023
The primary text: sections 25 to 27 on lawful basis, consent and notice, 29 on processors, 41 on transfers abroad, and 65 for the definitions of personal and biometric data. Read the sections, not a summary.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.