AlignedToken

data class AlignedToken(val reference: String?, val heard: String?, val confidence: Float?, val status: AlignedTokenStatus)

One position in a TranscriptAlignment: an expected word, a heard word, or both.

Constructors

Link copied to clipboard
constructor(reference: String?, heard: String?, confidence: Float?, status: AlignedTokenStatus)

Properties

Link copied to clipboard

The recognizer's confidence in heard, when it reported one.

Link copied to clipboard

The heard word as the recognizer wrote it; null for an AlignedTokenStatus.Omission.

Link copied to clipboard

The expected word as written in the reference text; null for an AlignedTokenStatus.Insertion.

Link copied to clipboard

How the expected and heard words compare.