Joshua
open source statistical hierarchical phrase-based machine translation system
|
00001 #ifndef LM_MAX_ORDER_H 00002 #define LM_MAX_ORDER_H 00003 /* IF YOUR BUILD SYSTEM PASSES -DKENLM_MAX_ORDER, THEN CHANGE THE BUILD SYSTEM. 00004 * If not, this is the default maximum order. 00005 * Having this limit means that State can be 00006 * (kMaxOrder - 1) * sizeof(float) bytes instead of 00007 * sizeof(float*) + (kMaxOrder - 1) * sizeof(float) + malloc overhead 00008 */ 00009 #ifndef KENLM_ORDER_MESSAGE 00010 #define KENLM_ORDER_MESSAGE "If your build system supports changing KENLM_MAX_ORDER, change it there and recompile. In the KenLM tarball or Moses, use e.g. `bjam --max-kenlm-order=6 -a'. Otherwise, edit lm/max_order.hh." 00011 #endif 00012 00013 #endif // LM_MAX_ORDER_H