Hi Prashant,
I think we already talked about that some time ago. Take a look again at the "wipo" branch of the moses repository. It is nearly up-to-date now (a few commits behind master). So now you should be able to compile it without problems if you can compile the current master version. There you can do something like:

<specOpt switches="-tm 0.23 0.3 0.4 0.5 -0.3"/> this is a sentence I want to translate

Then it will use this weights for the particular sentence, but for no other sentence.

There is a reference in the file manual-report.pdf in the main directory of the branch. This reference might however be a little out-of-date.
Best,
Marcin

W dniu 24.08.2012 16:03, Prashant Mathur pisze:
Hi All,
I am trying to change the phrase scores after the phrase table and reordering model is loaded in the memory. Is it possible? If so, which class should I look into?
If not.. is it possible to maintain a parallel data structure and prioritize it over the already loaded scores?
 
--
Prashant


_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support


_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to