mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
16 lines
293 B
C++
16 lines
293 B
C++
// Separate header because this is used often.
|
|
#ifndef LM_WORD_INDEX_H
|
|
#define LM_WORD_INDEX_H
|
|
|
|
#include <climits>
|
|
|
|
namespace lm {
|
|
typedef unsigned int WordIndex;
|
|
const WordIndex kMaxWordIndex = UINT_MAX;
|
|
const WordIndex kUNK = 0;
|
|
} // namespace lm
|
|
|
|
typedef lm::WordIndex LMWordIndex;
|
|
|
|
#endif
|