Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-06-28 09:40:43 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-06-28 09:40:43 +0300
commit82edbb98a7aa9186287f8f00dfcbbeb2906e7a5a (patch)
treec37477b8ad6d342622387165146849886bf38d3c
parent57e213ed190a15ebfbc193e9eeb525813e92cc1a (diff)
comments in ini file about default weights
-rwxr-xr-xscripts/training/train-model.perl2
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";