Moses-support Digest, Vol 167, Issue 4

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. Re: Training The Translation System (Hieu Hoang)


----------------------------------------------------------------------

Message: 1
Date: Tue, 22 Sep 2020 20:30:22 -0700
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Training The Translation System
To: Dhar <dhar1707069@stud.kuet.ac.bd>, "moses-support@mit.edu"
<moses-support@mit.edu>
Message-ID: <d64df401-03a1-c20d-4722-c636be259527@gmail.com>
Content-Type: text/plain; charset="utf-8"

1. don't use ~, fully specify the path.

2. copy the mgiza or giza++ executables and scripts to
~/mosesdecoder/tools. This is what i have in my directory

~/workspace/local/training-tools$ll total 12 drwxrwxr-x 2 s0565741 users
4096 Jul 23 2017 ./ drwxr-xr-x 8 s0565741 users 4096 May 28 09:26 ../
lrwxrwxrwx 1 s0565741 users 72 Jul 23 2017 merge_alignment.py->
/home/s0565741/workspace/github/mgiza/mgizapp/script
s/merge_alignment.py* lrwxrwxrwx 1 s0565741 users 55 Jul 23 2017 mgiza->
/home/s0565741/workspace/github/mgiza/mgizapp/bin/mgiza* lrwxrwxrwx 1
s0565741 users 55 Jul 23 2017 mkcls->
/home/s0565741/workspace/github/mgiza/mgizapp/bin/mkcls* lrwxrwxrwx 1
s0565741 users 58 Jul 23 2017 snt2cooc->
/home/s0565741/workspace/github/mgiza/mgizapp/bin/snt2cooc*

I recommend using mgiza rather than giza++

On Thu Sep 17,20 6:13 PM, Dhar wrote:
>
> Hello,
>
> This is my first email?.so if I ask anything wrong , please treat with
> consideration
>
> I am following moses manual . I have done everything successful upto
> the section 2.3.4 : LANGUAGE MODEL TRAINING? . But in 2.3.5 : TRAINING
> THE TRANSLATION SYSTEM I wrote the following code :
>
> mkdir ~/working
>
> cd ~/working
>
> nohup nice ~/mosesdecoder/scripts/training/train-model.perl -root-dir
> train \
>
> -corpus ~/corpus/news-commentary-v8.fr-en.clean
>
> \
>
> -f fr -e en -alignment grow-diag-final-and -reordering
> msd-bidirectional-fe \
>
> -lm 0:3:$HOME/lm/news-commentary-v8.fr-en.blm.en:8
>
> \
>
> -external-bin-dir ~/mosesdecoder/tools >& training.out &
>
> Then I text file named ?training.out? created ?in /home/dhar/working/
> and this file gave me following message:
>
> ERROR: Cannot find mkcls, GIZA++/mgiza, & snt2cooc.out/snt2cooc in
> /home/rbehnam/mosesdecoder/external-bin-dir.
> You MUST specify the parameter -external-bin-dir at
> /home/rbehnam/mosesdecoder/scripts/training/train-model.perl line 491.
> Best Regards,
> Argha Dhar
> Bachelor of Science in Computer Science and Engineering,
> Khulna University of Engineering & Technology
> Bangladesh
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support

--
Hieu Hoang
http://statmt.org/hieu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20200922/47840eab/attachment-0001.html

------------------------------

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 167, Issue 4
*********************************************

0 Response to "Moses-support Digest, Vol 167, Issue 4"

Post a Comment