From 20f46ca7b434aa569007c4da8d11988bd299e05b Mon Sep 17 00:00:00 2001 From: redpony Date: Wed, 22 Sep 2010 18:15:39 +0000 Subject: mpi support for training git-svn-id: https://ws10smt.googlecode.com/svn/trunk@654 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/translator.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'decoder') diff --git a/decoder/translator.cc b/decoder/translator.cc index e6c282e1..277c3a2d 100644 --- a/decoder/translator.cc +++ b/decoder/translator.cc @@ -3,6 +3,8 @@ #include #include +#include "verbose.h" + using namespace std; Translator::~Translator() {} @@ -42,7 +44,7 @@ void Translator::SentenceComplete() { // metadata void Translator::ProcessMarkupHintsImpl(const map& kv) { int unprocessed = kv.size() - kv.count("id"); - cerr << "Inside translator process hints\n"; + if (!SILENT) cerr << "Inside translator process hints\n"; if (unprocessed > 0) { cerr << "Sentence markup contains unprocessed data:\n"; for (map::const_iterator it = kv.begin(); it != kv.end(); ++it) { -- cgit v1.2.3