From cf16757f7a8d7e9ef93d403595208cbc26ad8b05 Mon Sep 17 00:00:00 2001 From: graehl Date: Wed, 11 Aug 2010 03:27:05 +0000 Subject: debug git-svn-id: https://ws10smt.googlecode.com/svn/trunk@523 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoder') diff --git a/decoder/cfg.h b/decoder/cfg.h index e068e78b..64924f14 100755 --- a/decoder/cfg.h +++ b/decoder/cfg.h @@ -3,7 +3,7 @@ // for now, debug means remembering and printing the TRule behind each CFG rule #ifndef CFG_DEBUG -# define CFG_DEBUG 1 +# define CFG_DEBUG 0 #endif /* for target FSA intersection, we want to produce a simple (feature weighted) CFG using the target projection of a hg. this is essentially isomorphic to the hypergraph, and we're copying part of the rule info (we'll maintain a pointer to the original hg edge for posterity/debugging; and perhaps avoid making a copy of the feature vector). but we may also want to support CFG read from text files (w/ features), without needing to have a backing hypergraph. so hg pointer may be null? multiple types of CFG? always copy the feature vector? especially if we choose to binarize, we won't want to rely on 1:1 alignment w/ hg -- cgit v1.2.3