Fangjun Kuang
Committed by GitHub

Fix typos/bugs (#351)

@@ -128,7 +128,7 @@ def create_recognizer(args): @@ -128,7 +128,7 @@ def create_recognizer(args):
128 rule3_min_utterance_length=300, # it essentially disables this rule 128 rule3_min_utterance_length=300, # it essentially disables this rule
129 decoding_method=args.decoding_method, 129 decoding_method=args.decoding_method,
130 provider=args.provider, 130 provider=args.provider,
131 - hotwords_file=agrs.hotwords_file, 131 + hotwords_file=args.hotwords_file,
132 hotwords_score=args.hotwords_score, 132 hotwords_score=args.hotwords_score,
133 ) 133 )
134 return recognizer 134 return recognizer
@@ -95,6 +95,7 @@ struct OnlineRecognizerConfig { @@ -95,6 +95,7 @@ struct OnlineRecognizerConfig {
95 const std::string &hotwords_file, float hotwords_score) 95 const std::string &hotwords_file, float hotwords_score)
96 : feat_config(feat_config), 96 : feat_config(feat_config),
97 model_config(model_config), 97 model_config(model_config),
  98 + lm_config(lm_config),
98 endpoint_config(endpoint_config), 99 endpoint_config(endpoint_config),
99 enable_endpoint(enable_endpoint), 100 enable_endpoint(enable_endpoint),
100 decoding_method(decoding_method), 101 decoding_method(decoding_method),