Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2014-12-30 16:23:30 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-12-30 16:23:30 +0300
commitba166f109cc1bda482e32ba490905d769dc1b9ae (patch)
tree07741cdfbdb178f2dace9cdfba125c369d0cba55 /moses/TranslationTask.cpp
parent14cbf9bc2263485a5bef03fd61632a3fda41af6c (diff)
moving more stuff out of IOWrapper
Diffstat (limited to 'moses/TranslationTask.cpp')
-rw-r--r--moses/TranslationTask.cpp4
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);