Hi Laurentia, line 805 of your training.out says: sh: moses-scripts/scripts-20100126-1440//training/symal/giza2bal.pl: /usr/bin/perl^M: bad interpreter: No such file or directory
Use the absolute path for the "-scripts-root-dir" parameter. So don't specify: -scripts-root-dir moses-scripts/scripts-20100126-1440/ but: "-scripts-root-dir /... full path .../moses-scripts/scripts....1440/" Best Christine Laurentia Dwintani schrieb: > Hmm, I don't get it > > What do you mean with "absolute path"? > > ------------------------------------------------------------------------ > *From:* 竹元勇太 <[email protected]> > *To:* Laurentia Dwintani <[email protected]> > *Cc:* [email protected] > *Sent:* Thu, January 28, 2010 9:28:52 AM > *Subject:* Re: [Moses-support] Fw: Error @Train Phrase Model > > Hi, Laurentia Dwintani > > I think you need the absolute path. > First, let's test it. > > 2010/1/26 Laurentia Dwintani <[email protected] > <mailto:[email protected]>> > > > I use fedora 12 amd64 run in VirtualBox > > I follow the instruction at "Moses Installation and Training > Run-Through" = http://www.statmt.org/moses_steps.html > > Everything is ok (sometimes get warning) until I run Train Phrase > Model > > When I enter this command: > > nohup nice > > moses-scripts/scripts-20100126-1440/training/train-factored-phrase-model.perl > -scripts-root-dir moses-scripts/scripts-20100126-1440/ -root-dir > work -corpus work/corpus/news-commentary.lowercased -f fr -e en > -alignment grow-diag-final-and -reordering msd-bidirectional-fe > -lm 0:3:/home/lau2/TA/Moses1/work/lm/news-commentary.lm >& > work/training.out & > > > > > _______________________________________________ > Moses-support mailing list > [email protected] <mailto:[email protected]> > http://mailman.mit.edu/mailman/listinfo/moses-support > > > > > -- > Yuta Takemoto > [email protected] <mailto:[email protected]> > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
