diff options
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/ff_klm.cc | 2 |
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); |