From dad8da6f5f65e157476b3999257069bda7b8552e Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Sat, 11 Aug 2012 22:41:30 -0400 Subject: remove extra eos marker --- gi/pf/pyp_lm.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'gi/pf') 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; -- cgit v1.2.3