Add streaming CTC ASR APIs for node-addon-api (#867)
This commit is contained in:
@@ -216,6 +216,8 @@ class OnlineRecognizerCtcImpl : public OnlineRecognizerImpl {
|
||||
// clear states
|
||||
s->SetStates(model_->GetInitStates());
|
||||
|
||||
s->GetFasterDecoderProcessedFrames() = 0;
|
||||
|
||||
// Note: We only update counters. The underlying audio samples
|
||||
// are not discarded.
|
||||
s->Reset();
|
||||
|
||||
Reference in New Issue
Block a user