summaryrefslogtreecommitdiff
path: root/decoder
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
commit716356a5de1eb7d066d511af51b76e1294609d87 (patch)
treeb95ee704bdeac4e4b730e6e63f64fd34db54db64 /decoder
parent1cc6a37d1a93cbcb14a980fc64d7bdbe6db486fd (diff)
mpi support for training
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@654 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder')
-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) {