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.audio
  • 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.audio

  • ChunkPlayer class — Persistent-output-stream VAD-chunk player — the focus-walk auto-play engine.
  • load_chunk function — Read one VAD chunk's samples from the model-input WAV — frame-sliced, sample-accurate.
  • stretch function — Pitch-preserving time-stretch (WSOLA, numpy-only) — the playback-speed engine.

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.
  • plan_boundary_shift function — Plan a ONE-WORD boundary shift (the [ / ] gesture unit).

Dependencies

Depends on: cjm-context-graph-layer, 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.1.tar.gz (25.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.1-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for cjm_transcript_correction_tui-0.0.1.tar.gz
Algorithm Hash digest
SHA256 09cf2c7815a99cb4c3ba33c7916e90acdb725b93630c62017940adca8cc07ca4
MD5 820e9ec4459b678243c24b15e27017ff
BLAKE2b-256 d97e28cf148ff94cfec736f8cee140fe5b4146e7e2bb5dfca774fefc6f64d93d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cjm_transcript_correction_tui-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 db7b27a23f1e76790c351733721d36a7a284a7a736b1666d3f7ede187997b627
MD5 ab78ef8e958334c83f32ef9af7756626
BLAKE2b-256 fd3a50b31d2598d57e24f762d96976a2b2f1c32906cb63daf0c38433d9bc0280

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