summaryrefslogtreecommitdiff
path: root/decoder/ff_lm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/ff_lm.cc')
-rw-r--r--decoder/ff_lm.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/decoder/ff_lm.cc b/decoder/ff_lm.cc
index 9e6f02b7..0590fa7e 100644
--- a/decoder/ff_lm.cc
+++ b/decoder/ff_lm.cc
@@ -532,6 +532,10 @@ LanguageModel::LanguageModel(const string& param) {
SetStateSize(LanguageModelImpl::OrderToStateSize(order));
}
+FeatureFunction::Features LanguageModel::features() const {
+ return single_feature(fid_);
+}
+
LanguageModel::~LanguageModel() {
delete pimpl_;
}