Syntax::Manager: output a blank line if there's no translation

Should never happen for T2S/F2S, but possible for S2T.
This commit is contained in:
Phil Williams 2015-09-02 10:28:05 +01:00
parent 50d99452d5
commit 8aaf89faf5

View File

@ -29,6 +29,7 @@ void Manager::OutputBest(OutputCollector *collector) const
if (StaticData::Instance().GetOutputHypoScore()) {
out << "0 ";
}
out << '\n';
} else {
if (StaticData::Instance().GetOutputHypoScore()) {
out << best->label.score << " ";