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 <s0565741@odin.inf.ed.ac.uk>2016-11-09 07:03:28 +0300
committerHieu Hoang <s0565741@odin.inf.ed.ac.uk>2016-11-09 07:03:28 +0300
commit81fac338b1bfbdb0b2e4fd999300d31c2c136a03 (patch)
tree4d55528f4bdf426891127cd4c596e2e4fe5961aa
parent7dd7ffa650746b2ca462ec804f323bdb97934c13 (diff)
add back [non-termninals]. Unimplemented but used by regressions tests, and probably by any SCFG model
-rw-r--r--contrib/moses2/legacy/Parameter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/moses2/legacy/Parameter.cpp b/contrib/moses2/legacy/Parameter.cpp
index 44e7cd56a..9bb5b2066 100644
--- a/contrib/moses2/legacy/Parameter.cpp
+++ b/contrib/moses2/legacy/Parameter.cpp
@@ -314,8 +314,8 @@ Parameter::Parameter()
po::options_description chart_opts("Chart Decoding Options");
AddParam(chart_opts, "max-chart-span",
"maximum num. of source word chart rules can consume (default 10)");
- //AddParam(chart_opts, "non-terminals",
- // "list of non-term symbols, space separated");
+ AddParam(chart_opts, "non-terminals",
+ "list of non-term symbols, space separated");
//AddParam(chart_opts, "rule-limit",
// "a little like table limit. But for chart decoding rules. Default is DEFAULT_MAX_TRANS_OPT_SIZE");
//AddParam(chart_opts, "source-label-overlap",