summaryrefslogtreecommitdiff
path: root/klm/lm/config.cc
diff options
context:
space:
mode:
authorKenneth Heafield <kheafiel@cluster17.lti.ece.cmu.local>2011-03-21 15:55:14 -0400
committerKenneth Heafield <kheafiel@cluster17.lti.ece.cmu.local>2011-03-21 15:55:14 -0400
commit78af1ef80f84023b4ff0661c47201850dbd46363 (patch)
tree0e14ff428d482a8155ad5aedf91f539df2efac53 /klm/lm/config.cc
parent21a136afad4d1b04cddc3ff1e105b0fc7e9d8c2c (diff)
Update error handling and a corner case of trie.
Diffstat (limited to 'klm/lm/config.cc')
-rw-r--r--klm/lm/config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/klm/lm/config.cc b/klm/lm/config.cc
index d8773fe5..71646e51 100644
--- a/klm/lm/config.cc
+++ b/klm/lm/config.cc
@@ -10,7 +10,7 @@ Config::Config() :
enumerate_vocab(NULL),
unknown_missing(COMPLAIN),
sentence_marker_missing(THROW_UP),
- unknown_missing_prob(0.0),
+ unknown_missing_logprob(-100.0),
probing_multiplier(1.5),
building_memory(1073741824ULL), // 1 GB
temporary_directory_prefix(NULL),