ASR Bias Builder
Build ASR bias artifacts from presentation decks for Whisper and Google Speech-to-Text
ASR Bias Builder extracts high-value entities from PDF/PPTX decks and produces:
deck_terms.txt– Whisperinitial_prompthotwordsphrase_set.json– Google Speech-to-Text v2 Speech Adaptation PhraseSet- Structured LLM candidates + verification telemetry for auditability
Quick Start
pip install -e .
asr-bias-builder pipeline deck.pdf
Artifacts land in ./asr-bias-output/<deck-name>/ by default (deck text, seeds, verified terms, prompt list, phrase set, review markdown) and the cross-run summary lives at ./asr-bias-summary.csv. Override the locations any time via --output-dir / --summary-csv.
Features
- Deterministic PDF/PPTX extraction with OCR normalization
- Seed mining with configurable filters, section weighting, and per-deck overrides
- LLM integration via Claude Code CLI (stdin, streaming JSON, read tool)
- Verification layer merges deterministic + LLM terms with alias tracking
- Artifact builders for Whisper prompts and Google Speech Adaptation PhraseSets
- Review markdown + CSV summaries for production runs
- Docker, CI/CD, docs, tests, and examples ready for GitHub publishing
Repository Layout
asr-bias-builder/
├── asr_bias_builder/ # Python package
├── config/ # Default + example configs
├── docs/ # User + architecture docs
├── examples/ # Synthetic sample decks & configs
├── scripts/ # Shell helpers (make_bias.sh, claudecode, etc.)
├── tests/ # Pytest suite and fixtures
├── docker/ # Dockerfiles & compose for dev/prod
└── .github/ # Workflows, templates, Dependabot
See the docs for detailed installation, configuration, and architecture notes.
Metadata
Release files for asr-bias-builder 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asr_bias_builder-0.1.1.tar.gz | 31.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asr_bias_builder-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 78.0 kB
Release files / asr_bias_builder-0.1.1.tar.gz
| Download URL | asr_bias_builder-0.1.1.tar.gz |
|---|---|
| Size | 31.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
919a96f230dd6168c36fcc82e33fd64b94377d1c7d79e841f962933f336104da
|
|
BLAKE2b-256 checksum How to use checksums |
c48c0289e7f6d24aaf976d586463f98b15e32c94d7f0aaae9956648243f3b779
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2025.
Transparency logRelease files / asr_bias_builder-0.1.1-py3-none-any.whl
| Download URL | asr_bias_builder-0.1.1-py3-none-any.whl |
|---|---|
| Size | 46.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1bf0ee3c016019a97a3c132586398a6fd1e47879cac3e8e12ba63939e31ee446
|
|
BLAKE2b-256 checksum How to use checksums |
0c36c899c12aeae1b724fb3d90d1043dc3365c613c8b67c583fd04b5532d0322
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 17, 2025.
Transparency log