Yep, that should work.  For KenLM, you want to set these options in the LM section:

lm-binarizer = $moses-src-dir/kenlm/build_binary
type = 8

Phil

On 13 Sep, 2011,at 08:57 PM, Hieu Hoang <[email protected]> wrote:

ah, like this?
  decoder-settings = "-threads 8"
and any idea how to get the EMS to use Ken's LM?

On 13/09/2011 21:27, Phil Williams wrote:
I think GENERAL:cores sets the maximum number of active EMS steps, it doesn't change the number of threads used for decoding.  You need to set the decoder's -threads N option in TUNING:decoder-settings and/or EVALUATION:decoder-settings.

A caveat is that the output to stderr will be messed up, though that's true for multi-threaded moses as well.

Phil


On 13 Sep, 2011,at 08:11 PM, Hieu Hoang <[email protected]> wrote:

Is it as simple as setting the
[GENERAL]
cores = 8
in the config file, and making sure the decoding was compiled with threads?

_______________________________________________
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