diff options
author | Patrick Simianer <p@simianer.de> | 2014-08-02 14:11:14 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-08-02 14:11:14 +0200 |
commit | 70f75c7320929e9bd61c43b2664df85bee8dc103 (patch) | |
tree | 3687b80ae1ef2d10019a5583078ec546df19600f /decoder | |
parent | 689084212e7e3b124dba4512d1ee4e6f435a3612 (diff) |
fix
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/decoder.cc | 2 | ||||
-rw-r--r-- | decoder/scfg_translator.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/decoder/decoder.cc b/decoder/decoder.cc index 2c044192..081da8d6 100644 --- a/decoder/decoder.cc +++ b/decoder/decoder.cc @@ -366,7 +366,7 @@ DecoderImpl::DecoderImpl(po::variables_map& conf, int argc, char** argv, istream ("beam_prune3", po::value<double>(), "Optional pass 3") ("add_pass_through_rules,P","Add rules to translate OOV words as themselves") - ("add_extra_pass_through_features,Q",po::value<unsigned int>()->default_value(6), "Add PassThrough{1..N} features, capped at N.") + ("add_extra_pass_through_features,Q", po::value<unsigned int>()->default_value(6), "Add PassThrough{1..N} features, capped at N.") ("k_best,k",po::value<int>(),"Extract the k best derivations") ("unique_k_best,r", "Unique k-best translation list") ("aligner,a", "Run as a word/phrase aligner (src & ref required)") diff --git a/decoder/scfg_translator.cc b/decoder/scfg_translator.cc index 57ad85e2..0c3e4cf7 100644 --- a/decoder/scfg_translator.cc +++ b/decoder/scfg_translator.cc @@ -91,7 +91,7 @@ struct SCFGTranslatorImpl { SCFGTranslatorImpl(const boost::program_options::variables_map& conf) : max_span_limit(conf["scfg_max_span_limit"].as<int>()), add_pass_through_rules(conf.count("add_pass_through_rules")), - num_pt_features(conf["add_pass_through_features"].as<unsigned int>()), + num_pt_features(conf["add_extra_pass_through_features"].as<unsigned int>()), goal(conf["goal"].as<string>()), default_nt(conf["scfg_default_nt"].as<string>()), use_ctf_(conf.count("coarse_to_fine_beam_prune")) |