summaryrefslogtreecommitdiff
path: root/gi
diff options
context:
space:
mode:
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;