docs(whisper-transcribe): add multi-language limitations reference (#14) #18
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/whisper-transcribe!18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/multilang-limitations"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds
docs/multilang-limitations.mdand a README link covering the four sections issue #14 asks for:src/whisper_transcribe/cli.py:175,_load_align_model->whisperx.load_align_model(language_code=...)); the file-split workaround withffmpeg+ twotranscribecalls pinned per-chunk.--language-hintsbehaviour — bias-not-force semantics, theMIN_HINT_CONFIDENCE = 0.50floor inlanguage_hints.py:35, the heavy-accent reverse-commit failure mode (e.g. Indian English scored ashicausing a wrong-language commit), and the--lang auto/--lang enfallbacks.language,language_hints,forced_language,initial_prompt_usedadditive fields), and the explicit deferral of per-segmentlanguageto per-window detection.tests/fixtures/multilang/, with one-line expected behaviour per row. Two rows cite the canonical smoke-test transcripts; four rows are explicitly marked "Not verified in CI" because the quality check requires a labelled reference transcript + GPU (seereferences/multi-language.md§Validation recipe).Companion docs
references/multi-language.md— user-facing how-to (Quick start,--language-hintsalgorithm, mitigations). Already shipped.tests/fixtures/multilang/SOURCES.md— fixture sources and licences. Shipped by parent kanban task t_7e982a14 (commita189437).Acceptance
docs/multilang-limitations.mdcreated at the requested path.tests/...fixture orreferences/...doc).README.md(alongside the existingreferences/youtube-extraction-quirks.mdlink).tests/fixtures/multilang/.#14.Verification
python -m pytest tests/ --ignore=tests/test_benchmark_gpu_sizing.py→ 115 passed, 16 skipped (network-conditional; same baseline as before this change).ruff check src tests→ 4 pre-existing findings (audio_stream.pyUP007/UP037,cli.py:27F401 unused import,cli.py:484RUF100 unused noqa). None of these files are touched by this PR.README.md,references/multi-language.md,tests/fixtures/multilang/...,src/...,.kilo/plans/...).Tracking
t_f2f1820e(this work),t_7e982a14(parent — fixture ship).Adds docs/multilang-limitations.md (Mark/whisper-transcribe#14) and a README link from the existing YouTube quirks paragraph. The new doc covers the four sections the issue body asks for, with every claim traceable to a source on disk: 1. Mid-file language switch — single-alignment-model-per-file limitation sourced to src/whisper_transcribe/cli.py:175 (_load_align_model -> whisperx.load_align_model(language_code=...) with no per-window alternative), plus the file-split workaround. 2. --language-hints behaviour — bias-not-force semantics sourced to src/whisper_transcribe/language_hints.py:35 (MIN_HINT_CONFIDENCE = 0.50) and the cli.py:377-410 selection path; the heavy-accent reverse-commit failure mode and the --lang en fallback. 3. Batch processing — per-file independence + canonical JSON schema (language_hints / forced_language / initial_prompt_used additive fields) sourced to README §Output formats and cli.py:449-462. 4. Known-good and known-bad cases — table of the six scenarios from issue #14 (pure ES, pure EN, ES+EN mix, EN with jargon, Indian English, Australian English), each mapped to a shipped fixture under tests/fixtures/multilang/, with one-line expected behaviour. Two rows (pure EN) cite the canonical smoke-test transcripts in /tmp/whisperx-smoke/ lifted in the README; four rows are explicitly marked "Not verified in CI" because the quality check requires a labelled reference transcript + GPU (see references/multi-language.md §Validation recipe). Companion: * references/multi-language.md — user-facing how-to (Quick start, --language-hints algorithm, mitigations). Already shipped in commitb839f39. * tests/fixtures/multilang/SOURCES.md — fixture sources and licences. Shipped in commita189437by the parent task (t_7e982a14 on the fixit kanban). No code changes. tests/test_language_hints.py (21) and tests/test_multilang_fixtures.py (21) remain green; full suite 115 passed, 16 skipped (network-conditional). Pre-existing ruff findings in audio_stream.py and cli.py:27,484 are untouched. Tracking: kanban t_f2f1820e, parent t_7e982a14, issue #14. Refs: forgejo.tail018ac4.ts.net/Mark/whisper-transcribe/issues/14Launcher-side notice: a kilo-gsd-runner card (t_ebf24bd5) was dispatched to work this issue, but the substrate cannot fly — the work is already complete on
main. Concretely: commit9a35b8c docs(whisper-transcribe): add multi-language limitations referenceis reachable frommain,docs/multilang-limitations.mdexists at the requested path,README.mdalready links to it alongsidereferences/youtube-extraction-quirks.md, and PR #18 itself is open withadditions=0, deletions=0, changed_files=0andmerge_base == head.sha(418c100). No live kilo-gsd tmux session, no.gsd/in-progress/18.pid, no forgejoin-progresslabel, no salvage state for this issue. The kanban card is blocked withkind=capabilityso the dispatcher routes this to a human / the janitor instead of launching a no-op kilo-gsd run. The PR object should be closed (no diff to merge).Closed: docs/multilang-limitations.md is already on main (commit
9a35b8cb). Branch and PR are no-op.Pull request closed