diff --git a/moses-cmd/src/IOCommandLine.cpp b/moses-cmd/src/IOCommandLine.cpp index 8e46928d4..f6753d547 100755 --- a/moses-cmd/src/IOCommandLine.cpp +++ b/moses-cmd/src/IOCommandLine.cpp @@ -162,6 +162,17 @@ void IOCommandLine::SetNBest(const LatticePathList &nBestList, long translationI m_nBestFile << "d: "; m_nBestFile << path.GetScoreBreakdown().GetScoreForProducer(StaticData::Instance()->GetDistortionScoreProducer()) << " "; + //reordering + vector rms = StaticData::Instance()->GetReorderModels(); + if(rms.size() > 0) + { + vector::iterator iter; + for(iter = rms.begin(); iter != rms.end(); ++iter) + { + m_nBestFile << path.GetScoreBreakdown().GetScoreForProducer(*iter) << " "; + } + } + // lm const LMList& lml = StaticData::Instance()->GetAllLM(); if (lml.size() > 0) {