Moses-support Digest, Vol 100, Issue 44

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: Error in Train Phrase Model (mhmd hassnen)
2. Re: Error in Train Phrase Model (Barry Haddow)
3. OPUS is down (joerg)


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

Message: 1
Date: Fri, 13 Feb 2015 13:53:37 +0200
From: mhmd hassnen <mhmd_hasnen@yahoo.com>
Subject: Re: [Moses-support] Error in Train Phrase Model
To: Hieu Hoang <hieuhoang@gmail.com>
Cc: Moses-support Support <moses-support@mit.edu>
Message-ID: <2B780BB5-11FE-41FA-BD84-6B27097B3206@yahoo.com>
Content-Type: text/plain; charset="utf-8"

I use Linux Ubuntu 14

Sent from my iPhone

> On Feb 11, 2015, at 8:10 PM, Hieu Hoang <hieuhoang@gmail.com> wrote:
>
> what operating system are you using? if linux, what exact distro and version. If windows/cygwin, what exact version of cygwin?
>
> does it have the file
> /dev/stdin
>
>> On 11/02/15 09:30, mohamed hasanien wrote:
>> when i try to execute the train-model.perl i get this error
>> using this command
>>
>> nohup nice ~/mosesdecoder/scripts/training/train-model.perl -external-bin-dir $HOME/mosesdecoder/tools --corpus ~/corpus/news-commentary-v8.fr-en.clean --f fr --e en -lm 0:3:$HOME/lm/news-commentary-v8.fr-en.blm.en:8 ?cores 2
>>
>> Hi all,
>>
>> i get this error in the nohup.out file
>>
>> Executing: /root/mosesdecoder/scripts/training/giza2bal.pl -d "gzip -cd ./giza.en-fr/en-fr.A3.final.gz" -i "gzip -cd ./giza.fr-en/fr-en.A3.final.gz" |/root/mosesdecoder/scripts/../bin/symal -alignment="grow" -diagonal="yes" -final="yes" -both="no" > ./model/aligned.grow-diag-final
>> cannot open /dev/stdin
>> Exit code: 1
>> ERROR: Can't generate symmetrized alignment file
>>
>>
>> mohammed hassanien Mohammed
>> Egyption Programmers Vice-captain
>> 01000121556
>> Egyption Programmers Syndicate
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>
> --
> Hieu Hoang
> Research Associate (until March 2015)
> ** searching for interesting commercial MT position **
> University of Edinburgh
> http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150213/e5215ac9/attachment-0001.htm

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

Message: 2
Date: Fri, 13 Feb 2015 12:12:06 +0000
From: Barry Haddow <bhaddow@staffmail.ed.ac.uk>
Subject: Re: [Moses-support] Error in Train Phrase Model
To: mhmd hassnen <mhmd_hasnen@yahoo.com>, Hieu Hoang
<hieuhoang@gmail.com>
Cc: Moses-support Support <moses-support@mit.edu>
Message-ID: <54DDEA16.1030601@staffmail.ed.ac.uk>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi Mohammed

If you look at this discussion:

http://unix.stackexchange.com/questions/38538/bash-dev-stderr-permission-denied

it seems that you have changed users in a terminal session, and you are
executing the script as a user that does not have permission to access
the terminal i/o devices. symal tries to explicitly open /dev/stdout
(which it probably shouldn't) and fails.

If you can open your terminal and run the training without switching
user then it should work.

cheers - Barry

On 13/02/15 11:53, mhmd hassnen wrote:
> I use Linux Ubuntu <http://www.ubuntu.com/> 14
>
> Sent from my iPhone
>
> On Feb 11, 2015, at 8:10 PM, Hieu Hoang <hieuhoang@gmail.com
> <mailto:hieuhoang@gmail.com>> wrote:
>
>> what operating system are you using? if linux, what exact distro and
>> version. If windows/cygwin, what exact version of cygwin?
>>
>> does it have the file
>> */dev/stdin
>>
>> *
>> On 11/02/15 09:30, mohamed hasanien wrote:
>>> *when i try to execute the train-model.perl i get this error
>>> using this command *
>>> *
>>> nohup nice ~/mosesdecoder/scripts/training/train-model.perl
>>> -external-bin-dir $HOME/mosesdecoder/tools --corpus
>>> ~/corpus/news-commentary-v8.fr
>>> <http://news-commentary-v8.fr>-en.clean --f fr --e en -lm
>>> 0:3:$HOME/lm/news-commentary-v8.fr
>>> <http://news-commentary-v8.fr>-en.blm.en:8 ?cores 2*
>>> *
>>> Hi all, *
>>> *
>>> i get this error in the nohup.out file *
>>> *
>>> Executing: /root/mosesdecoder/scripts/training/giza2bal.pl -d "gzip
>>> -cd ./giza.en-fr/en-fr.A3.final.gz" -i "gzip -cd ./giza.fr
>>> <http://giza.fr>-en/fr-en.A3.final.gz"
>>> |/root/mosesdecoder/scripts/../bin/symal -alignment="grow"
>>> -diagonal="yes" -final="yes" -both="no" >
>>> ./model/aligned.grow-diag-final*
>>> *cannot open /dev/stdin*
>>> *Exit code: 1*
>>> *ERROR: Can't generate symmetrized alignment file*
>>>
>>> mohammed hassanien Mohammed
>>> Egyption Programmers Vice-captain
>>> 01000121556
>>> Egyption Programmers Syndicate
>>> <http://www.egprogrammers.org/>
>>>
>>>
>>> _______________________________________________
>>> Moses-support mailing list
>>> Moses-support@mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>> --
>> Hieu Hoang
>> Research Associate (until March 2015)
>> ** searching for interesting commercial MT position **
>> University of Edinburgh
>> http://www.hoang.co.uk/hieu
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support


--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



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

Message: 3
Date: Fri, 13 Feb 2015 15:59:47 +0100
From: joerg <tiedeman@gmail.com>
Subject: [Moses-support] OPUS is down
To: moses-support <moses-support@mit.edu>
Message-ID: <AB34C6BF-FD9E-4BFA-8926-47D045D2C115@gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Dear all,

Just in case someone on the list tried to use OPUS (http://opus.lingfil.uu.se) during the last days. The server is down and we have some serious problems with at least one of the disks. Unfortunately, there is no immediate replacement for our hardware but we are working on recovering the service.

Sorry for any inconvenience caused by this.

Best,
J?rg

**********************************************************************************
J?rg Tiedemann http://stp.lingfil.uu.se/~joerg/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150213/9236cf33/attachment.htm

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

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


End of Moses-support Digest, Vol 100, Issue 44
**********************************************

0 Response to "Moses-support Digest, Vol 100, Issue 44"

Post a Comment