You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by mj...@apache.org on 2016/09/07 20:42:37 UTC

[2/4] incubator-joshua git commit: set default phrase length to 5 instead of 10

set default phrase length to 5 instead of 10


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/60bf7170
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/60bf7170
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/60bf7170

Branch: refs/heads/master
Commit: 60bf717055b4a52f07690b865186f222a040a753
Parents: d61eb53
Author: Matt Post <po...@cs.jhu.edu>
Authored: Wed Sep 7 16:40:15 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Wed Sep 7 16:40:15 2016 -0400

----------------------------------------------------------------------
 scripts/training/templates/thrax-phrase.conf | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/60bf7170/scripts/training/templates/thrax-phrase.conf
----------------------------------------------------------------------
diff --git a/scripts/training/templates/thrax-phrase.conf b/scripts/training/templates/thrax-phrase.conf
index 630c76f..1585383 100644
--- a/scripts/training/templates/thrax-phrase.conf
+++ b/scripts/training/templates/thrax-phrase.conf
@@ -17,15 +17,11 @@ min-rule-count 1
 # the number of reducers
 reducers 16
 
-# not only do these next six options have the suggested values as given
-# in Chiang's "Hierarchical Phrase-based Translation" (CL), they are also
-# Thrax's default values! You could comment them out and the resulting grammar
-# would be identical.
-
-# maximum length of initial phrase pairs
-initial-phrase-length   10
-lex-source-words        10
-lex-target-words        10
+# Maximum length of initial phrase pairs. These are set to be shorter than
+# used by Hiero.
+initial-phrase-length   5
+lex-source-words        5
+lex-target-words        5
 
 # maximum number of NTs in a rule
 arity                   0