Thanks, Philipp. That's exactly the info I needed.

On Fri, Jun 13, 2014 at 9:47 AM, Philipp Koehn <[email protected]> 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 <[email protected]> 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
>> [email protected]
>> 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
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to