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

Metadata

Release files for cjm-transcript-correction-tui 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cjm-transcript-correction-tui 0.0.4
File Size Uploaded Provenance
cjm_transcript_correction_tui-0.0.4.tar.gz 84.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cjm-transcript-correction-tui 0.0.4
File Interpreter ABI Platform
cjm_transcript_correction_tui-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 156.8 kB

Release files / cjm_transcript_correction_tui-0.0.4.tar.gz

Download URL cjm_transcript_correction_tui-0.0.4.tar.gz
Size 84.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a25e4018fb1abaef0a8a936dbe0682d0389af2d1cf7935a6acc21d05e5cb21a4
BLAKE2b-256 checksum
How to use checksums
3713a1f359b03b759d2d4a7675bb7b3a6f32d643fdf6962adc0f882356a22b09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / cjm_transcript_correction_tui-0.0.4-py3-none-any.whl

Download URL cjm_transcript_correction_tui-0.0.4-py3-none-any.whl
Size 72.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e230862510943927c4e114af43bfeb812034b2add55788eda15456a7ebee108
BLAKE2b-256 checksum
How to use checksums
17578306aa443c262ac65720f2a697a300408bde142df9413f5058e023191d69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for cjm-transcript-correction-tui 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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