From 88827bde7abd9745fb0437a299e0bb6ad96babe6 Mon Sep 17 00:00:00 2001 From: graehl Date: Wed, 11 Aug 2010 01:02:02 +0000 Subject: only print cfg once git-svn-id: https://ws10smt.googlecode.com/svn/trunk@505 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/cdec.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'decoder/cdec.cc') 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) -- cgit v1.2.3