mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-20 07:42:21 +03:00
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:
parent
50d99452d5
commit
8aaf89faf5
@ -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 << " ";
|
||||
|
Loading…
Reference in New Issue
Block a user