From 17623986ba1c9c9a3f91da4f215f25b9d9c0ea96 Mon Sep 17 00:00:00 2001 From: graehl Date: Sun, 25 Jul 2010 21:05:06 +0000 Subject: USE_INFO_EDGE 0 include git-svn-id: https://ws10smt.googlecode.com/svn/trunk@412 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/ff_fsa.h | 6 ++++++ decoder/hg.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/decoder/ff_fsa.h b/decoder/ff_fsa.h index 93e3bd5e..1be773b9 100755 --- a/decoder/ff_fsa.h +++ b/decoder/ff_fsa.h @@ -14,7 +14,13 @@ //TODO: decide whether to use init_features / add_value vs. summing elsewhere + set_value once (or inefficient for from_fsa: sum distinct feature_vectors. but L->R if we only scan 1 word at a time, that's fine //#define FSA_DEBUG + +#ifdef USE_INFO_EDGE #define FSA_DEBUG_CERR 0 +#else +#define FSA_DEBUG_CERR 1 +#endif + #define FSA_DEBUG_DEBUG 0 # define FSADBGif(i,e,x) do { if (i) { if (FSA_DEBUG_CERR){std::cerr< # define INFO_EDGE(e,msg) do { std::ostringstream &o=(e.info_);o< #include #include #include -- cgit v1.2.3