MIDYA RAHMANICTC alignment / FINITE ALIGNMENT ATLASSOURCE + CLI ↗

01 / SUM THE PATHS, NOT THE LABELS

One transcript.
Many alignments.

A frame can repeat a label, emit a blank, or move the transcript forward. CTC adds every compatible path. Follow the sum all the way to its gradient.

Dependency-free Python. Independent scalar JavaScript. Exhaustive finite-path witnesses.

02 / RECOMPUTE THE WHOLE RECORD

Change the frames.
Keep every witness.

Blank is a symbol index. Target indices may repeat but cannot be blank. At most six frames, four symbols and 1,024 complete paths.

Loading retained controls.

06 / THE CONTRACT, NOT A QUALITY CLAIM

Alignment is latent.
The limits are explicit.

This is an implementation of established Connectionist Temporal Classification, not a new algorithm. Blank-separated repeats survive collapse. Adjacent repeated target labels need an extra frame. Empty input has probability one only for the empty target. Impossible targets keep loss and gradients undefined rather than silently zeroing them.

Finite logits are bounded by 10⁶ in magnitude. Log-space recursions keep likelihood usable when ordinary probabilities underflow. Near-tie rank buckets and near-boundary floating-point comparisons remain numerical conventions, not exact real arithmetic. The inspector does not train a recognizer or establish speech, OCR, language quality, speed or production-scale results. Native JSON rejects duplicate keys; browser JSON.parse computes the parsed record without duplicate-key detection. Use synthetic data only.

Equations, validation, limits and reproduction

Prior work and sources

Implementation, independent checks and synthetic controls by Midya Rahmani. No external implementation code, model weights, audio or dataset copied. Prefix beam decoding is not implemented; all bounded transcript masses are exact finite path sums up to floating-point error.