mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-02 17:09:36 +03:00
bug fix: server mode did not report full search graph
This commit is contained in:
parent
18ffd83643
commit
b6a212b9ce
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user