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:
authorMichael Denkowski <mdenkows@amazon.com>2015-09-25 12:03:23 +0300
committerMichael Denkowski <mdenkows@amazon.com>2015-09-25 12:03:23 +0300
commit56e3bc1ea209540bc0ade9797e6dfba578738e1d (patch)
treea3594bc0cd9783e3d109f374a9e20b323e736a5e /moses/Parameter.cpp
parentd2a6aa752e91ce62bd746a704b1a7e7534fdbb59 (diff)
Reintroduce deterministic cube pruning as option
Use --cube-pruning-deterministic-search or --cbds
Diffstat (limited to 'moses/Parameter.cpp')
-rw-r--r--moses/Parameter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/moses/Parameter.cpp b/moses/Parameter.cpp
index d0b6d6374..564b2e506 100644
--- a/moses/Parameter.cpp
+++ b/moses/Parameter.cpp
@@ -116,6 +116,7 @@ Parameter::Parameter()
AddParam(cube_opts,"cube-pruning-pop-limit", "cbp", "How many hypotheses should be popped for each stack. (default = 1000)");
AddParam(cube_opts,"cube-pruning-diversity", "cbd", "How many hypotheses should be created for each coverage. (default = 0)");
AddParam(cube_opts,"cube-pruning-lazy-scoring", "cbls", "Don't fully score a hypothesis until it is popped");
+ AddParam(cube_opts,"cube-pruning-deterministic-search", "cbds", "Break ties deterministically during search");
///////////////////////////////////////////////////////////////////////////////////////
// minimum bayes risk decoding