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 | 187a7282671bdcee26ade95abcca5282e925c362 (patch) | |
tree | d62eb5b7653b7dbc949d0de3b6b15642fe8912bf /decoder/ff_lm.h | |
parent | ee0efe4d807aef64117776a476eeaeca98287315 (diff) | |
parent | 19e0a382269042605c347b48e5ac92c5012f1ccc (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; } |