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: Regarding Moses Interface (Hieu Hoang)
2. Alternate weight settings and multithreading (Lane Schwartz)
3. Re: Alternate weight settings and multithreading (Philipp Koehn)
4. Re: Alternate weight settings and multithreading (Lane Schwartz)
5. Re: Alternate weight settings and multithreading
(Marcin Junczys-Dowmunt)
6. Re: Alternate weight settings and multithreading (Lane Schwartz)
----------------------------------------------------------------------
Message: 1
Date: Fri, 13 Jun 2014 10:02:33 +0100
From: Hieu Hoang <Hieu.Hoang@ed.ac.uk>
Subject: Re: [Moses-support] Regarding Moses Interface
To: Pranjal Das <pranjal4456@gmail.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbja047rVeuGfBL1ioQF-ov5YEnP3abzsTjqRmZcQhDTqg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
there's a windows gui interface here:
http://www.statmt.org/moses/?n=Moses.Packages
There's a computer-aided design tool based on Moses:
http://www.casmacat.eu/index.php?n=Installation.HomePage
This paper describes another GUI:
http://ufal.mff.cuni.cz/pbml/100/art-kurtz-seemann-braune-maletti.pdf
If you create another gui, please let us know
On 11 June 2014 17:50, Pranjal Das <pranjal4456@gmail.com> wrote:
> Hello everyone, just like apertium-viewer in apertium, is there any
> such interface for moses that i can use. I am not able to do that with
> moses server from the manual. Thank you.
> --
>
> Regards,
>
> *Pranjal Das*
> Department of Information Technology,
> Gauhati University Institute of Science and Technology,
> Phone- +91-8399879454
> _______________________________________________
> Moses-support mailing list
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20140613/e79b324b/attachment-0001.htm
------------------------------
Message: 2
Date: Fri, 13 Jun 2014 09:34:13 -0400
From: Lane Schwartz <dowobeha@gmail.com>
Subject: [Moses-support] Alternate weight settings and multithreading
To: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CABv3vZnfNScHBG3K91b5NeCAsYWEGAE--3Ej2wmr6PXUtppXUg@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Looking at the Alternate Weight Settings section of the documentation,
there is a note "this functionality currently does not work with
multi-threaded decoding."
http://www.statmt.org/moses/?n=Moses.AdvancedFeatures#alternateweightsettings
What is currently preventing this from working in multithreaded mode?
What changes would be required?
Thanks,
Lane
------------------------------
Message: 3
Date: Fri, 13 Jun 2014 09:47:21 -0400
From: Philipp Koehn <pkoehn@inf.ed.ac.uk>
Subject: Re: [Moses-support] Alternate weight settings and
multithreading
To: Lane Schwartz <dowobeha@gmail.com>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CAAFADDCGCMO8tXKYVt+OKhmv87zDQCf8nN4DFpsPrzn4qQu11A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi,
deep down in ScoreComponentCollection.cpp is the weighting of feature
scores:
GetWeightedScore() const
{
return
m_scores.inner_product(StaticData::Instance().GetAllWeights().m_scores);
}
So here you have the weights coming from the global StaticData.
This should make instead reference to a weight setting that should be
associated
with the sentence-specific Manager object.
Unfortunately, this function is called at various points in the code where
there is
no apparent current Manager object, so this would require a bit more
reorganization
of the code to make it work.
If you have time to do that, it would be a useful change.
-phi
On Fri, Jun 13, 2014 at 9:34 AM, Lane Schwartz <dowobeha@gmail.com> wrote:
> Looking at the Alternate Weight Settings section of the documentation,
> there is a note "this functionality currently does not work with
> multi-threaded decoding."
>
>
> http://www.statmt.org/moses/?n=Moses.AdvancedFeatures#alternateweightsettings
>
> What is currently preventing this from working in multithreaded mode?
> What changes would be required?
>
> Thanks,
> Lane
> _______________________________________________
> 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/20140613/b75ff82e/attachment-0001.htm
------------------------------
Message: 4
Date: Fri, 13 Jun 2014 09:50:09 -0400
From: Lane Schwartz <dowobeha@gmail.com>
Subject: Re: [Moses-support] Alternate weight settings and
multithreading
To: Philipp Koehn <pkoehn@inf.ed.ac.uk>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CABv3vZmpmg51WqyGza5tyCdUx6wUnC_SWXPqLJ9TYvHpALGg1A@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Thanks, Philipp. That's exactly the info I needed.
On Fri, Jun 13, 2014 at 9:47 AM, Philipp Koehn <pkoehn@inf.ed.ac.uk> wrote:
> Hi,
>
> deep down in ScoreComponentCollection.cpp is the weighting of feature
> scores:
>
> GetWeightedScore() const
> {
> return
> m_scores.inner_product(StaticData::Instance().GetAllWeights().m_scores);
> }
>
> So here you have the weights coming from the global StaticData.
>
> This should make instead reference to a weight setting that should be
> associated
> with the sentence-specific Manager object.
>
> Unfortunately, this function is called at various points in the code where
> there is
> no apparent current Manager object, so this would require a bit more
> reorganization
> of the code to make it work.
>
> If you have time to do that, it would be a useful change.
>
> -phi
>
>
> On Fri, Jun 13, 2014 at 9:34 AM, Lane Schwartz <dowobeha@gmail.com> wrote:
>>
>> Looking at the Alternate Weight Settings section of the documentation,
>> there is a note "this functionality currently does not work with
>> multi-threaded decoding."
>>
>>
>> http://www.statmt.org/moses/?n=Moses.AdvancedFeatures#alternateweightsettings
>>
>> What is currently preventing this from working in multithreaded mode?
>> What changes would be required?
>>
>> Thanks,
>> Lane
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
--
When a place gets crowded enough to require ID's, social collapse is not
far away. It is time to go elsewhere. The best thing about space travel
is that it made it possible to go elsewhere.
-- R.A. Heinlein, "Time Enough For Love"
------------------------------
Message: 5
Date: Fri, 13 Jun 2014 16:05:40 +0200
From: Marcin Junczys-Dowmunt <junczys@amu.edu.pl>
Subject: Re: [Moses-support] Alternate weight settings and
multithreading
To: moses-support@mit.edu
Message-ID: <539B0534.7010007@amu.edu.pl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Lane,
We at WIPO implemented a multi-threading and thread-safe version of this
years ago in our branch (wipo). The modifications to the code back then
where quite significant, so we never merged back to master. However if
you need help I can share expierience and coding power. It would help us
to migrate to master withouth loosing this functionality.
Back then, I bascially implemented a thread-local StaticData god-class.
This allowed to change weights and settings on sentence-base with XML-tags
<specOpt tm="1 0 1 0 1"/> Translate me
Unfortunately this code is now not compatible with the current master.
Best,
Marcin
W dniu 13.06.2014 15:50, Lane Schwartz pisze:
> Thanks, Philipp. That's exactly the info I needed.
>
> On Fri, Jun 13, 2014 at 9:47 AM, Philipp Koehn <pkoehn@inf.ed.ac.uk> wrote:
>> Hi,
>>
>> deep down in ScoreComponentCollection.cpp is the weighting of feature
>> scores:
>>
>> GetWeightedScore() const
>> {
>> return
>> m_scores.inner_product(StaticData::Instance().GetAllWeights().m_scores);
>> }
>>
>> So here you have the weights coming from the global StaticData.
>>
>> This should make instead reference to a weight setting that should be
>> associated
>> with the sentence-specific Manager object.
>>
>> Unfortunately, this function is called at various points in the code where
>> there is
>> no apparent current Manager object, so this would require a bit more
>> reorganization
>> of the code to make it work.
>>
>> If you have time to do that, it would be a useful change.
>>
>> -phi
>>
>>
>> On Fri, Jun 13, 2014 at 9:34 AM, Lane Schwartz <dowobeha@gmail.com> wrote:
>>> Looking at the Alternate Weight Settings section of the documentation,
>>> there is a note "this functionality currently does not work with
>>> multi-threaded decoding."
>>>
>>>
>>> http://www.statmt.org/moses/?n=Moses.AdvancedFeatures#alternateweightsettings
>>>
>>> What is currently preventing this from working in multithreaded mode?
>>> What changes would be required?
>>>
>>> Thanks,
>>> Lane
>>> _______________________________________________
>>> Moses-support mailing list
>>> Moses-support@mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>
>
------------------------------
Message: 6
Date: Fri, 13 Jun 2014 10:12:06 -0400
From: Lane Schwartz <dowobeha@gmail.com>
Subject: Re: [Moses-support] Alternate weight settings and
multithreading
To: Marcin Junczys-Dowmunt <junczys@amu.edu.pl>
Cc: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CABv3vZmSdkOOvfA2DKTDFTCQ1Ycbt30GPK_d_NJFtfEd-iFFiw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Marcin,
That is exactly the use case that I have in mind. I appreciate the
offer. I'll take a look and keep you in the loop.
Cheers,
Lane
On Fri, Jun 13, 2014 at 10:05 AM, Marcin Junczys-Dowmunt
<junczys@amu.edu.pl> wrote:
> Hi Lane,
> We at WIPO implemented a multi-threading and thread-safe version of this
> years ago in our branch (wipo). The modifications to the code back then
> where quite significant, so we never merged back to master. However if
> you need help I can share expierience and coding power. It would help us
> to migrate to master withouth loosing this functionality.
>
> Back then, I bascially implemented a thread-local StaticData god-class.
> This allowed to change weights and settings on sentence-base with XML-tags
>
> <specOpt tm="1 0 1 0 1"/> Translate me
>
> Unfortunately this code is now not compatible with the current master.
> Best,
> Marcin
>
> W dniu 13.06.2014 15:50, Lane Schwartz pisze:
>> Thanks, Philipp. That's exactly the info I needed.
>>
>> On Fri, Jun 13, 2014 at 9:47 AM, Philipp Koehn <pkoehn@inf.ed.ac.uk> wrote:
>>> Hi,
>>>
>>> deep down in ScoreComponentCollection.cpp is the weighting of feature
>>> scores:
>>>
>>> GetWeightedScore() const
>>> {
>>> return
>>> m_scores.inner_product(StaticData::Instance().GetAllWeights().m_scores);
>>> }
>>>
>>> So here you have the weights coming from the global StaticData.
>>>
>>> This should make instead reference to a weight setting that should be
>>> associated
>>> with the sentence-specific Manager object.
>>>
>>> Unfortunately, this function is called at various points in the code where
>>> there is
>>> no apparent current Manager object, so this would require a bit more
>>> reorganization
>>> of the code to make it work.
>>>
>>> If you have time to do that, it would be a useful change.
>>>
>>> -phi
>>>
>>>
>>> On Fri, Jun 13, 2014 at 9:34 AM, Lane Schwartz <dowobeha@gmail.com> wrote:
>>>> Looking at the Alternate Weight Settings section of the documentation,
>>>> there is a note "this functionality currently does not work with
>>>> multi-threaded decoding."
>>>>
>>>>
>>>> http://www.statmt.org/moses/?n=Moses.AdvancedFeatures#alternateweightsettings
>>>>
>>>> What is currently preventing this from working in multithreaded mode?
>>>> What changes would be required?
>>>>
>>>> Thanks,
>>>> Lane
>>>> _______________________________________________
>>>> 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
--
When a place gets crowded enough to require ID's, social collapse is not
far away. It is time to go elsewhere. The best thing about space travel
is that it made it possible to go elsewhere.
-- R.A. Heinlein, "Time Enough For Love"
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 92, Issue 30
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 92, Issue 30"
Post a Comment