I run the script on root directory of Moses installation, when I type "ls -l
model" there is another model directory in there. So I put below the output
of "ls -l model" and "ls -l model/model".

I tried your suggestion to pass "-first-step 5" to training command, with
the same result of error message, it tries to find "*.part*" files somewhere
in "model/model" directory.

Anung


"ls -l model"

total 114
drwxr-xr-x   7 sadm     sadmg         13 Aug  5 09:10 ./
drwxr-xr-x  17 sadm     sadmg         20 Aug  7 09:19 ../
-rw-r--r--   1 sadm     sadmg       7784 Aug  1 21:16 aligned.0.en
-rw-r--r--   1 sadm     sadmg       8560 Aug  1 21:16 aligned.0.id
-rw-r--r--   1 sadm     sadmg          0 Aug  1 21:16
aligned.grow-diag-final-and
drwxr-xr-x   5 sadm     sadmg         26 Aug  4 21:04 corpus/
-rw-r--r--   1 sadm     sadmg          0 Aug  1 21:16 extract.0-0.o
drwxr-xr-x   5 sadm     sadmg          7 Aug  4 17:07 giza.en-de/
drwxr-xr-x   5 sadm     sadmg          8 Aug  5 10:05 giza.en-id/
drwxr-xr-x   5 sadm     sadmg          8 Aug  5 10:05 giza.id-en/
-rw-r--r--   1 sadm     sadmg      13744 Aug  1 21:16 lex.0-0.f2n
-rw-r--r--   1 sadm     sadmg      13744 Aug  1 21:16 lex.0-0.n2f
drwxr-xr-x   2 sadm     sadmg          9 Aug  4 14:39 model/


ls -l model/model

total 69
drwxr-xr-x   2 sadm     sadmg          9 Aug  4 14:39 ./
drwxr-xr-x   7 sadm     sadmg         13 Aug  5 09:10 ../
-rw-r--r--   1 sadm     sadmg       3156 Aug  4 10:15 aligned.0.en
-rw-r--r--   1 sadm     sadmg       3492 Aug  4 10:15 aligned.0.id
-rw-r--r--   1 sadm     sadmg          0 Aug  4 14:39
aligned.grow-diag-final
-rw-r--r--   1 sadm     sadmg          0 Aug  4 10:15
aligned.grow-diag-final-and
-rw-r--r--   1 sadm     sadmg          0 Aug  4 10:15 extract.0-0.o
-rw-r--r--   1 sadm     sadmg      10341 Aug  4 10:15 lex.0-0.f2n
-rw-r--r--   1 sadm     sadmg      10341 Aug  4 10:15 lex.0-0.n2f



On Wed, Aug 6, 2008 at 10:44 PM, Philipp Koehn <[EMAIL PROTECTED]> wrote:

> Hi,
>
> can you send the output of "ls -l model" ?
> Otherwise, just run the training command again with
> the additional switch "-first-step 5".
>
> -phi
>
> On Fri, Aug 1, 2008 at 2:22 PM, Anung Ariwibowo <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> >
> > it's me (again)
> >
> > I have successfully get through all of moses installation, and get a
> > language model. When I come to training, firstly it is successful, but
> the
> > training is failed when it reached extract phase. Below is the error
> > message. I try it using this command:
> >
> >
> /usr/local/bin/scripts-20080801-2109/training/train-factored-phrase-model.perl
> > -scripts-root-dir /usr/local/bin/scripts-20080801-2109 -root-dir .
> -corpus
> > corpus/clean -f id -e en -alignment grow-diag-final-and -reordering
> > msd-bidirectional-fe -lm 0:5:lm/en.srilm:0
> >
> > and I have three directories: lm (for storing language model), corpus
> (for
> > storing my corpus), and model.
> >
> > It seems extract phrase is failed when try to find a file in model
> > directory.
> >
> > Anyone can help?
> >
> > Anung
> >
> > Saved: ./model/lex.0-0.f2n and ./model/lex.0-0.n2f
> > (5) extract phrases @ Fri Aug  1 21:16:37 SGT 2008
> > (1.0.5) reducing factors to produce ./model/aligned.0.id  @ Fri Aug  1
> > 21:16:37 SGT 2008
> >   ./model/aligned.0.id in place, reusing
> > (1.0.5) reducing factors to produce ./model/aligned.0.en  @ Fri Aug  1
> > 21:16:37 SGT 2008
> >   ./model/aligned.0.en in place, reusing
> > (5) [0-0] extract phrases @ Fri Aug  1 21:16:37 SGT 2008
> > /usr/local/bin/scripts-20080801-2109/training/phrase-extract/extract
> > ./model/aligned.0.en ./model/aligned.0.id
> > ./model/aligned.grow-diag-final-and ./model/extract.0-0 7 orientation
> > Executing:
> > /usr/local/bin/scripts-20080801-2109/training/phrase-extract/extract
> > ./model/aligned.0.en ./model/aligned.0.id
> > ./model/aligned.grow-diag-final-and ./model/extract.0-0 7 orientation
> > PhraseExtract v1.3.0, written by Philipp Koehn
> > phrase extraction from an aligned parallel corpus
> > (also extracting orientation)
> > Executing: cat ./model/extract.0-0.o.part* > ./model/extract.0-0.o
> > cat: cannot open ./model/extract.0-0.o.part*
> > Exit code: 2
> > Died at
> >
> /usr/local/bin/scripts-20080801-2109/training/train-factored-phrase-model.perl
> > line 900.
> >
> >
> > _______________________________________________
> > Moses-support mailing list
> > [email protected]
> > http://mailman.mit.edu/mailman/listinfo/moses-support
> >
> >
>



-- 
[EMAIL PROTECTED], gmail.com, yahoo.com}
Visit my Blog @ barliant.blogspot.com
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to