Skip to main content

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
  • cjm_transcript_correction_tui.state — Sidecar view-state + spine-picker helpers — the correction TUI's pure

API

cjm_transcript_correction_tui.app

  • CorrectionApp class — The correction loop, v0 thinnest slice: document-order segment walk with

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, resolve the shared launch surface, run the correction loop
  • resolve_settings function — Resolve the launch settings every shell shares (5daadfc4 workspace

cjm_transcript_correction_tui.spine

  • ChunkRef class — Where one Segment's VAD-chunk audio lives: the model-input WAV + the chunk-local span.
  • SeamRef class — A source-coordinate audio span across one fine-spine boundary (the g/G
  • 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).
  • load_source_slice function — Decode a source-coordinate slice of the ORIGINAL media to playable samples.
  • match_sources function — The --source selector (pure; shared by direct open and the picker's seed).
  • neighbor_word_bound function — The adjacent word's FA boundary facing an overlay span (pure).
  • open_stack function — Bootstrap the graph capability stack, resolving the db path (2ce81638).
  • parse_entity_input function — Parse the new-speaker editor line (pure). A leading ? marks the entity
  • 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).
  • plan_chunk_insert function — Plan a chunk insertion into the seam after the cursor (the i gesture unit; pure).
  • plan_chunk_split function — Plan a chunk split at a caret position (the S gesture unit; pure).
  • plan_gate function — Plan an extraction-gate assertion (the F gesture unit; pure — DEC 8e05b87b).
  • plan_time_nudge function — Plan a boundary-time nudge (the ,/. and </> gesture unit; pure).
  • resolve_mark_class_token function — Resolve a leading digit token to its menu class (the M picker; pure).
  • segment_word_tokens function — Tokenize a segment's text into words WITH character offsets (pure).
  • snap_word_span function — Derive a word range's TIME span from FA word timestamps (pure; fc42614d).
  • source_status function — Correction-status-at-a-glance for one Source (the picker's detail row).

cjm_transcript_correction_tui.state

  • load_tui_state function — Read the per-graph TUI sidecar state (last-focused positions).
  • save_tui_state function — Merge one source's view state into the sidecar state file.
  • selector_for_spine function — The selector value a picker choice persists (pure): the full skeleton
  • spine_label function — One picker row's config summary for a skeleton spine (pure).

Dependencies

Depends on: cjm-capability-primitives, cjm-context-graph-layer, cjm-substrate-tui-kit, cjm-transcript-correction-core, numpy, sounddevice, soundfile, textual

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.4.tar.gz (84.1 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.4-py3-none-any.whl (72.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for cjm_transcript_correction_tui-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a25e4018fb1abaef0a8a936dbe0682d0389af2d1cf7935a6acc21d05e5cb21a4
MD5 fa1453048d514e65dbb456a165b56b5b
BLAKE2b-256 3713a1f359b03b759d2d4a7675bb7b3a6f32d643fdf6962adc0f882356a22b09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cjm_transcript_correction_tui-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0e230862510943927c4e114af43bfeb812034b2add55788eda15456a7ebee108
MD5 d1e0876437915d30cd183f55ee90de92
BLAKE2b-256 17578306aa443c262ac65720f2a697a300408bde142df9413f5058e023191d69

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page