Hello Hieu, > ... You always need a glue rule
I assumed that training should create one. If I need to write one self, where can I read the details? The page https://www.statmt.org/moses/?n=Moses.SyntaxTutorial mentions only the using of glue rules. > Can I have a look at your moses.ini file I've put the whole model at http://uucode.com/download/tmp/mini-hie-to-string.tar.gz, here is the ini file: ``` ######################### ### MOSES CONFIG FILE ### ######################### # input factors [input-factors] 0 # mapping steps [mapping] 0 T 0 [cube-pruning-pop-limit] 1000 [non-terminals] X [search-algorithm] 3 [inputtype] 3 [max-chart-span] 20 1000 # feature functions [feature] UnknownWordPenalty WordPenalty PhrasePenalty PhraseDictionaryMemory name=TranslationModel0 num-features=4 path=/share/mini-hie-to-string/model/rule-table.gz input-factor=0 output-factor=0 KENLM name=LM0 factor=0 path=/share/mini-hie-to-string/lm.en order=2 # dense weights for feature functions [weight] # The default weights are NOT optimized for translation quality. You MUST tune the weights. # Documentation for tuning is here: http://www.statmt.org/moses/?n=FactoredTraining.Tuning UnknownWordPenalty0= 1 WordPenalty0= -1 PhrasePenalty0= 0.2 TranslationModel0= 0.2 0.2 0.2 0.2 LM0= 0.5 ``` Regards, Oleg On Thu, 17 Mar 2022 21:09:10 -0700 Hieu Hoang <hieuho...@gmail.com> wrote: > Can I have a look at your moses.ini file. You always need a glue rule > phrase take for scfg models to create the final output ... _______________________________________________ Moses-support mailing list Moses-support@mit.edu https://mailman.mit.edu/mailman/listinfo/moses-support