summaryrefslogtreecommitdiff
path: root/decoder/ff_klm.cc
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-03-01 03:10:55 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2011-03-01 03:10:55 -0500
commit4f1a0dde59051908014c056e12a175245e46794c (patch)
tree7d8af0f96a0730723b58e56e7965907d81270528 /decoder/ff_klm.cc
parent0c9fe1dd72fb2321a5652e0ee66d1c897a3d9f80 (diff)
remove logging
Diffstat (limited to 'decoder/ff_klm.cc')
-rw-r--r--decoder/ff_klm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ff_klm.cc b/decoder/ff_klm.cc
index 5e590053..f262229b 100644
--- a/decoder/ff_klm.cc
+++ b/decoder/ff_klm.cc
@@ -82,7 +82,7 @@ class KLanguageModelImpl {
const lm::WordIndex cur_word = IthUnscoredWord(k, astate);
double p = 0;
if (cur_word == kSOS_) {
- if (state.ValidLength() > 0) { p = -100; cerr << rule << endl; }
+ if (state.ValidLength() > 0) { p = -100; }
state = ngram_->BeginSentenceState();
} else {
const lm::ngram::State scopy(state);