mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
a70d37e46f
unistd.hh is dead.
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
|