For the time being, I'm trying to finish building the baseline system. I've just been following the commands as listed on the Moses website.
It's still not running. I tried out countless variants -- it's still telling me to Set IRSTLM environment variable with path to irstlm. liam@liam-Aspire-E1-571G:~$ export=$HOME/irstlm; ~/irstlm/bin/build-lm.sh \ > -i news-commentary-v8.fr-en.sb.en \ > -t ./tmp -p -s improved-kneser-ney -o news-commentary-v8.fr-en.lm.en ~/irstlm/bin/compile-lm \ > --text=yes \ > news-commentary-v8.fr-en.lm.en.gz \ > news-commentary-v8.fr-en.arpa.en Set IRSTLM environment variable with path to irstlm liam@liam-Aspire-E1-571G:~$ --> this was the last command I entered. The full (recommended) command via the website is: mkdir ~/lm cd ~/lm ~/irstlm/bin/add-start-end.sh \ < ~/corpus/news-commentary-v8.fr-en.true.en \ > news-commentary-v8.fr-en.sb.en export IRSTLM=$HOME/irstlm; ~/irstlm/bin/build-lm.sh \ -i news-commentary-v8.fr-en.sb.en \ -t ./tmp -p -s improved-kneser-ney -o news-commentary-v8.fr-en.lm.en ~/irstlm/bin/compile-lm \ --text=yes \ news-commentary-v8.fr-en.lm.en.gz \ news-commentary-v8.fr-en.arpa.en Has anyone got a sample command of how they got this to run? On Wed, Sep 2, 2015 at 11:59 AM, Jeroen Vermeulen < [email protected]> wrote: > Yes, the semicolon ends one command and starts another. > > Don't set HOME. The shell does that for you. If you want a different > setting than your actual home directory, give it a different name or you > might confuse programs you run from that shell. > > > Jeroen > > On September 2, 2015 1:26:43 AM GMT+07:00, Anita Pal < > [email protected]> wrote: > >> Hey! >> >> I'm really, really new to Linux and have no idea how to set /change the >> config file when it comes to running the experiments as described here ( >> http://www.statmt.org/moses/?n=moses.baseline) >> >> home-dir = /home/liam/ >> >> working-dir =/home/liam/working/experiments >> moses-src-dir = /home/liam/mosesdecoder >> moses-script-dir = home/liam/working/experiments (this is where config is >> located?) >> moses-bin-dir = /home/liam/mosesdecoder/bin >> external-bin-dir =/home/liam/mosesdecoder/tools >> data-dir =/home/liam/corpus >> train-dir =/home/liam/corpus/training >> dev-dir = /home/liam/corpus/dev >> irstlm-dir =/home/liam/irstlm/bin >> >> Is this correct? I really have no idea ): >> >> Because I just keep getting errors no matter what I do. I have the same >> problem when it comes to training the language model via IRSTLM. For >> example: >> >> export IRSTLM=$HOME/irstlm; ~/irstlm/bin/build-lm.sh \ >> -i news-commentary-v8.fr-en.sb.en \ >> -t ./tmp -p -s improved-kneser-ney -o news-commentary-v8.fr-en.lm.en >> ~/irstlm/bin/compile-lm \ >> --text=yes \ >> news-commentary-v8.fr-en.lm.en.gz \ >> news-commentary-v8.fr-en.arpa.en >> >> I assume this is a separate command. I keep getting errors though I do set >> HOME=/home/liam/irstlm. >> >> What am I doing wrong? >> >> >> >> ------------------------------ >> >> 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
