Fangjun Kuang
Committed by GitHub

Fix typos/bugs (#351)

... ... @@ -128,7 +128,7 @@ def create_recognizer(args):
rule3_min_utterance_length=300, # it essentially disables this rule
decoding_method=args.decoding_method,
provider=args.provider,
hotwords_file=agrs.hotwords_file,
hotwords_file=args.hotwords_file,
hotwords_score=args.hotwords_score,
)
return recognizer
... ...
... ... @@ -95,6 +95,7 @@ struct OnlineRecognizerConfig {
const std::string &hotwords_file, float hotwords_score)
: feat_config(feat_config),
model_config(model_config),
lm_config(lm_config),
endpoint_config(endpoint_config),
enable_endpoint(enable_endpoint),
decoding_method(decoding_method),
... ...