ReadonlytraceThe alignment trace showing each operation.
ReadonlymatchesNumber of matching tokens.
ReadonlysubstitutionsNumber of substitutions.
ReadonlyinsertionsNumber of insertions (tokens in recognized but not in reference).
ReadonlydeletionsNumber of deletions (tokens in reference but not in recognized).
ReadonlyrefLength of the reference text in tokens.
ReadonlyrecLength of the recognized text in tokens.
ReadonlywordWord error rate (WER).
ReadonlymatchedBoolean mask indicating which reference tokens were matched.
ReadonlymatchedIndices of reference tokens that were matched.
ReadonlyskippedIndices of reference tokens that were skipped (deleted).
ReadonlyfurthestIndex of the furthest matched reference token (useful for tracking reading progress).
ReadonlyrepetitionIndices of reference tokens detected as repetitions.
Immutable snapshot of an alignment result.
This class copies all data from the native AlignmentResult and then deletes the native object, ensuring proper memory management.