diff options
author | Patrick Simianer <p@simianer.de> | 2016-04-26 16:17:25 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-04-26 16:17:25 +0200 |
commit | d903f9e05865d134d272b87a8ca989f159188164 (patch) | |
tree | b59ae70a1745a09db3a330f3b2a4d55a641c40f5 /training/dtrain/dtrain.h | |
parent | bc5be91606bd57243cd7f1ba10404c9477630497 (diff) |
dtrain: all pairs
Diffstat (limited to 'training/dtrain/dtrain.h')
-rw-r--r-- | training/dtrain/dtrain.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/training/dtrain/dtrain.h b/training/dtrain/dtrain.h index 883e6028..83dcd945 100644 --- a/training/dtrain/dtrain.h +++ b/training/dtrain/dtrain.h @@ -71,6 +71,8 @@ dtrain_init(int argc, "use top/bottom 10% (default) of k-best as 'good' and 'bad' for pair sampling, 0 to use all pairs") ("adjust,A", po::bool_switch()->default_value(false), "adjust cut for optimal pos. in k-best to cut") + ("all,A", po::bool_switch()->default_value(false), + "update using all pairs, ignoring margin and threshold") ("score,s", po::value<string>()->default_value("nakov"), "per-sentence BLEU (approx.)") ("nakov_fix", po::value<weight_t>()->default_value(1.0), @@ -106,7 +108,7 @@ dtrain_init(int argc, "output raw data (e.g. k-best lists) [to filename]") ("stop_after", po::value<size_t>()->default_value(numeric_limits<size_t>::max()), "only look at this number of segments") - ("print_weights,P", po::value<string>()->default_value("EgivenFCoherent SampleCountF CountEF MaxLexFgivenE MaxLexEgivenF IsSingletonF IsSingletonFE Glue WordPenalty PassThrough LanguageModel LanguageModel_OOV"), + ("print_weights", po::value<string>()->default_value("EgivenFCoherent SampleCountF CountEF MaxLexFgivenE MaxLexEgivenF IsSingletonF IsSingletonFE Glue WordPenalty PassThrough LanguageModel LanguageModel_OOV"), "list of weights to print after each iteration"); po::options_description clopts("Command Line Options"); clopts.add_options() |