diff options
Diffstat (limited to 'decoder/ff_lm.cc')
-rw-r--r-- | decoder/ff_lm.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/ff_lm.cc b/decoder/ff_lm.cc index 28312b4f..6579fbee 100644 --- a/decoder/ff_lm.cc +++ b/decoder/ff_lm.cc @@ -303,6 +303,7 @@ class LanguageModelImpl { return ProbNoRemnant(len - 1, len); } + //FIXME: this assumes no target words on final unary -> goal rule. is that ok? // for <s> (n-1 left words) and (n-1 right words) </s> double FinalTraversalCost(const void* state) { if (unigram) return 0.; |