Moses-support Digest, Vol 128, Issue 33

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: Specifying paths on CLI (Dingyuan Wang)
2. Re: Specifying paths on CLI (Hieu Hoang)
3. NPLM compilation error with moses (Sanjanashree Palanivel)


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

Message: 1
Date: Thu, 29 Jun 2017 21:32:00 +0800
From: Dingyuan Wang <abcdoyle888@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:
<CAFt8H76vqK5ShWWPhW4F0OKbV6mi3=E=E_i3zcTxwpK4qzUCig@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

It's possible to use relative paths in moses.ini if moses binary is called
in the correct cwd.

2017?6?29? ??9:09?"liling tan" <alvations@gmail.com>???

> 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
>>>
>>>
>>
> _______________________________________________
> 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/deb47bfb/attachment-0001.html

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

Message: 2
Date: Thu, 29 Jun 2017 14:34:14 +0100
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Specifying paths on CLI
To: Dingyuan Wang <abcdoyle888@gmail.com>
Cc: moses-support <moses-support@mit.edu>, liling tan
<alvations@gmail.com>
Message-ID:
<CAEKMkbhDxJD1_2-8Fh2mg1uuEFGA9yoG=uZ2U-hRw7=jsVXsDg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

You can use relative paths but it's always relative to the current
directory, not the directory of moses.ini

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


On 29 June 2017 at 14:32, Dingyuan Wang <abcdoyle888@gmail.com> wrote:

> It's possible to use relative paths in moses.ini if moses binary is called
> in the correct cwd.
>
> 2017?6?29? ??9:09?"liling tan" <alvations@gmail.com>???
>
>> 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
>>>>
>>>>
>>>
>> _______________________________________________
>> 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/7a34b08b/attachment-0001.html

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

Message: 3
Date: Thu, 29 Jun 2017 19:29:40 +0530
From: Sanjanashree Palanivel <sanjanashree@gmail.com>
Subject: [Moses-support] NPLM compilation error with moses
To: moses-support@mit.edu
Message-ID:
<CAAc_kp5tw4rMYVEMmJEchgL1P-naOeTYsfP9r3txcHBj2SXurA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi all,
I tried to compile moses using the command " ./bjam -a
--with-boost=/path/to/boost --with-nplm=/path/to nplm" I got error stating
gcc link failed. Then I compiled moses with boost alone .It is working.
Please guide me


P.S: Boost version is 1_58

--
Thanks and regards,

Sanjanasri J.P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20170629/d9fda740/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 128, Issue 33
**********************************************

Related Posts :

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

Post a Comment