From fda614d0d1c1712020e6578071c9ffe29a3be524 Mon Sep 17 00:00:00 2001 From: Bhaswati Saha Date: Mon, 18 Mar 2024 16:13:05 +0530 Subject: [PATCH] beam search value as parameter in offline_recognizer.py (#673) Co-authored-by: bhascns --- sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sherpa-onnx/python/sherpa_onnx/offline_recognizer.py b/sherpa-onnx/python/sherpa_onnx/offline_recognizer.py index 3ac80f8a..c4b78e97 100644 --- a/sherpa-onnx/python/sherpa_onnx/offline_recognizer.py +++ b/sherpa-onnx/python/sherpa_onnx/offline_recognizer.py @@ -124,6 +124,7 @@ class OfflineRecognizer(object): feat_config=feat_config, model_config=model_config, decoding_method=decoding_method, + max_active_paths=max_active_paths, hotwords_file=hotwords_file, hotwords_score=hotwords_score, blank_penalty=blank_penalty,