summaryrefslogtreecommitdiff
path: root/decoder/cdec.cc
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-11 01:02:02 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-11 01:02:02 +0000
commit916944c8f234cbd4bdc06e5079f678f1835df426 (patch)
tree03920fa4a5c58c0eda68f0d1693b4fa289b749e1 /decoder/cdec.cc
parent49eb2dddac93654388d4a889414dc10db1fb8998 (diff)
only print cfg once
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@505 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/cdec.cc')
-rw-r--r--decoder/cdec.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/decoder/cdec.cc b/decoder/cdec.cc
index b5d768e8..9696fb69 100644
--- a/decoder/cdec.cc
+++ b/decoder/cdec.cc
@@ -661,11 +661,6 @@ int main(int argc, char** argv) {
HgCFG hgcfg(forest);
cfg_options.maybe_output(hgcfg);
- if (!cfg_options.cfg_output.empty()) {
- WriteFile o(cfg_options.cfg_output);
- CFG &cfg=hgcfg.GetCFG();
- cfg.Print(o.get(),cfg_options.format);
- }
if (!fsa_ffs.empty()) {
Timer t("Target FSA rescoring:");
if (!has_late_models)