diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-02-11 22:01:33 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-02-11 22:01:33 +0400 |
commit | 1a8cd20b51193335be1c852c60f0430d33de1710 (patch) | |
tree | 789ce94ffb586a836ba9e28c09b15df29ca21b0f /moses-cmd | |
parent | e3ea93acb72345bb2a4d28465deb9506e7f6841f (diff) |
-print-id for christian buck and phi
Diffstat (limited to 'moses-cmd')
-rw-r--r-- | moses-cmd/Main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/moses-cmd/Main.cpp b/moses-cmd/Main.cpp index a7f63ebec..55f4daa94 100644 --- a/moses-cmd/Main.cpp +++ b/moses-cmd/Main.cpp @@ -164,6 +164,10 @@ public: OutputInput(out, bestHypo); out << "||| "; } + if (staticData.GetParam("print-id").size() && Scan<bool>(staticData.GetParam("print-id")[0]) ) { + out << m_source->GetTranslationId() << " "; + } + OutputBestSurface( out, bestHypo, |