mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
fix n-best output of sparse features for hiero models
(weren't found by regex in mert-moses.pl, line 1327)
This commit is contained in:
parent
081710ed4c
commit
3a5cae51d3
@ -442,7 +442,7 @@ void IOWrapper::OutputFeatureScores( std::ostream& out, const ScoreComponentColl
|
||||
else {
|
||||
const FVector scores = features.GetVectorForProducer( ff );
|
||||
for(FVector::FNVmap::const_iterator i = scores.cbegin(); i != scores.cend(); i++)
|
||||
out << " " << i->first << ": " << i->second;
|
||||
out << " " << i->first << "= " << i->second;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user