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, 2 insertions, 2 deletions
diff --git a/decoder/ff_lm.cc b/decoder/ff_lm.cc
index bbf63338..2f0277c8 100644
--- a/decoder/ff_lm.cc
+++ b/decoder/ff_lm.cc
@@ -192,7 +192,7 @@ class LanguageModelImpl {
}
public:
- explicit LanguageModelImpl(int order) : ngram_(*TD::dict_, order)
+ explicit LanguageModelImpl(int order) : ngram_(TD::dict_, order)
{
init(order);
}
@@ -200,7 +200,7 @@ class LanguageModelImpl {
//TODO: show that unigram special case (0 state) computes what it should.
LanguageModelImpl(int order, const string& f, int load_order=0) :
- ngram_(*TD::dict_, load_order ? load_order : order)
+ ngram_(TD::dict_, load_order ? load_order : order)
{
init(order);
File file(f.c_str(), "r", 0);