diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-06-28 09:40:43 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-06-28 09:40:43 +0300 |
commit | 82edbb98a7aa9186287f8f00dfcbbeb2906e7a5a (patch) | |
tree | c37477b8ad6d342622387165146849886bf38d3c | |
parent | 57e213ed190a15ebfbc193e9eeb525813e92cc1a (diff) |
comments in ini file about default weights
-rwxr-xr-x | scripts/training/train-model.perl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/training/train-model.perl b/scripts/training/train-model.perl index b693d774d..4d73ef4ee 100755 --- a/scripts/training/train-model.perl +++ b/scripts/training/train-model.perl @@ -2358,6 +2358,8 @@ sub create_ini { print INI "\n# dense weights for feature functions\n"; print INI "[weight]\n"; + print INI "# The default weights are NOT optimized for translation quality. You MUST tune the weights.\n"; + print INI "# Documentation for tuning is here: http://www.statmt.org/moses/?n=FactoredTraining.Tuning \n"; print INI "UnknownWordPenalty0= 1\n"; print INI "WordPenalty0= -1\n"; print INI "PhrasePenalty0= 0.2\n"; |