diff options
author | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-10 06:54:59 -0500 |
---|---|---|
committer | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-10 06:54:59 -0500 |
commit | 7491d7f72bd50cbc08a28f64cc3939a310d65801 (patch) | |
tree | fe18c5bc6ca1e0bf18f0ca473833162ecd3a908b /decoder/ff_lm.h | |
parent | 8c8ff6c6915ebc5ce30156e3f05bf8d1966ec0a1 (diff) | |
parent | 4f9933d668d247ea5831c3f2af0b996a94da28f7 (diff) |
Merge branch 'master' of git://github.com/redpony/cdec
Diffstat (limited to 'decoder/ff_lm.h')
-rw-r--r-- | decoder/ff_lm.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/decoder/ff_lm.h b/decoder/ff_lm.h index e682481d..8885efce 100644 --- a/decoder/ff_lm.h +++ b/decoder/ff_lm.h @@ -8,6 +8,9 @@ #include "ff.h" #include "config.h" +// everything in this file is deprecated and may be broken. +// Chris Dyer, Mar 2011 + class LanguageModelInterface { public: double floor_; @@ -29,7 +32,7 @@ class LanguageModelInterface { double p=ContextBOW(context,slen); while (len>slen) { --len; - context[len]=TD::none; + context[len]=0; } return p; } |