summaryrefslogtreecommitdiff
path: root/gi
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-08-11 22:41:30 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-08-11 22:41:30 -0400
commitdad8da6f5f65e157476b3999257069bda7b8552e (patch)
tree7b29e9853fd0e6b4516f4f212391896c4f2ef1d7 /gi
parentb1986c6fc53d75fc2a010c39c6e30d8ed6d86425 (diff)
remove extra eos marker
Diffstat (limited to 'gi')
-rw-r--r--gi/pf/pyp_lm.cc2
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;