diff --git a/moses/src/LanguageModel_IRST.cpp b/moses/src/LanguageModel_IRST.cpp index 8d60d2bbb..f66c7c668 100755 --- a/moses/src/LanguageModel_IRST.cpp +++ b/moses/src/LanguageModel_IRST.cpp @@ -68,7 +68,7 @@ void LanguageModel_IRST::Load(size_t id InputFileStream inp(fileName); m_lmtb = new lmtable( - inp, + fileName.c_str(), nGramOrder, resolution, decay