tahoar@moses0:~$ report-moses-lms.sh IRSTLM RANDLM KENLM
It supports these command line options: tahoar@moses0:~$ report-moses-lms.sh -h usage: report-moses-lms.sh OPTIONS Reports all language models compiled into a moses binary. OPTIONS: -p|-P path Absolute path of Moses binary (/home/tahoar/bin/moses) -l|-L Output one language model per line -c|-C Include language model code in output -q|-Q Quiet mode (no output if binary not found) -h|-H Show this messageIt's based on some code shared from this support list a couple years ago. It's been tested through release 1.0. Please feel free to add it to the Moses contrib folder if it still works on the active trunk.
Tom On 11/01/2013 12:02 AM, Read, James C wrote:
Thanks, my installation of both IRSTLM and SRILM completed without errors. I used the --with-irstlm and --with-srilm flags to compile Moses with both libraries. The compilation finished without errors. Is there a quick way to verify that everything worked for both libraries? thanks, James ________________________________________ From: Nicola Bertoldi [[email protected]] Sent: 31 October 2013 16:22 To: Read, James C Cc: moses-support support; Nicola Bertoldi Subject: Re: [Moses-support] language models Hi James, yes, I already succeeded in installing randLM and SRILM on both MacOSx and Linux Redhat. it was very simple following their documentations. and yes, it is possible to compile Moses with any LM library you like adding zero, one or more of the following parameters --with-irstlm=/path/to/irstlm --with-randlm=/path/to/randlm --with-srilm=/path/to/srilm you can find more details here http://www.statmt.org/moses/?n=Development.GetStarted in section "Optional packages" at run time, you can select the desired LM type in the configuration file. Nicola On Oct 31, 2013, at 5:01 PM, Read, James C wrote:Does anybody have experience with installing RandLM and SRILM? Is it possible to compile Moses to support a variety of language model libraries and then configure to select which one to use for each experiment? thanks, James _______________________________________________ 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
report-moses-lms.sh
Description: application/shellscript
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
