bug fix: server mode did not report full search graph

This commit is contained in:
Philipp Koehn 2015-12-05 19:21:32 +00:00
parent 18ffd83643
commit b6a212b9ce

View File

@ -421,8 +421,10 @@ void
TranslationRequest::
run_phrase_decoder()
{
if (m_withGraphInfo || m_options.nbest.nbest_size>0)
if (m_withGraphInfo || m_options.nbest.nbest_size>0) {
m_options.output.SearchGraph = "true";
m_options.nbest.enabled = true;
}
Manager manager(this->self());
// if (m_bias.size()) manager.SetBias(&m_bias);