Moses-support Digest, Vol 84, Issue 43

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: truecase.perl error (Read, James C)
2. Re: truecase.perl error (Barry Haddow)
3. Re: truecase.perl error (Read, James C)
4. Re: How to use the NeuralLM (Kenneth Heafield)


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

Message: 1
Date: Tue, 29 Oct 2013 14:45:25 +0000
From: "Read, James C" <jcread@essex.ac.uk>
Subject: Re: [Moses-support] truecase.perl error
To: Dimitris Mavroeidis <dmavroeidis@csri.gr>, "moses-support@mit.edu"
<moses-support@mit.edu>
Message-ID:
<F00840E41983C645928E21E3C35F4EB1012CF34CD4@mbx1-node2.essex.ac.uk>
Content-Type: text/plain; charset="iso-8859-7"

Already tried that. Didn't work.
________________________________________
From: Dimitris Mavroeidis [dmavroeidis@csri.gr]
Sent: 29 October 2013 14:42
To: Read, James C; moses-support@mit.edu
Subject: Re: [Moses-support] truecase.perl error

Hi James,

Try using absolute paths everywhere, instead of relative. For instance,
try "/home/james/nlp_tools/mosesdecoder/scripts/recaser/truecase.perl"
(hypothetical path) instead of
"~/mosesdecoder/scripts/recaser/truecase.perl".

Best,
Dimitris


On 29/10/2013 04:24 ??, Read, James C wrote:
> Hi,
>
> I'm following the instructions to build a baseline system on http://www.statmt.org/moses/?n=Moses.Baseline
>
> I get up to
>
>
> ~/mosesdecoder/scripts/recaser/truecase.perl \
> --model ~/corpus/truecase-model.en \
> < ~/corpus/news-commentary-v8.fr-en.tok.en \
> > ~/corpus/news-commentary-v8.fr-en.true.en
>
> and then I get the following error:
>
> ERROR: could not open '/home/myname/corpus/truecase-model.en' at ./truecase.perl line 18.
>
> which is strange because then when I look in corpus the file is there whereas it previously wasn't. I've looked at the script and can't see any reason why the script should die. It checks if it can open the file and dies if not. Any idea what is happening?
>
> James
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support




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

Message: 2
Date: Tue, 29 Oct 2013 14:53:21 +0000
From: Barry Haddow <bhaddow@staffmail.ed.ac.uk>
Subject: Re: [Moses-support] truecase.perl error
To: "Read, James C" <jcread@essex.ac.uk>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID: <526FCBE1.8050805@staffmail.ed.ac.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi James

You need to run the train-truecase.perl script to create a model before
running truecase.perl. Did the training work correctly? Can you run 'ls
-l' on the ~/corpus directory?

cheers - Barry

On 29/10/13 14:24, Read, James C wrote:
> Hi,
>
> I'm following the instructions to build a baseline system on http://www.statmt.org/moses/?n=Moses.Baseline
>
> I get up to
>
>
> ~/mosesdecoder/scripts/recaser/truecase.perl \
> --model ~/corpus/truecase-model.en \
> < ~/corpus/news-commentary-v8.fr-en.tok.en \
> > ~/corpus/news-commentary-v8.fr-en.true.en
>
> and then I get the following error:
>
> ERROR: could not open '/home/myname/corpus/truecase-model.en' at ./truecase.perl line 18.
>
> which is strange because then when I look in corpus the file is there whereas it previously wasn't. I've looked at the script and can't see any reason why the script should die. It checks if it can open the file and dies if not. Any idea what is happening?
>
> James
>
> _______________________________________________
> 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: Tue, 29 Oct 2013 14:57:07 +0000
From: "Read, James C" <jcread@essex.ac.uk>
Subject: Re: [Moses-support] truecase.perl error
To: Barry Haddow <bhaddow@staffmail.ed.ac.uk>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<F00840E41983C645928E21E3C35F4EB1012CF34CE7@mbx1-node2.essex.ac.uk>
Content-Type: text/plain; charset="us-ascii"

Indeed this was the problem. I went back and ran the training script again and this time it works. Maybe I typed something in wrong last time round. Thanks. It's fixed now.

James
________________________________________
From: Barry Haddow [bhaddow@staffmail.ed.ac.uk]
Sent: 29 October 2013 14:53
To: Read, James C
Cc: moses-support@mit.edu
Subject: Re: [Moses-support] truecase.perl error

Hi James

You need to run the train-truecase.perl script to create a model before
running truecase.perl. Did the training work correctly? Can you run 'ls
-l' on the ~/corpus directory?

cheers - Barry

On 29/10/13 14:24, Read, James C wrote:
> Hi,
>
> I'm following the instructions to build a baseline system on http://www.statmt.org/moses/?n=Moses.Baseline
>
> I get up to
>
>
> ~/mosesdecoder/scripts/recaser/truecase.perl \
> --model ~/corpus/truecase-model.en \
> < ~/corpus/news-commentary-v8.fr-en.tok.en \
> > ~/corpus/news-commentary-v8.fr-en.true.en
>
> and then I get the following error:
>
> ERROR: could not open '/home/myname/corpus/truecase-model.en' at ./truecase.perl line 18.
>
> which is strange because then when I look in corpus the file is there whereas it previously wasn't. I've looked at the script and can't see any reason why the script should die. It checks if it can open the file and dies if not. Any idea what is happening?
>
> James
>
> _______________________________________________
> 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: 4
Date: Tue, 29 Oct 2013 08:48:41 -0700
From: Kenneth Heafield <moses@kheafield.com>
Subject: Re: [Moses-support] How to use the NeuralLM
To: moses-support@mit.edu
Message-ID: <526FD8D9.1050801@kheafield.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I also feel obliged to point out that nplm aka NeuralLM is currently
not threadsafe, but I have an open thread with Ashish on this point.

Kenneth

On 10/29/13 04:36, Hieu Hoang wrote:
> I just integrated Ashish Vaswani's Neural LM into the decoder, based on
> code by Lane Schwartz.
>
> To compile Moses with the new LM, do
> ./bjam .... --with-nplm=[path/to/nplm]
>
> I don't know if it works yet, or know how to use it. You should read
> Ashish's paper and download his code
> http://nlg.isi.edu/software/nplm/
>
> If you find out how to use it, please let us know!
>
>
>
> On 29 October 2013 02:28, Li Xiang <lixiang.ict@gmail.com
> <mailto:lixiang.ict@gmail.com>> wrote:
>
> Hi,
>
> I just find the NeuralLM is added into the Moses. Could you give me
> an example about the usage? Thanks.
>
> --
> Xiang Li
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
>
> --
> Hieu Hoang
> Research Associate
> 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
>


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

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


End of Moses-support Digest, Vol 84, Issue 43
*********************************************

0 Response to "Moses-support Digest, Vol 84, Issue 43"

Post a Comment