index 634a6267c4e8a9f9493e02e57dd07be4ba926a18..c854b077d006e2b8c85a3465a10a80c18883409d 100644 (file)
// Copyright 2009-2011 Gilles Boulianne
// Copyright 2016 Smart Action LLC (kkm)
+// Copyright 2017 Xiaohui Zhang
// See ../../COPYING for clarification regarding multiple authors
//
StateId dest;
Symbol sym = ngram.words.back();
float weight = -ngram.logprob;
+ if (sym == sub_eps_ || sym == 0) {
+ KALDI_ERR << " <eps> or disambiguation symbol " << sym << "found in the ARPA file. ";
+ }
if (sym == eos_symbol_) {
if (sub_eps_ == 0) {
// Keep </s> as a real symbol when not substituting.