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 06:08:33 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-12-30 06:08:33 +0300
commitb82c31f020b2cd646a8874867a15c37126f2f1e7 (patch)
treec12051b1121f5b6787d5edd95281a674382cc177 /moses/TranslationTask.cpp
parent5ac3dddfb6a70aee591c2902238f3ba737dbed3f (diff)
convert static methods to const methods
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 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");