diff --git a/moses-cmd/Main.cpp b/moses-cmd/Main.cpp index c9b8c5348..c931ea3dc 100644 --- a/moses-cmd/Main.cpp +++ b/moses-cmd/Main.cpp @@ -306,14 +306,14 @@ public: if (!staticData.UseMBR()) { bestHypo = manager.GetBestHypothesis(); if (bestHypo) { - if (staticData..GetOutputHypoScore()) { + if (staticData.GetOutputHypoScore()) { out << bestHypo->GetTotalScore() << ' '; } if (staticData.IsPathRecoveryEnabled()) { OutputInput(out, bestHypo); out << "||| "; } - if (staticData.GetParam("print-id").size() && Scan(staticData.GetParam("print-id")[0]) ) { + if (staticData.IsIDEnabled()) { out << m_source->GetTranslationId() << " "; } if (staticData.IsPassthroughEnabled()) {