Edit kenlm/lm/max_order.hh and recompile. The reason is to minimize the size of the State object held by each hypothesis while avoiding dynamic memory allocation.
On 05/23/11 15:39, Tom Hoar wrote: > I use KenLM's build_binary for language models. There are no problems > order values up to 6 grams. It halts 7 grams with a warning to change a > value somewhere to support higher values. I don't have a current log > output. Can you share what change to make and where? > > Thanks. > Tom > > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
