Dear Moses users,
After Barry's kind help I was able to finish installing Moses and
continued my way through the steps described at statmt.org. Everything
went well until step (3) of the train phrase model, which yielded the
following output:
(3) generate word alignment @ Tue Oct 19 17:15:24 CEST 2010
Combining forward and inverted alignment from files:
./giza.fr-en/fr-en.A3.final.{bz2,gz}
./giza.en-fr/en-fr.A3.final.{bz2,gz}
Executing: mkdir -p ./model
Executing:
tools/moses-scripts/scripts-20101018-1701/-root-dir/training/symal/giza2bal.pl
-d "gzip -cd ./giza.en-fr/en-fr.A3.final.gz" -i "gzip -cd
./giza.fr-en/fr-en.A3.final.gz"
|tools/moses-scripts/scripts-20101018-1701/-root-dir/training/symal/symal
-alignment="grow" -diagonal="yes" -final="yes" -both="yes" >
./model/aligned.grow-diag-final-and
sh:
tools/moses-scripts/scripts-20101018-1701/-root-dir/training/symal/giza2bal.pl:
No such file or directory
sh: tools/moses-scripts/scripts-20101018-1701/-root-dir/training/symal/symal:
No such file or directory
Exit code: 127
ERROR: Can't generate symmetrized alignment file
Now, the subdirectory "-root-dir" does not exist, and train-model.perl
would have found giza2bal.pl and symal if that level had been
eliminated and the path were ...1701/training/...
So, "-root-dir" was somehow inserted. Searching for that string in
train-model.perl only yields the following:
unless &GetOptions('root-dir=s' => \$_ROOT_DIR,
'scripts-root-dir=s' => \$SCRIPTS_ROOTDIR,
Which makes me think that in some script or some Makefile, in some
directory (I wouldn't know which one), I ought to change
SCRIPTS_ROOTDIR manually by writing a piece of code unknown to me in
order for train-model.perl to find giza2bal.pl and symal. Am I on the
right planet here?
Again, thanks in advance for any hints.
Best regards,
Christian Skaug
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support