diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-30 18:06:59 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-30 18:06:59 +0300 |
commit | c9d49f22a5016e8262cf6a780a07f5c6f50a344b (patch) | |
tree | 243590b68076e47d4ca4caf47437db74b4021f4d /moses/TranslationTask.cpp | |
parent | e92c2c0e0c045763a062b2956c900819f8484af0 (diff) |
move OutputAlignment() to Manager class
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 5aafca2d0..636083c1e 100644 --- a/moses/TranslationTask.cpp +++ b/moses/TranslationTask.cpp @@ -193,7 +193,7 @@ void TranslationTask::RunPb() manager.OutputBestHypo(conBestHypo, m_source->GetTranslationId(), staticData.GetReportSegmentation(), staticData.GetReportAllFactors(),out); - m_ioWrapper.OutputAlignment(m_ioWrapper.GetAlignmentInfoCollector(), m_source->GetTranslationId(), conBestHypo); + manager.OutputAlignment(m_ioWrapper.GetAlignmentInfoCollector(), m_source->GetTranslationId(), conBestHypo); IFVERBOSE(2) { PrintUserTime("finished Consensus decoding"); } @@ -205,7 +205,7 @@ void TranslationTask::RunPb() manager.OutputBestHypo(mbrBestHypo, m_source->GetTranslationId(), staticData.GetReportSegmentation(), staticData.GetReportAllFactors(),out); - m_ioWrapper.OutputAlignment(m_ioWrapper.GetAlignmentInfoCollector(), m_source->GetTranslationId(), mbrBestHypo); + manager.OutputAlignment(m_ioWrapper.GetAlignmentInfoCollector(), m_source->GetTranslationId(), mbrBestHypo); IFVERBOSE(2) { PrintUserTime("finished MBR decoding"); } |