Send Moses-support mailing list submissions to
moses-support@mit.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu
You can reach the person managing the list at
moses-support-owner@mit.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."
Today's Topics:
1. experiment.perl not working with config.toy (Nicholas Ruiz)
----------------------------------------------------------------------
Message: 1
Date: Fri, 20 Nov 2015 15:09:21 -0500
From: Nicholas Ruiz <nicruiz@fbk.eu>
Subject: [Moses-support] experiment.perl not working with config.toy
To: moses-support@mit.edu
Message-ID:
<CAKa+0YOf3s=qYGqBNyQzyp5eZop-EEGQuypJLJzjZO+=kzU0Aw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi all,
I'm having some issues running config.toy with EMS (experiment.py). I have
a vanilla installation of Moses, which compiles successfully, but EMS is
giving me a headache with mgiza. I followed the instructions here and here
to install Moses and mgiza:
http://www.statmt.org/moses/?n=Development.GetStarted
http://www.statmt.org/moses/?n=Moses.ExternalTools#ntoc3
My moses installation is here:
[nruiz@cheetah-h2 training-tools]$ cd
/n/w10-nruiz/mosesdecoder/bin/training-tools
[nruiz@cheetah-h2 training-tools]$ ls -l
total 8
-rwxr-xr-x 1 nruiz slt 3291 Nov 20 14:52 merge_alignment.py
drwxr-xr-x 2 nruiz slt 4096 Nov 20 14:50 mgizapp
[nruiz@cheetah-h2 training-tools]$ ls -l mgizapp/
total 4188
-rw-r--r-- 1 nruiz slt 3848 Nov 20 14:50 alignment.o
-rw-r--r-- 1 nruiz slt 11144 Nov 20 14:50 AlignTables.o
-rw-r--r-- 1 nruiz slt 57344 Nov 20 14:50 ATables.o
....
When executing experiment.perl, I get an error in mgiza, complaining that
mkcls can't be found. I'm enclosing my minor modification of config.toy for
troubleshooting.
Here's the command that fails:
$ /n/w10-nruiz/mosesdecoder/scripts/training/train-model.perl -mgiza
-mgiza-cpus 16 -dont-zip -first-step 2 -last-step 2 -external-bin-dir
/n/w10-nruiz/mosesdecoder/bin/training-tools -f fr -e en -alignment
grow-diag-final-and -max-phrase-length 5 -reordering msd-bidirectional-fe
-score-options '--GoodTuring --MinScore 2:0.0001' -parallel -corpus-dir
/n/w10-nruiz/mt/zh-en/experiment/toy/training/prepared.3 -giza-e2f
/n/w10-nruiz/mt/zh-en/experiment/toy/training/giza.5 -direction 2
Use of implicit split to @_ is deprecated at
/n/w10-nruiz/mosesdecoder/scripts/training/train-model.perl line 2091.
Using SCRIPTS_ROOTDIR: /n/w10-nruiz/mosesdecoder/scripts
Using multi-thread GIZA
using gzip
ERROR: Cannot find mkcls, GIZA++/mgiza, & snt2cooc.out/snt2cooc in
/n/w10-nruiz/mosesdecoder/bin/training-tools.
You MUST specify the parameter -external-bin-dir at
/n/w10-nruiz/mosesdecoder/scripts/training/train-model.perl line 484.
Do you know why train-model.perl is having trouble finding the mgiza
executables? Thanks for your help!
Thanks,
Nick
z?n? ???u
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151120/1d3d8c71/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.toy
Type: application/octet-stream
Size: 19925 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20151120/1d3d8c71/attachment.obj
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 109, Issue 47
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 109, Issue 47"
Post a Comment