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: Q regarding ./moses -f
../scripts/training/train/model/moses.ini (Hieu Hoang)
2. Re: Q regarding ./moses -f
../scripts/training/train/model/moses.ini (Hieu Hoang)
----------------------------------------------------------------------
Message: 1
Date: Fri, 20 Nov 2015 00:00:57 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Q regarding ./moses -f
../scripts/training/train/model/moses.ini
To: koormoosh <koormoosh@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbhQ46Wf_S41qESApLJOQxr5j2MVaT_V_06MHVx0NrAz2w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I'm not sure what you mean. Can you give an example or point to the exact
part of the code where it does this
Hieu Hoang
http://www.hoang.co.uk/hieu
On 19 November 2015 at 13:47, koormoosh <koormoosh@gmail.com> wrote:
> Hi,
>
> What is the reason that during loading moses in the test time using:
>
> ./moses -f ../scripts/training/train/model/moses.ini
>
> it calls the decoder before it fully loads itself and gets ready for
> translating?
>
> *** please note that I am talking about the period after running the above
> line and right "before" asking a test sentence to be translated. I
> understand that it needs to call the decoder when a test sentence is asked.
>
> Thanks
> koorm
>
> _______________________________________________
> 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/20151119/68d68db3/attachment-0001.html
------------------------------
Message: 2
Date: Fri, 20 Nov 2015 00:56:53 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Q regarding ./moses -f
../scripts/training/train/model/moses.ini
To: koormoosh <koormoosh@gmail.com>, moses-support
<moses-support@mit.edu>
Message-ID:
<CAEKMkbgiLxuZ3WwksZWR4b-YLxGTm8ogUo1JjELSoLPMJcw1EQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Good question
During loading of the memory phrase table, the language model score is
calculated for the target phrase side of each translation rule. Therefore
the LanguageModelSRI::GetValue() get called during load.
However, if you are using a binary phrase-table where translation rules are
loaded on demand, then the translation rules are only loaded during
translation. Therefore LanguageModelSRI::GetValue() is only called during
translation
Hieu Hoang
http://www.hoang.co.uk/hieu
On 20 November 2015 at 00:39, koormoosh <koormoosh@gmail.com> wrote:
> Hi Hieu,
>
> Just put cout<<"IAMCALLINGDECODER"<<endl; in the SRI.cpp,
> LanguageModelSRI::GetValue function under moses/LM/SRI.cpp.
> bjam moses with-srilm, and do the trucasing, training, tuning, and etc to
> get the moses.ini. Then call moses to load things into the memory using:
> ./moses -f ../scripts/training/train/model/moses.ini
> It spits out "IAMCALLINGDECODER".
>
> The confusion is the reason that it calls the decoder when it's loading
> quantities into the memory to prepare for translating.
>
> On Fri, Nov 20, 2015 at 11:00 AM, Hieu Hoang <hieuhoang@gmail.com> wrote:
>
>> I'm not sure what you mean. Can you give an example or point to the exact
>> part of the code where it does this
>>
>> Hieu Hoang
>> http://www.hoang.co.uk/hieu
>>
>> On 19 November 2015 at 13:47, koormoosh <koormoosh@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> What is the reason that during loading moses in the test time using:
>>>
>>> ./moses -f ../scripts/training/train/model/moses.ini
>>>
>>> it calls the decoder before it fully loads itself and gets ready for
>>> translating?
>>>
>>> *** please note that I am talking about the period after running the
>>> above line and right "before" asking a test sentence to be translated. I
>>> understand that it needs to call the decoder when a test sentence is asked.
>>>
>>> Thanks
>>> koorm
>>>
>>> _______________________________________________
>>> 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/20151119/b94e037e/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 109, Issue 46
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 109, Issue 46"
Post a Comment