summaryrefslogtreecommitdiff
path: root/decoder/translator.cc
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-09-22 18:15:39 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-09-22 18:15:39 +0000
commit20f46ca7b434aa569007c4da8d11988bd299e05b (patch)
treedaa81a2b58bfb2141ec0e351b75678dc5773ea03 /decoder/translator.cc
parent0277e5da3aa444ced74af8085f3349f91d17e56f (diff)
mpi support for training
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@654 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/translator.cc')
-rw-r--r--decoder/translator.cc4
1 files changed, 3 insertions, 1 deletions
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 <iostream>
#include <vector>
+#include "verbose.h"
+
using namespace std;
Translator::~Translator() {}
@@ -42,7 +44,7 @@ void Translator::SentenceComplete() {
// metadata
void Translator::ProcessMarkupHintsImpl(const map<string, string>& 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<string, string>::const_iterator it = kv.begin(); it != kv.end(); ++it) {