mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
15 lines
268 B
C++
15 lines
268 B
C++
// Separate header because this is used often.
|
|
#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;
|
|
|
|
#endif
|