diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-23 22:44:20 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-23 22:44:20 +0000 |
commit | a4187c028432c9f9ec3693747abc1c52ef310deb (patch) | |
tree | 605700d0c6a9cb8ed002c8e7d3b2dc7f282217cc /decoder/ff_lm.cc | |
parent | aeb5ce46a166a4c405f8928bfe39e898f42489d7 (diff) |
comment about unary (1 var) goal rule having no target terminals - seems to be assumed
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@392 ec762483-ff6d-05da-a07a-a48fb63a330f
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.; |