reset method
Clears hypotheses without losing the input clock on an internal silence reset. Public reset/setKeywords starts a new timeline.
Implementation
void reset({bool preserveTimeline = false}) {
final hypothesis = KwsHypothesis(
tokens: <int>[-1, blankId],
logProbability: 0,
contextState: _graph.root,
);
_hypotheses = <String, KwsHypothesis>{hypothesis.key: hypothesis};
if (!preserveTimeline) _frameOffset = 0;
}