Joshua
open source statistical hierarchical phrase-based machine translation system
|
00001 // Separate header because this is used often. 00002 #ifndef LM_WORD_INDEX_H 00003 #define LM_WORD_INDEX_H 00004 00005 #include <climits> 00006 00007 namespace lm { 00008 typedef unsigned int WordIndex; 00009 const WordIndex kMaxWordIndex = UINT_MAX; 00010 const WordIndex kUNK = 0; 00011 } // namespace lm 00012 00013 typedef lm::WordIndex LMWordIndex; 00014 00015 #endif