From d04c0ca2d9df0e147239b18e90650ca8bd51d594 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 18 Jan 2011 15:55:40 -0500 Subject: new version of klm --- klm/lm/blank.hh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 klm/lm/blank.hh (limited to 'klm/lm/blank.hh') 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 + +namespace lm { +namespace ngram { + +const float kBlankProb = -std::numeric_limits::quiet_NaN(); +const float kBlankBackoff = std::numeric_limits::infinity(); + +} // namespace ngram +} // namespace lm +#endif // LM_BLANK__ -- cgit v1.2.3