|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
00001 #ifndef LM_MAX_ORDER__ 00002 #define LM_MAX_ORDER__ 00003 namespace lm { 00004 namespace ngram { 00005 // If you need higher order, change this and recompile. 00006 // Having this limit means that State can be 00007 // (kMaxOrder - 1) * sizeof(float) bytes instead of 00008 // sizeof(float*) + (kMaxOrder - 1) * sizeof(float) + malloc overhead 00009 const unsigned char kMaxOrder = 6; 00010 00011 } // namespace ngram 00012 } // namespace lm 00013 00014 #endif // LM_MAX_ORDER__