the weights are in the moses.ini file, eg
[weight]
WordPenalty0= -0.131325
PhrasePenalty0= 0.064328
TranslationModel0= 0.0226604 0.02326 0.211062 0.00701641
LexicalReordering0= 0.12109 0.0194831 0.0563125 0.136496 0.0459526 0.0631051
Distortion0= 0.0218625
LM0= 0.0760463
UnknownWordPenalty0= 1

You can change the max phrase length of the decoder by using
--max-phrase-length when running the decoder

If you are new to Moses, it's best to work through this tutorial
   http://www.statmt.org/moses/?n=Moses.Baseline


Hieu Hoang
http://statmt.org/hieu


On Fri, 28 Feb 2020 at 19:19, Moses Visperas <moses.vispe...@eee.upd.edu.ph>
wrote:

> Hi all,
>
>
>
> I’ve been seeing a lot of papers where they they changed the decoder
> parameters such as the weights of the translation model, language model,
> distortion model, and the word penalty. Some change the max phrase lengths
> of the decoder. Where do I exactly change this parameters in order to
> achieve a better translation ?
>
>
>
>
>
>
> Thank you!
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
> _______________________________________________
> 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

Reply via email to