From 544da4d8e42858b19e6229936df56d44d61b1f38 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Fri, 18 Dec 2009 22:51:11 -0500 Subject: add symmetrization heuristics to atools, add null word configuration --- decoder/lexcrf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoder/lexcrf.cc') diff --git a/decoder/lexcrf.cc b/decoder/lexcrf.cc index 816506e4..9f96de9f 100644 --- a/decoder/lexcrf.cc +++ b/decoder/lexcrf.cc @@ -12,7 +12,7 @@ using namespace std; struct LexicalCRFImpl { LexicalCRFImpl(const boost::program_options::variables_map& conf) : - use_null(false), + use_null(conf.count("lexcrf_use_null") > 0), kXCAT(TD::Convert("X")*-1), kNULL(TD::Convert("")), kBINARY(new TRule("[X] ||| [X,1] [X,2] ||| [1] [2]")), -- cgit v1.2.3