tts-voice-creator-clone-and.../scripts
mARTin-B78 e7cb92c572 feat(audiobook): span-mode casting - deterministic quote spans, LLM only names speakers
Split the book into narration/dialogue spans from its own quotation marks and ask
the LLM only who speaks each dialogue span (POST /api/attribute-spans), so text can
no longer be fused, dropped or duplicated and a novel takes ~10 min instead of ~4 h.
Book 1 vs the hand-corrected reference: every-word-right 87.0% -> 92.3%, type
agreement 93.6% -> 97.4%; Books 2/3 (not tuned on) 90.8% / 89.9%.

- static/js/audiobook-spans.js (pure, unit-tested) + audiobook-cast-spans.js
- core/attribution_spans.py, route, tests; scripts/score_attribution.py
- default on; localStorage ab-span-mode=0 restores the classic engine
- architecture/audiobook-attribution.md, Manual, CHANGELOG 1.32.0, TODO

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 08:30:26 +02:00
..
hooks Add release automation: version bump script and pre-commit changelog hook 2026-05-29 14:14:41 +02:00
backup_characters.py Release v1.22.2 2026-09-03 16:12:02 +02:00
check-frontend.mjs perf: lazy-load section feature modules 2026-09-04 10:23:20 +02:00
compare_casts.py Add cast comparison tool for validating automated casting against a manual one 2026-08-12 11:09:38 +02:00
compare_characters.py Release v1.22.2 2026-09-03 16:12:02 +02:00
export_all_audiobooks.py chore: release 1.21.0 - Consistent ComfyUI Character Renders and Audiobook Export 2026-08-23 09:12:57 +02:00
generate_character_image_samples.py chore: release 1.21.0 - Consistent ComfyUI Character Renders and Audiobook Export 2026-08-23 09:12:57 +02:00
install-hooks.sh Add release automation: version bump script and pre-commit changelog hook 2026-05-29 14:14:41 +02:00
minify.mjs perf: lazy-load section feature modules 2026-09-04 10:23:20 +02:00
release.py Add release automation: version bump script and pre-commit changelog hook 2026-05-29 14:14:41 +02:00
render_trial_chapters.mjs chore: release 1.21.0 - Consistent ComfyUI Character Renders and Audiobook Export 2026-08-23 09:12:57 +02:00
run_book01_test.sh Add one-command runner for the book01 manual-vs-automated cast comparison 2026-08-12 11:15:35 +02:00
run_voice_quality_pass.mjs chore: release 1.21.0 - Consistent ComfyUI Character Renders and Audiobook Export 2026-08-23 09:12:57 +02:00
score_attribution.py feat(audiobook): span-mode casting - deterministic quote spans, LLM only names speakers 2026-09-19 08:30:26 +02:00