mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
Fix small bugs (info is printed to cerr)
This commit is contained in:
parent
e8a94a7bd2
commit
bd92b0634a
@ -20,7 +20,7 @@ InterpolatedScorer::InterpolatedScorer (const string& name, const string& config
|
||||
if (_scorers.size() == 0) {
|
||||
throw runtime_error("There are no scorers");
|
||||
}
|
||||
cout << "Number of scorers: " << _scorers.size() << endl;
|
||||
cerr << "Number of scorers: " << _scorers.size() << endl;
|
||||
|
||||
//TODO debug this
|
||||
string wtype = getConfig("weights","");
|
||||
@ -55,7 +55,7 @@ InterpolatedScorer::InterpolatedScorer (const string& name, const string& config
|
||||
for (vector<float>::iterator it = _scorerWeights.begin(); it < _scorerWeights.end(); it++) {
|
||||
cerr << *it << " " ;
|
||||
}
|
||||
cout <<endl;
|
||||
cerr <<endl;
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user