Skip to content

Commit

Permalink
Fix typos/bugs (k2-fsa#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Oct 8, 2023
1 parent 0b0b409 commit 4e0a8c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions sherpa-onnx/csrc/online-recognizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 4e0a8c0

Please sign in to comment.