summaryrefslogtreecommitdiff
path: root/klm/lm/blank.hh
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-01-18 15:55:40 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2011-01-18 15:55:40 -0500
commitd04c0ca2d9df0e147239b18e90650ca8bd51d594 (patch)
tree1e728067b0606870df89961d10922b4226e614bb /klm/lm/blank.hh
parentb49944ee0e5f347a936df244a7c354a867c79c93 (diff)
new version of klm
Diffstat (limited to 'klm/lm/blank.hh')
-rw-r--r--klm/lm/blank.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/klm/lm/blank.hh b/klm/lm/blank.hh
new file mode 100644
index 00000000..639bc98b
--- /dev/null
+++ b/klm/lm/blank.hh
@@ -0,0 +1,13 @@
+#ifndef LM_BLANK__
+#define LM_BLANK__
+#include <limits>
+
+namespace lm {
+namespace ngram {
+
+const float kBlankProb = -std::numeric_limits<float>::quiet_NaN();
+const float kBlankBackoff = std::numeric_limits<float>::infinity();
+
+} // namespace ngram
+} // namespace lm
+#endif // LM_BLANK__