diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-08-11 22:41:30 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-08-11 22:41:30 -0400 |
commit | dad8da6f5f65e157476b3999257069bda7b8552e (patch) | |
tree | 7b29e9853fd0e6b4516f4f212391896c4f2ef1d7 /gi/pf | |
parent | b1986c6fc53d75fc2a010c39c6e30d8ed6d86425 (diff) |
remove extra eos marker
Diffstat (limited to 'gi/pf')
-rw-r--r-- | gi/pf/pyp_lm.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gi/pf/pyp_lm.cc b/gi/pf/pyp_lm.cc index e2b67e17..7cec437a 100644 --- a/gi/pf/pyp_lm.cc +++ b/gi/pf/pyp_lm.cc @@ -167,8 +167,6 @@ int main(int argc, char** argv) { lm.increment(w, ctx, &rng); ctx.push_back(w); } - if (SS > 0) lm.decrement(kEOS, ctx, &rng); - lm.increment(kEOS, ctx, &rng); } if (SS % 10 == 9) { cerr << " [LLH=" << lm.log_likelihood() << "]" << endl; |