diff options
Diffstat (limited to 'decoder/ff_lm.cc')
-rw-r--r-- | decoder/ff_lm.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/ff_lm.cc b/decoder/ff_lm.cc index 3d81a599..75778756 100644 --- a/decoder/ff_lm.cc +++ b/decoder/ff_lm.cc @@ -594,6 +594,7 @@ void LanguageModelFsa::set_ngram_order(int i) { LanguageModelFsa::LanguageModelFsa(string const& param) { int lmorder; pimpl_ = make_lm_impl(param,&lmorder,&fid_); + InitHaveFid(); floor_=pimpl_->floor_; set_ngram_order(lmorder); } |