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
