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

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 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).

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.
  • 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).
  • 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_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).
  • 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

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.3.tar.gz (57.0 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.3-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for cjm_transcript_correction_tui-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9a66a3512eb65afa344590292f787c24577199713f9e799a3b5a60b16c726b57
MD5 643861aa5c6452944fbbfec1af82542c
BLAKE2b-256 46bfaeb26f1bf4826332ca473d7603ee30341fe94d5a767f10593c973cabeebb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cjm_transcript_correction_tui-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4139832f90e6e88623477ba7521f33e67c71baa4607e889aa3143898f9a6f3dc
MD5 22f878ed758890f7e21b0ff788f2b553
BLAKE2b-256 3e8b30202f4dfd9de5dfc81d1b6557c0bea4bd8030f0e62e4de81d29ab4795a7

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.4

2 files

This release

0.0.3 This release

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