Transcript-correction TUI driver: keyboard-first terminal review surface (cursor-windowed segment walk, VAD-chunk audio auto-play, fidelity + boundary-shift corrections, agents-propose/humans-confirm triage) over cjm-transcript-correction-core's operation vocabulary. The first born-on-graph library of the self-hosting graph arc.
Project description
cjm-transcript-correction-tui
The minimal presentation driver for cjm-transcript-correction-core: a document-order segment walk over the shared transcript graph with chunk audio playback, held-key boundary-shift gestures, inline text correction, and review markers — the human pass-1/pass-2 correction loop's UI. Kept a separate library from the headless core per the non-minimal-drivers-separate-libs rule; every correction write appends through to the workflow's sidecar journal.
Modules
cjm_transcript_correction_tui.__init__— Keyboard-first TUI driver for the transcript-correction workflow — a presentationcjm_transcript_correction_tui.appcjm_transcript_correction_tui.clicjm_transcript_correction_tui.spine
API
cjm_transcript_correction_tui.app
CorrectionAppclass — The correction loop, v0 thinnest slice: document-order segment walk withload_tui_statefunction — Read the per-graph TUI sidecar state (last-focused positions).save_tui_statefunction — Merge one source's last-focused position into the sidecar state file.
cjm_transcript_correction_tui.cli
build_parserfunction — The TUI driver's argument surface (mirrors correction-core's run/review args).mainfunction — Parse args, run the correction loop (the app owns the event loop + teardown).
cjm_transcript_correction_tui.spine
ChunkRefclass — Where one Segment's VAD-chunk audio lives: the model-input WAV + the chunk-local span.SpineViewclass — One Source's effective correction spine, cursor-windowed for the TUI.list_sourcesfunction — Enumerate the graph's Source nodes (the discovery corpus, 2ce81638).match_sourcesfunction — The --source selector (pure; shared by direct open and the picker's seed).open_stackfunction — Bootstrap the graph capability stack, resolving the db path (2ce81638).parse_mark_inputfunction — Parse the M-editor mark grammar (pure; the DEC 2a231843 TUI gesture).plan_boundary_shiftfunction — Plan a ONE-WORD boundary shift (the [ / ] gesture unit).resolve_mark_class_tokenfunction — Resolve a leading digit token to its menu class (the M picker; pure).source_statusfunction — Correction-status-at-a-glance for one Source (the picker's detail row).
Dependencies
Depends on: cjm-context-graph-layer, cjm-substrate-tui-kit, cjm-transcript-correction-core, numpy, sounddevice, soundfile, textual
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cjm_transcript_correction_tui-0.0.2.tar.gz.
File metadata
- Download URL: cjm_transcript_correction_tui-0.0.2.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
696d79210a619ba7435d4ae9543d0a786344422632185fda1346004ee6eb75ea
|
|
| MD5 |
32c17ea3842bc66f8c584009cd9cb166
|
|
| BLAKE2b-256 |
ac9beb076e5388cbe3d87b34d08bb22a6b7fcd3560214ead45e00fcaec3dcaa5
|
File details
Details for the file cjm_transcript_correction_tui-0.0.2-py3-none-any.whl.
File metadata
- Download URL: cjm_transcript_correction_tui-0.0.2-py3-none-any.whl
- Upload date:
- Size: 27.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91b8c67d8d70ea3f7e92a57f3247d146edc734a860bf05579ac41f8621231e0d
|
|
| MD5 |
4e68919e9f9ef8f243ba2f8d480b652e
|
|
| BLAKE2b-256 |
fbcbc6edb4af901bab31cd11389946aa3a696587c4d3c20e72a5982cb4ec7ee1
|