Skip to content

Commit

Permalink
Seting a default value for load_from_bytes in load_lm
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardohenz committed Oct 20, 2020
1 parent 71e19bc commit 3b9d2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native_client/ctcdecode/scorer.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class Scorer {
void fill_dictionary(const std::unordered_set<std::string> &vocabulary);

// load language model from given path
int load_lm(const std::string &lm_path, bool load_from_bytes);
int load_lm(const std::string &lm_path, bool load_from_bytes=false);

// language model weight
double alpha = 0.;
Expand Down

0 comments on commit 3b9d2b0

Please sign in to comment.