From 3b9d2b00bb953b5f44b81143e41b425f4e86682c Mon Sep 17 00:00:00 2001 From: Bernardo Henz Date: Tue, 29 Sep 2020 09:17:32 -0300 Subject: [PATCH] Seting a default value for load_from_bytes in load_lm --- native_client/ctcdecode/scorer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native_client/ctcdecode/scorer.h b/native_client/ctcdecode/scorer.h index 7be312bb9d..08713e4e83 100644 --- a/native_client/ctcdecode/scorer.h +++ b/native_client/ctcdecode/scorer.h @@ -86,7 +86,7 @@ class Scorer { void fill_dictionary(const std::unordered_set &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.;