Full alignment trace, left-to-right over the input sequences.
Number of matched token pairs.
Number of substitutions in the alignment.
Number of insertions (extra recognized tokens).
Number of deletions (skipped reference tokens).
Length of the post-normalization reference token vector.
Length of the post-normalization recognized token vector.
(substitutions + insertions + deletions) / refLength, or 0 when refLength == 0.
Sorted reference indices that matched their corresponding recognized token. Substitutions and deletions are not counted — only exact matches.
Sorted reference indices that did not match but lie at or below furthestMatchedIndex. Reference tokens past the furthest-matched index are treated as "not yet reached" and excluded.
Highest matched reference index, or -1 if no reference token matched.
Reference indices flagged as repetitions in the recognized text. Populated only when AlignmentConfig.detectRepetitions was true on the call that produced this result.
Result of aligning a recognized token sequence against a reference.
Exposes both an edit-script trace (suitable for word-error-rate reporting) and derived oral-reading views (matched / skipped / furthest-reached). Indices use
-1as the "no value" sentinel.