summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-13 20:06:20 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-13 20:06:20 +0000
commitff43f89ad09760571b2b4a19c4aafbd1a824d89c (patch)
tree5d8b3ea5d429662340b08c9e6b49b3fb6c3621dd
parentc01b3365f2bc6938970b47737b99fdd5640a0478 (diff)
weekend
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@544 ec762483-ff6d-05da-a07a-a48fb63a330f
-rwxr-xr-xdecoder/cfg_options.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/decoder/cfg_options.h b/decoder/cfg_options.h
index acd8d05b..10321a7f 100755
--- a/decoder/cfg_options.h
+++ b/decoder/cfg_options.h
@@ -9,7 +9,7 @@
struct CFGOptions {
CFGFormat format;
CFGBinarize binarize;
- std::string cfg_output,source_cfg_output;
+ std::string cfg_output,source_cfg_output,cfg_unbin_output;
void set_defaults() {
format.set_defaults();
binarize.set_defaults();
@@ -21,6 +21,7 @@ struct CFGOptions {
opts->add_options()
("cfg_output", defaulted_value(&cfg_output),"write final target CFG (before FSA rescoring) to this file")
("source_cfg_output", defaulted_value(&source_cfg_output),"write source CFG (after prelm-scoring, prelm-prune) to this file")
+ ("cfg_unbin_output", defaulted_value(&cfg_unbin_output),"write pre-binarization CFG to this file") //TODO:
;
binarize.AddOptions(opts);
format.AddOptions(opts);