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
commitae6e9133a743e824fb2671505d5dcaa6469f887e (patch)
treea66df78eda9ec57e0a47f08df859573288d2ba4b /decoder/viterbi.cc
parent91727ef8fa46ffda8a6dd9a70d2e9b707f098402 (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