summaryrefslogtreecommitdiff
path: root/decoder/viterbi.cc
diff options
context:
space:
mode:
authorgraehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-09 06:21:45 +0000
committergraehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-09 06:21:45 +0000
commit4f99f17541c1fe104afbcf04e3d8d04ad9f1227a (patch)
treebaf0cc1767c2fd54d8b916632bb54c35ff772d4c /decoder/viterbi.cc
parent34f88db8b11f55e736c6f85cb822c47fb18ac523 (diff)
disable debug print
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@496 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/viterbi.cc')
-rw-r--r--decoder/viterbi.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder/viterbi.cc b/decoder/viterbi.cc
index c8322823..fac9dd70 100644
--- a/decoder/viterbi.cc
+++ b/decoder/viterbi.cc
@@ -5,7 +5,7 @@
#include <vector>
#include "hg.h"
-#define DEBUG_VITERBI_SORT
+//#define DEBUG_VITERBI_SORT
using namespace std;
@@ -29,7 +29,7 @@ std::string viterbi_stats(Hypergraph const& hg, std::string const& name, bool es
}
#ifdef DEBUG_VITERBI_SORT
const_cast<Hypergraph&>(hg).ViterbiSortInEdges();
- o<<name<<" sorted #1 derivation: ";
+ o<<name<<"sorted #1 derivation: ";
o<<hg.show_first_tree(false);
o<<endl;
#endif