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
commit88827bde7abd9745fb0437a299e0bb6ad96babe6 (patch)
treeea9a838d19f14c1fdf53f2711644c43d506888bd /decoder/cdec.cc
parent1109095a09368ae29d6aa367334db6512b677f54 (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)