Skip to content

Commit 60195e0

Browse files
crispasr integrationclaude
andcommitted
docs: update README and PLAN for Phase 9 features
README: - Add --backend shortcut to command structure example - Add --check, --backend, --lexicon, --batch to CLI reference tables - Document new synthesis options PLAN.md: - Mark all Phase 9 items complete with commit ref Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3fbaf83 commit 60195e0

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

PLAN.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,3 +443,17 @@ Pass custom word→phoneme mappings to CrispASR backends via
443443
`--lexicon file.tsv` for domain-specific terms (medical, legal, brand names).
444444

445445
**Files**: `main.py` (argparse), `handlers/crispasr_handler.py` (pass-through)
446+
447+
### Status: ALL PHASE 9 ITEMS COMPLETE
448+
449+
| Task | Commit |
450+
|------|--------|
451+
| 9.1 Fix import hang | `3fbaf83` |
452+
| 9.2 --backend shortcut | `3fbaf83` |
453+
| 9.3 Threaded server | `3fbaf83` |
454+
| 9.4 Batch synthesis | `3fbaf83` |
455+
| 9.5 Model probe | `3fbaf83` |
456+
| 9.6 Config validation | `3fbaf83` |
457+
| 9.7 Lexicon support | `3fbaf83` |
458+
459+
224 tests passing (1 test updated for lazy-load semantics).

readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ All interactions are done through `main.py` from your project's root directory.
219219
220220
```bash
221221
python main.py [ACTION_FLAG | --model-id <MODEL_ID> [OPTIONS]]
222+
# or using the --backend shortcut for CrispASR engines:
223+
python main.py --backend kokoro --input-text "Hello" --output-file out.wav
222224
```
223225
224226
### CLI Reference
@@ -234,12 +236,14 @@ python main.py [ACTION_FLAG | --model-id <MODEL_ID> [OPTIONS]]
234236
| `--skip-models M1 M2 ...` | Skip specific model IDs during `--test-all` / `--test-all-speakers` |
235237
| `--detect-watermark FILE` | Detect AI-generated watermark in a WAV file and report confidence |
236238
| `--server` | Run as HTTP server with OpenAI-compatible endpoints |
239+
| `--check` | With `--list-models`: probe CrispASR backends for availability |
237240
238241
#### Synthesis Options
239242
240243
| Flag | Default | Description |
241244
|------|---------|-------------|
242245
| `--model-id MODEL_ID` | — | TTS model to use (see `--list-models` for choices) |
246+
| `--backend NAME` | — | Shortcut for CrispASR backends (e.g., `kokoro`, `piper`, `dots-tts`) |
243247
| `--input-text TEXT` | — | Text to synthesize (mutually exclusive with `--input-file`) |
244248
| `--input-file PATH` | — | Input file: `.txt`, `.md`, `.html`, `.pdf`, `.epub` |
245249
| `--output-file PATH` | — | Save audio to file (format detected from extension: `.wav`, `.mp3`, `.flac`, `.opus`) |
@@ -257,6 +261,8 @@ python main.py [ACTION_FLAG | --model-id <MODEL_ID> [OPTIONS]]
257261
| `--stream` | off | Stream audio playback during synthesis (CrispASR backends only) |
258262
| `--ref-text TEXT` | — | Transcript of reference voice audio for inline voice cloning (TADA, dots-tts) |
259263
| `--no-spoken-disclaimer` | off | Skip the AI-disclosure spoken prefix on voice-cloned audio |
264+
| `--lexicon TSV_PATH` | — | Custom word→phoneme TSV file for CrispASR pronunciation |
265+
| `--batch` | off | Split input at blank lines, produce numbered output files |
260266
261267
#### CrispASR Integration
262268

0 commit comments

Comments
 (0)