Spoken Line Tracker
class SpokenLineTracker(lines: List<String>, val quirks: RecognizerQuirks, val elisions: Elisions, val tokenizer: WordTokenizer)(source)
Checks a complete spoken attempt against one or more printed lines.
The whole transcript is aligned at once so one misrecognized word does not shift every word that follows it.
quirks, elisions and tokenizer have no default: each comes from the recogniser's or the work's data, and RecognizerQuirks.none is passed by name.
Constructors
Link copied to clipboard
constructor(lines: List<String>, quirks: RecognizerQuirks, elisions: Elisions, tokenizer: WordTokenizer)
Types
Properties
Link copied to clipboard
The number of expected words in each printed line.
Link copied to clipboard
Model-specific transcription allowances applied while checking.
Link copied to clipboard
Splits both the printed lines and every transcript checked against them.
Link copied to clipboard
States shown before an attempt: the first word expected and later words ahead.