From fee1a5a81ee76a99808678caf1b7dc03cf7749c8 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Tue, 12 Apr 2016 19:17:34 +0200 Subject: dtrain: output tweaks --- training/dtrain/dtrain.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/training/dtrain/dtrain.cc b/training/dtrain/dtrain.cc index b488e661..bbe14547 100644 --- a/training/dtrain/dtrain.cc +++ b/training/dtrain/dtrain.cc @@ -97,7 +97,7 @@ main(int argc, char** argv) size_t input_sz = 0; // output configuration - cerr << fixed << setprecision(4); + cerr << fixed << setprecision(2); cerr << "Parameters:" << endl; cerr << setw(25) << "bitext " << "'" << input_fn << "'" << endl; cerr << setw(25) << "k " << k << endl; @@ -381,7 +381,7 @@ main(int argc, char** argv) cerr << endl; } cerr << " ---" << endl; - cerr << resetiosflags(ios::showpos) + cerr << resetiosflags(ios::showpos) << fixed << " 1best avg score: " << gold_avg*100; cerr << setiosflags(ios::showpos) << fixed << " (" << (gold_avg-gold_prev)*100 << ")" << endl; -- cgit v1.2.3