mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-08 04:27:53 +03:00
Merge branch 'perf_moses2' of github.com:hieuhoang/mosesdecoder into perf_moses2
This commit is contained in:
commit
6ccf7e6ddf
@ -200,7 +200,6 @@ std::string Manager::OutputBest() const
|
||||
}
|
||||
//cerr << "NO TRANSLATION " << m_input->GetTranslationId() << endl;
|
||||
}
|
||||
out << "\n";
|
||||
|
||||
return out.str();
|
||||
//cerr << endl;
|
||||
|
@ -334,7 +334,6 @@ std::string Manager::OutputBest() const
|
||||
//cerr << "NO TRANSLATION " << m_input->GetTranslationId() << endl;
|
||||
}
|
||||
|
||||
out += "\n";
|
||||
return out;
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@ void TranslationTask::Run()
|
||||
|
||||
string out;
|
||||
|
||||
out = m_mgr->OutputBest();
|
||||
out = m_mgr->OutputBest() + "\n";
|
||||
m_mgr->system.bestCollector->Write(m_mgr->m_translationId, out);
|
||||
|
||||
if (m_mgr->system.options.nbest.nbest_size) {
|
||||
|
Loading…
Reference in New Issue
Block a user