diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-10-10 19:02:40 +0100 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-10-10 19:02:40 +0100 |
commit | a36fcc5d55c1de84ae68c1091ebff2b1c32dc3b7 (patch) | |
tree | 1c22c35065e52c5ae69fa915bd502939be801374 /klm/lm/word_index.hh | |
parent | 8a10fd2856e13489cc10d2c683ecbce687f1e5ff (diff) |
KenLM 8307220
Diffstat (limited to 'klm/lm/word_index.hh')
-rw-r--r-- | klm/lm/word_index.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/klm/lm/word_index.hh b/klm/lm/word_index.hh index 67841c30..e09557a7 100644 --- a/klm/lm/word_index.hh +++ b/klm/lm/word_index.hh @@ -2,8 +2,11 @@ #ifndef LM_WORD_INDEX__ #define LM_WORD_INDEX__ +#include <limits.h> + namespace lm { typedef unsigned int WordIndex; +const WordIndex kMaxWordIndex = UINT_MAX; } // namespace lm typedef lm::WordIndex LMWordIndex; |