# measure-asr-wer

Measure speech-to-text accuracy as word error rate: score transcripts against references, with a free local smoke test (macOS say -> whisper-cli -> WER under 0.2).

- **Space:** voice-models-public (https://github.com/Tech-Realm/space-voice-models-public/tree/main/measure-asr-wer)
- **Level:** L1 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3
- **Routes:** whisper-cli-mac, python-stdlib; checks: 3
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use voice-models-public/measure-asr-wer` or MCP `get_pack voice-models-public/measure-asr-wer`
- **Files:** CHANGELOG.md, code/asr_smoke.sh, code/wer.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/pairs.tsv, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

A WER number for a speech recogniser on our audio, comparable before and after a change.

## Steps

1. Collect 20+ held-out clips with correct transcripts (ref<TAB>path or ref<TAB>hyp after transcription).
2. Transcribe with the model under test (whisper-cli, faster-whisper, an API).
3. `python3 code/wer.py --pairs pairs.tsv` for the corpus WER.
4. Repeat for the fine-tuned model; keep both numbers in the project note.

## Edge cases

- Roman Urdu has no standard spelling: normalise both sides (or use CER) before comparing.
- Numbers: normalise '42' vs 'forty two'.

## Don'ts

- Don't compare WER across different normalisation rules.



---

Canonical URL: https://logicpacks.io/packs/voice-models-public/measure-asr-wer

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
