Yes, it is easier to use KenLM as it is already included with Moses. To use it, in the moses.ini file replace 'IRSTLM' with 'KENLM'

1 thing to note about running Moses on OSX - the Compact phrase-table crashes on OSX. I recommend using Probing PT


On 07/11/17 01:33, James wrote:
Hello,

I'm trying to test a simple sentence using the new Moses (release 4.0) -- for example, "echo 'das ist ein kleines haus' | moses -f phrase-model/moses.ini -t >out"

O've just downloaded the binary version (macOS.zip <http://www.statmt.org/moses/RELEASE-4.0/binaries/macOS.zip>) and tried to run using a default setting. However, it seems like the binary version was built using already pre-built libraries like "cmph-2.0", "xmlrpc-c-1.33.17", "irstlm-5.80.08". I could compile most of these, but I cannot compile "irstlm-5.80.08" on my macair (MacOs Sierra version 10.12.6). So, I'm trying to use another language model to test this binary Moses but don't know how to configure or set this option. Could you let me know if there is a way to set a different language model (kenLM : which is already included in Moses) for this binary moses?

Thanks in advance.



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

--
Hieu Hoang
http://moses-smt.org/

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

Reply via email to