hi marion i think you have to add the arg *--NonTermConsecSource* look in extract-rules.cpp for more details
ps. add yourself to the moses mailing list before posting otherwise your posts won't get through
On 02/03/2012 22:32, Marion Weller wrote:
Hello, I trained an English-German model using target-side syntax (parsed with BitPar), and generally, it seems to be ok: tuning and translating a test set worked well. However, I found that there are no rules which contain only non-terminals such as s -> np vp , but only rules with lexical elements such as the following: , [X][np] are being [X][vp] [X] ||| [X][np] werden [X][vp] [s] ||| 0.00412179 6.47219e-05 1 0.0714974 2.718 ||| 1-0 4-2 ||| 80.871 0.333333 I then set --MinWords = 0, but this makes no difference: the resulting rule-tables are exactly the same. Here is the command line I used: training/train-model.perl --first-step 4 -scripts-root-dir $MS -root-dir $WORK -corpus $WORK/corpus/data -f src -e trg -alignment mysym -lm 0:5:$LM/europarl-de.lm.binary:8 -hierarchical -glue-grammar -max-phrase-length 5 --target-syntax --extract-options='--MaxSpan 999 --MinWords 0' Thanks a lot for your help, Marion _______________________________________________ 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
