Moses-support Digest, Vol 128, Issue 32

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. Compilation error nplm (Sanjanashree Palanivel)
2. Re: Compilation error nplm (Hieu Hoang)
3. Specifying paths on CLI (liling tan)
4. Re: Specifying paths on CLI (Hieu Hoang)
5. Re: Specifying paths on CLI (liling tan)


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

Message: 1
Date: Wed, 28 Jun 2017 22:09:43 +0530
From: Sanjanashree Palanivel <sanjanashree@gmail.com>
Subject: [Moses-support] Compilation error nplm
To: moses-support@mit.edu
Message-ID:
<CAAc_kp4pGJC1E7hYQDncKZGbAne96EdifzJf1SY6Hoz+2vGdKg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

I installed recent version of moses successfully, i also successfully
installed nplm, but i get error when i try to compile moses with nplm. I
dont know what is wrong, it would b great if i could get an earnest reply
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20170628/687b947d/attachment-0001.html

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

Message: 2
Date: Wed, 28 Jun 2017 19:22:39 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Compilation error nplm
To: Sanjanashree Palanivel <sanjanashree@gmail.com>,
moses-support@mit.edu
Message-ID: <ba43a751-4531-1be7-10a5-de15f8d393eb@gmail.com>
Content-Type: text/plain; charset="utf-8"

what is the exact command you used to compile moses with nplm and what
is the exact error you get?


On 28/06/2017 17:39, Sanjanashree Palanivel wrote:
> Hi,
>
> I installed recent version of moses successfully, i also
> successfully installed nplm, but i get error when i try to compile
> moses with nplm. I dont know what is wrong, it would b great if i
> could get an earnest reply
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support

--
Hieu Hoang
http://moses-smt.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20170628/04d5768e/attachment-0001.html

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

Message: 3
Date: Thu, 29 Jun 2017 17:44:50 +0800
From: liling tan <alvations@gmail.com>
Subject: [Moses-support] Specifying paths on CLI
To: moses-support <moses-support@mit.edu>
Message-ID:
<CAKzPaJK5mdYun8a-_bpbGLtmheJf8X3t7Zqhha5XND-nC0vpdg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear Moses community,

When decoding, it's easy to use the moses.ini if the paths are fixed. But
if the model has to be moved around different machines / users, it's a
little messy to replace the paths to the correct ones.

Is it possible to set the paths in moses.ini when calling the moses binary
on the CLI?

More specifically, is ther a way to overwrite the paths parameters in the
[feature]?
E.g. in the moses.ini, there's

PhraseDictionaryMemory name=TranslationModel0 num-features=4
path=/home/alvas/experiments/phrasemodel/work.src-trg/training/model/phrase-table.gz
input-factor=0 output-factor=0

Is there an equivalent CLI parameter that can overwrite the path? e.g.

./moses --phrase-dictionary-memory-path=
/home/someoneelse/anotherpath/phrasemodel/work.src-trg/training/model/phrase-table.gz
-f moses.ini < input.txt > output.txt

Thanks in advance for the answer!

Regards,
Liling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20170629/ce06b2c3/attachment-0001.html

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

Message: 4
Date: Thu, 29 Jun 2017 13:20:23 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Specifying paths on CLI
To: liling tan <alvations@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbgbjf4LyLRM3rozLU7AFS-P_aoA=g=m6aDP02Ajy+1m8A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

./moses -feature-overwrite "TranslationModel0
path=/home/someoneelse/anotherpath/phrasemodel/work.src-trg/training/model/phrase-table.gz"
-f moses.ini < input.txt > output.txt

Hieu Hoang
http://moses-smt.org/


On 29 June 2017 at 10:44, liling tan <alvations@gmail.com> wrote:

> Dear Moses community,
>
> When decoding, it's easy to use the moses.ini if the paths are fixed. But
> if the model has to be moved around different machines / users, it's a
> little messy to replace the paths to the correct ones.
>
> Is it possible to set the paths in moses.ini when calling the moses binary
> on the CLI?
>
> More specifically, is ther a way to overwrite the paths parameters in the
> [feature]?
> E.g. in the moses.ini, there's
>
> PhraseDictionaryMemory name=TranslationModel0 num-features=4
> path=/home/alvas/experiments/phrasemodel/work.src-trg/training/model/phrase-table.gz
> input-factor=0 output-factor=0
>
> Is there an equivalent CLI parameter that can overwrite the path? e.g.
>
> ./moses --phrase-dictionary-memory-path= /home/someoneelse/anotherpath/
> phrasemodel/work.src-trg/training/model/phrase-table.gz -f moses.ini <
> input.txt > output.txt
>
> Thanks in advance for the answer!
>
> Regards,
> Liling
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20170629/4992d920/attachment-0001.html

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

Message: 5
Date: Thu, 29 Jun 2017 21:09:39 +0800
From: liling tan <alvations@gmail.com>
Subject: Re: [Moses-support] Specifying paths on CLI
To: Hieu Hoang <hieuhoang@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAKzPaJ+iWrD7phaFXcc2nsaqFkFA-aW6=bnz8_oq5jdxiL7wFw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Awesome, thanks Hieu!!

On 29 Jun 2017 8:20 p.m., "Hieu Hoang" <hieuhoang@gmail.com> wrote:

> ./moses -feature-overwrite "TranslationModel0 path=/home/someoneelse/
> anotherpath/phrasemodel/work.src-trg/training/model/phrase-table.gz" -f
> moses.ini < input.txt > output.txt
>
> Hieu Hoang
> http://moses-smt.org/
>
>
> On 29 June 2017 at 10:44, liling tan <alvations@gmail.com> wrote:
>
>> Dear Moses community,
>>
>> When decoding, it's easy to use the moses.ini if the paths are fixed. But
>> if the model has to be moved around different machines / users, it's a
>> little messy to replace the paths to the correct ones.
>>
>> Is it possible to set the paths in moses.ini when calling the moses
>> binary on the CLI?
>>
>> More specifically, is ther a way to overwrite the paths parameters in the
>> [feature]?
>> E.g. in the moses.ini, there's
>>
>> PhraseDictionaryMemory name=TranslationModel0 num-features=4
>> path=/home/alvas/experiments/phrasemodel/work.src-trg/training/model/phrase-table.gz
>> input-factor=0 output-factor=0
>>
>> Is there an equivalent CLI parameter that can overwrite the path? e.g.
>>
>> ./moses --phrase-dictionary-memory-path= /home/someoneelse/anotherpath/
>> phrasemodel/work.src-trg/training/model/phrase-table.gz -f moses.ini <
>> input.txt > output.txt
>>
>> Thanks in advance for the answer!
>>
>> Regards,
>> Liling
>>
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20170629/05d9b77b/attachment.html

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

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


End of Moses-support Digest, Vol 128, Issue 32
**********************************************

Related Posts :

0 Response to "Moses-support Digest, Vol 128, Issue 32"

Post a Comment