Skip to main content

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 presentation
  • cjm_transcript_correction_tui.app
  • cjm_transcript_correction_tui.cli
  • cjm_transcript_correction_tui.spine

API

cjm_transcript_correction_tui.app

  • CorrectionApp class — The correction loop, v0 thinnest slice: document-order segment walk with
  • load_tui_state function — Read the per-graph TUI sidecar state (last-focused positions).
  • save_tui_state function — Merge one source's last-focused position into the sidecar state file.

cjm_transcript_correction_tui.cli

  • build_parser function — The TUI driver's argument surface (mirrors correction-core's run/review args).
  • main function — Parse args, run the correction loop (the app owns the event loop + teardown).

cjm_transcript_correction_tui.spine

  • ChunkRef class — Where one Segment's VAD-chunk audio lives: the model-input WAV + the chunk-local span.
  • SpineView class — One Source's effective correction spine, cursor-windowed for the TUI.
  • list_sources function — Enumerate the graph's Source nodes (the discovery corpus, 2ce81638).
  • match_sources function — The --source selector (pure; shared by direct open and the picker's seed).
  • open_stack function — Bootstrap the graph capability stack, resolving the db path (2ce81638).
  • parse_mark_input function — Parse the M-editor mark grammar (pure; the DEC 2a231843 TUI gesture).
  • plan_boundary_shift function — Plan a ONE-WORD boundary shift (the [ / ] gesture unit).
  • resolve_mark_class_token function — Resolve a leading digit token to its menu class (the M picker; pure).
  • source_status function — 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cjm_transcript_correction_tui-0.0.2.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cjm_transcript_correction_tui-0.0.2-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file cjm_transcript_correction_tui-0.0.2.tar.gz.

File metadata

File hashes

Hashes for cjm_transcript_correction_tui-0.0.2.tar.gz
Algorithm Hash digest
SHA256 696d79210a619ba7435d4ae9543d0a786344422632185fda1346004ee6eb75ea
MD5 32c17ea3842bc66f8c584009cd9cb166
BLAKE2b-256 ac9beb076e5388cbe3d87b34d08bb22a6b7fcd3560214ead45e00fcaec3dcaa5

See more details on using hashes here.

File details

Details for the file cjm_transcript_correction_tui-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cjm_transcript_correction_tui-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 91b8c67d8d70ea3f7e92a57f3247d146edc734a860bf05579ac41f8621231e0d
MD5 4e68919e9f9ef8f243ba2f8d480b652e
BLAKE2b-256 fbcbc6edb4af901bab31cd11389946aa3a696587c4d3c20e72a5982cb4ec7ee1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page