diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-30 06:08:33 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-30 06:08:33 +0300 |
commit | b82c31f020b2cd646a8874867a15c37126f2f1e7 (patch) | |
tree | c12051b1121f5b6787d5edd95281a674382cc177 /moses/TranslationTask.cpp | |
parent | 5ac3dddfb6a70aee591c2902238f3ba737dbed3f (diff) |
convert static methods to const methods
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 8d52789fc..999c05368 100644 --- a/moses/TranslationTask.cpp +++ b/moses/TranslationTask.cpp @@ -174,12 +174,12 @@ void TranslationTask::RunPb() size_t n = min(nBestSize, staticData.GetNBestSize()); getLatticeMBRNBest(manager,nBestList,solutions,n); ostringstream out; - Manager::OutputLatticeMBRNBest(out, solutions, m_source->GetTranslationId()); + manager.OutputLatticeMBRNBest(out, solutions, m_source->GetTranslationId()); m_ioWrapper.GetNBestOutputCollector()->Write(m_source->GetTranslationId(), out.str()); } else { //Lattice MBR decoding vector<Word> mbrBestHypo = doLatticeMBR(manager,nBestList); - Manager::OutputBestHypo(mbrBestHypo, m_source->GetTranslationId(), staticData.GetReportSegmentation(), + manager.OutputBestHypo(mbrBestHypo, m_source->GetTranslationId(), staticData.GetReportSegmentation(), staticData.GetReportAllFactors(),out); IFVERBOSE(2) { PrintUserTime("finished Lattice MBR decoding"); |