Hi, Moses compiled fine, just (at least) one of the files that you reference in your moses.ini is not accessable from the path from which you run the decoder. That should be easy to check.
-phi On Thu, Aug 11, 2011 at 2:30 AM, 蒋乾 <[email protected]> wrote: > Hi sirs > > I installed moses according to "Moses Installation and Training > Run-Through" . > I successed in all the steps until using moses to do translation. When I use > the > instruciotn "make -j 4", the infomation showed as follows: > > [root@Moses moses]# make -j 4 > make all-recursive > make[1]: Entering directory `/home/wyang22/tools/moses' > Making all in moses/src > make[2]: Entering directory > `/home/wyang22/tools/moses/moses/src' > make all-am > make[3]: Entering directory > `/home/wyang22/tools/moses/moses/src' > make[3]: Nothing to be done for `all-am'. > make[3]: Leaving directory > `/home/wyang22/tools/moses/moses/src' > make[2]: Leaving directory > `/home/wyang22/tools/moses/moses/src' > Making all in moses-cmd/src > make[2]: Entering directory `/home/wyang22/tools/moses/moses- > cmd/src' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/home/wyang22/tools/moses/moses- > cmd/src' > Making all in misc > make[2]: Entering directory `/home/wyang22/tools/moses/misc' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/home/wyang22/tools/moses/misc' > Making all in mert > make[2]: Entering directory `/home/wyang22/tools/moses/mert' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/home/wyang22/tools/moses/mert' > make[2]: Entering directory `/home/wyang22/tools/moses' > make[2]: Leaving directory `/home/wyang22/tools/moses' > make[1]: Leaving directory `/home/wyang22/tools/moses' > > I regarded it as correct. > > After that I tried to test if the moses had been successfully installed by > using the following instruction, and then error happened. > > "/home/wyang22/tools/moses/moses-cmd/src/moses -f moses.ini < in > out" > > error information was shown as follows > > [root@Moses phrase-model]# /home/wyang22/tools/moses/moses-cmd/src/moses -f > moses.ini < in > out > Defined parameters (per moses.ini or switch): > DPR-file: DPR-file.txt > config: moses.ini > input-factors: 0 > lmodel-file: 0 0 3 ../lm/europarl.srilm.gz > mapping: T 0 > n-best-list: nbest.txt 100 > ttable-file: 0 0 0 1 phrase-table > ttable-limit: 10 > weight-DPR: 3 > weight-d: 1 > weight-l: 1 > weight-t: 1 > weight-w: 0 > ERROR:File 1 does not exist > > What is the problem? How can I solve it? > > _______________________________________________ > 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
