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
commit19b0982a82473fe17b27c080b19a4f3addad9d5e (patch)
tree8d461c0ff5d604b46ef4d2abb4584687b4e817f1
parentaf38acf3c24273bdc533967fe1260fd109b2df98 (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);