Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'moses-cmd')
-rw-r--r--moses-cmd/Main.cpp4
1 files changed, 2 insertions, 2 deletions
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<bool>(staticData.GetParam("print-id")[0]) ) {
+ if (staticData.IsIDEnabled()) {
out << m_source->GetTranslationId() << " ";
}
if (staticData.IsPassthroughEnabled()) {