summaryrefslogtreecommitdiff
path: root/decoder/decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/decoder.cc')
-rw-r--r--decoder/decoder.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/decoder/decoder.cc b/decoder/decoder.cc
index e0967e40..1a233fc5 100644
--- a/decoder/decoder.cc
+++ b/decoder/decoder.cc
@@ -580,10 +580,10 @@ DecoderImpl::DecoderImpl(po::variables_map& conf, int argc, char** argv, istream
cerr << "prelm rescoring with "<<prelm_ffs.size()<<" 0-state feature functions. +LM pass will use "<<late_ffs.size()<<" features (not counting rule features)."<<endl;
late_models = new ModelSet(feature_weights, late_ffs);
- show_models(conf,*late_models,"late ");
+ if (!SILENT) show_models(conf,*late_models,"late ");
prelm_models = new ModelSet(prelm_feature_weights, prelm_ffs);
- if (has_prelm_models)
- show_models(conf,*prelm_models,"prelm ");
+ if (has_prelm_models) {
+ if (!SILENT) show_models(conf,*prelm_models,"prelm "); }
int palg = 1;
if (LowercaseString(str("intersection_strategy",conf)) == "full") {