Thanks.

 If I change the value to something like 12, how does this affect the 
 overall memory requirements/allocation for the State object? I.e. if I 
 compile with kMaxOrder = 12, and use Kenlm for a model with order = 6, 
 is more memory required/allocated and if so, how much? Or, does the 
 additional allocation only occur when the model has a higher order?

 Tom



 On Mon, 23 May 2011 16:33:01 -0400, Kenneth Heafield 
 <[email protected]> wrote:
> 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

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to