extracting longer phrases via moses, giza++, etc.

We can use -max-phrase-length, which is an option for /train-factored-phrase-model.perl to change max phrase length. (The default max phrase length is 7 afaik).

$SCRIPT/training/train-factored-phrase-model.perl
  -scripts-root-dir $SCRIPT
  -root-dir .
  -corpus ttx
  -f en -e th
  -alignment grow-diag-final-and
  -reordering msd-bidirectional-fe
  -lm 0:5:ttx.lm:0
  -max-phrase-length 10

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s