summaryrefslogtreecommitdiff
path: root/klm/lm/blank.hh
diff options
context:
space:
mode:
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__