summaryrefslogtreecommitdiff
path: root/decoder/lexcrf.cc
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2009-12-18 22:51:11 -0500
committerChris Dyer <redpony@gmail.com>2009-12-18 22:51:11 -0500
commit544da4d8e42858b19e6229936df56d44d61b1f38 (patch)
tree703d6b8ef746227667a5110a5c92e0c16e9b8f66 /decoder/lexcrf.cc
parentb0def329260a83da70ceffd503207fc590502a7b (diff)
add symmetrization heuristics to atools, add null word configuration
Diffstat (limited to 'decoder/lexcrf.cc')
-rw-r--r--decoder/lexcrf.cc2
1 files changed, 1 insertions, 1 deletions
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("<eps>")),
kBINARY(new TRule("[X] ||| [X,1] [X,2] ||| [1] [2]")),