Hi Shawn It looks like extraction failed because the alignments were missing. Was there a problem during alignment?
Cheers - Barry Shuo Li <[email protected]> wrote: >Dear all, >Recently, I have compile a Moses on a Linux 64bit server, My OS is Ubuntu >Server 12.04 LTS (64-bits), and it is already installed the following >package/library: >- gcc (4:4.6.3-1ubuntu5) >- g++ (4:4.6.3-1ubuntu5) >- make (3.81-8.1ubuntu1) >- git-core (1:1.7.9.5-1) >- libboost1.52 > >When I running the training step of 5, the system shows the error below: >lishuo@lobo:~/mosesdecoder/scripts/training$ ./train-model.perl-external-bin- >dir /home/lishuo/giza-pp/bin --corpus >/home/lishuo/Macau_Codes/subcorpus/exp2/newclean_train >--f prt --e chn --first-step 5 --last-step 5 --lm 0:5:/home/lishuo >/Macau_Codes/LM/chinese_tra5.gz:0 >Using SCRIPTS_ROOTDIR: /home/lishuo/mosesdecoder/scripts >(5) extract phrases @ Thu Nov 22 16:20:58 CST 2012 >MAX 7 0 0 >/home/lishuo/mosesdecoder/scripts/generic/extract-parallel.perl 1 split >"sort " /home/lishuo/mosesdecoder/scripts/../bin/extract /home/lishuo >/Macau_Codes/subcorpus/exp2/newclean_train.chn /home/lishuo/Macau_Codes/ >subcorpus/exp2/newclean_train.prt ./model/aligned.grow-diag-final >./model/extract >7 --GZOutput >Executing: /home/lishuo/mosesdecoder/scripts/generic/extract-parallel.perl1 >split "sort " /home/ >lishuo/mosesdecoder/scripts/../bin/extract /home/lishuo/Macau_Codes/ >subcorpus/exp2/newclean_train.chn /home/lishuo/Macau_Codes/subcorpus >/exp2/newclean_train.prt ./model/aligned.grow-diag-final ./model/extract 7 >--GZOutput >Started Thu Nov 22 16:20:58 2012 >total=23115 line-per-split=23116 >Executing: ln -s /home/lishuo/Macau_Codes/subcorpus/exp2/newclean_train.chn./ >model/tmp.19949/target.00000 >Executing: ln -s /home/lishuo/Macau_Codes/subcorpus/exp2/newclean_train.prt./ >model/tmp.19949/source.00000 >Executing: ln -s ./model/aligned.grow-diag-final ./model/tmp.19949/align. >00000 >/home/lishuo/mosesdecoder/scripts/../bin/extract ./model/tmp.19949/target.00000 >./model/tmp.19949/source.00000 ./model/tmp.19949/align.00000 >./model/tmp.19949/extract.00000 7 --GZOutput --SentenceOffset 0 2>> >/dev/stderr >PhraseExtract v1.4, written by Philipp Koehn >phrase extraction from an aligned parallel corpus >Can't read ./model/tmp.19949/align.00000 >zcat ./model/tmp.19949/extract.00000.gz | LC_ALL=C sort -T >./model/tmp.19949 >| gzip -c > ./model/extract.sorted.gz >zcat ./model/tmp.19949/extract.00000.inv.gz | LC_ALL=C sort -T ./model/ >tmp.19949 | gzip -c > ./model/extract.inv.sorted.gz >gzip: ./model/tmp.19949/extract.00000.gz: No such file or directory >gzip: ./model/tmp.19949/extract.00000.inv.gz: No such file or directory >rm -rf ./model/tmp.19949 >Finished Thu Nov 22 16:20:58 2012 > >That seems like Moses can not extract any phrase. Dose anybody know what >error is this? Thank you very much! > >Best regards, >Shawn > >-- >Department of Computer and Information Science >Faculty of Science and Technology, University of Macau >Tel: (853) 8397 8051 >Natural Language Processing and Portuguese-Chinese >Machine Translation Research Group (NLP2CT) > >_______________________________________________ >Moses-support mailing list >[email protected] >http://mailman.mit.edu/mailman/listinfo/moses-support -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
