summaryrefslogtreecommitdiff
path: root/decoder/ff_lm.cc
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-27 05:00:07 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-27 05:00:07 +0000
commitb06634ce6ac1d3e0e18c788cd25d7f15ef70bbf3 (patch)
tree79cbfe3aa1eb1efd062a437cc0f2d129db737f2a /decoder/ff_lm.cc
parenta2255a437d834afcf4c685d84bbfc8cfe895deb7 (diff)
set fsa features() properly
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@433 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/ff_lm.cc')
-rw-r--r--decoder/ff_lm.cc1
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);
}