Hi Felipe,

the hierarchical phrase-based model doesn't use a reordering model (the hope is that the synchronous grammar can capture most of the reordering behaviour between the source and target languages).  Give the command another try without the -reordering option.  I'll update the script to make it complain if both the -hierarchical and -reordering options are given.

Phil


On 15 Jun, 2010,at 10:58 PM, Felipe Sánchez Martínez <[email protected]> wrote:

Hello:

I'm trying to train a hierarchical phrase-based SMT system using the
current SVN version.

The command I'm using is:

moses-scripts/scripts/training/train-model.perl -hierarchical
-glue-grammar -max-phrase-length 5 --score-options="--GoodTuring"
-scripts-root-dir moses-scripts/scripts -root-dir en-es -corpus
en-es/corpus/corpus.clean -f en -e es -alignment grow-diag-final-and
-reordering msd-bidirectional-fe -lm 0:3:en-es/lm/corpus.lm:0 --parallel

and the error I get is:

(7) learn reordering model @ Tue Jun 15 23:34:34 CEST 2010
(7.1) [no factors] learn reordering model @ Tue Jun 15 23:34:34 CEST 2010
Executing: LC_ALL=C sort -T en-es/model en-es/model/extract.o >
en-es/model/extract.o.sorted
sort: open failed: en-es/model/extract.o: No such file or directory
Exit code: 2
ERROR at moses-scripts/scripts/training/train-model.perl line 1376.

It seems that there is a file missing.

Any help will be very welcome.

Thank you very much.
Regards.
--
Felipe
_______________________________________________
Moses-support mailing list
[email protected]
http://mailmanmit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to