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:
authorNicola Bertoldi <bertoldi@fbk.eu>2014-10-08 14:34:36 +0400
committerNicola Bertoldi <bertoldi@fbk.eu>2014-10-08 14:34:36 +0400
commit88ec4925f2eaa0690ef6dc990f6441246b1cd20d (patch)
tree56ec7b23e5c884252afcfca534b8c0fd39cb03d5 /moses-cmd
parent582ece503508fb050778c21816f106162d532a1f (diff)
minor change
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()) {