diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-30 16:23:30 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-30 16:23:30 +0300 |
commit | ba166f109cc1bda482e32ba490905d769dc1b9ae (patch) | |
tree | 07741cdfbdb178f2dace9cdfba125c369d0cba55 /moses/TranslationTask.cpp | |
parent | 14cbf9bc2263485a5bef03fd61632a3fda41af6c (diff) |
moving more stuff out of IOWrapper
Diffstat (limited to 'moses/TranslationTask.cpp')
-rw-r--r-- | moses/TranslationTask.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TranslationTask.cpp b/moses/TranslationTask.cpp index 999c05368..5aafca2d0 100644 --- a/moses/TranslationTask.cpp +++ b/moses/TranslationTask.cpp @@ -190,7 +190,7 @@ void TranslationTask::RunPb() // consensus decoding else if (staticData.UseConsensusDecoding()) { const TrellisPath &conBestHypo = doConsensusDecoding(manager,nBestList); - m_ioWrapper.OutputBestHypo(conBestHypo, m_source->GetTranslationId(), + manager.OutputBestHypo(conBestHypo, m_source->GetTranslationId(), staticData.GetReportSegmentation(), staticData.GetReportAllFactors(),out); m_ioWrapper.OutputAlignment(m_ioWrapper.GetAlignmentInfoCollector(), m_source->GetTranslationId(), conBestHypo); @@ -202,7 +202,7 @@ void TranslationTask::RunPb() // n-best MBR decoding else { const TrellisPath &mbrBestHypo = doMBR(nBestList); - m_ioWrapper.OutputBestHypo(mbrBestHypo, m_source->GetTranslationId(), + manager.OutputBestHypo(mbrBestHypo, m_source->GetTranslationId(), staticData.GetReportSegmentation(), staticData.GetReportAllFactors(),out); m_ioWrapper.OutputAlignment(m_ioWrapper.GetAlignmentInfoCollector(), m_source->GetTranslationId(), mbrBestHypo); |