https://github.com/wilkeraziz/mosesdecoder
Raw File
Tip revision: 9df28fe2633f0c8358848dc2ee60cf7b1b8cc850 authored by Barry Haddow on 07 September 2014, 22:18:05 UTC
Start implementing pruner
Tip revision: 9df28fe
max_order.hh
#ifndef LM_MAX_ORDER_H
#define LM_MAX_ORDER_H
/* IF YOUR BUILD SYSTEM PASSES -DKENLM_MAX_ORDER_H, THEN CHANGE THE BUILD SYSTEM.
 * If not, this is the default maximum order.  
 * Having this limit means that State can be
 * (kMaxOrder - 1) * sizeof(float) bytes instead of
 * sizeof(float*) + (kMaxOrder - 1) * sizeof(float) + malloc overhead
 */
#ifndef KENLM_ORDER_MESSAGE
#define KENLM_ORDER_MESSAGE "If your build system supports changing KENLM_MAX_ORDER_H, 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."
#endif

#endif // LM_MAX_ORDER_H
back to top