summaryrefslogtreecommitdiff
path: root/dpmert
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-10-23 12:57:56 -0400
committerKenneth Heafield <github@kheafield.com>2012-10-23 12:57:56 -0400
commitcbb1fafd55947ca288bbe508a9dfb36691ce80f6 (patch)
tree2efadf3970a3553cc335ffa44469ef7f701e9652 /dpmert
parent20ac14856accd1532fe7cbeb3ad4cf26dbeb80b1 (diff)
parent500cf9773a88993ea4fa3d17e7f886dfcf7a546e (diff)
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'dpmert')
-rw-r--r--dpmert/line_optimizer.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/dpmert/line_optimizer.cc b/dpmert/line_optimizer.cc
index 49443fbe..9cf33502 100644
--- a/dpmert/line_optimizer.cc
+++ b/dpmert/line_optimizer.cc
@@ -56,7 +56,10 @@ double LineOptimizer::LineOptimize(
//cerr << "NEW BEST: " << pos << " (score=" << cur_best_score << ")\n";
}
// string xx = metric->DetailedScore(acc); cerr << "---- " << xx;
- // cerr << "---- s=" << sco << "\n";
+#undef SHOW_ERROR_SURFACES
+#ifdef SHOW_ERROR_SURFACES
+ cerr << "x=" << seg.x << "\ts=" << sco << "\n";
+#endif
last_boundary = seg.x;
}
// cerr << "x-boundary=" << seg.x << "\n";