Welcome to mirror list, hosted at ThFree Co, Russian Federation.

word_index.hh « lm - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a5a0fda81d634a8434562a29d5ac5af562db3ab5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Separate header because this is used often.
#ifndef LM_WORD_INDEX_H
#define LM_WORD_INDEX_H

#include <limits.h>

namespace lm {
typedef unsigned int WordIndex;
const WordIndex kMaxWordIndex = UINT_MAX;
} // namespace lm

typedef lm::WordIndex LMWordIndex;

#endif