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/Manager.h
parent5ac3dddfb6a70aee591c2902238f3ba737dbed3f (diff)
convert static methods to const methods
Diffstat (limited to 'moses/Manager.h')
-rw-r--r--moses/Manager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/Manager.h b/moses/Manager.h
index 9962d8e29..2cbf474f0 100644
--- a/moses/Manager.h
+++ b/moses/Manager.h
@@ -162,9 +162,9 @@ public:
void GetWordGraph(long translationId, std::ostream &outputWordGraphStream) const;
int GetNextHypoId();
- static void OutputLatticeMBRNBest(std::ostream& out, const std::vector<LatticeMBRSolution>& solutions,long translationId);
- static void OutputBestHypo(const std::vector<Moses::Word>& mbrBestHypo, long /*translationId*/,
- char reportSegmentation, bool reportAllFactors, std::ostream& out);
+ void OutputLatticeMBRNBest(std::ostream& out, const std::vector<LatticeMBRSolution>& solutions,long translationId) const;
+ void OutputBestHypo(const std::vector<Moses::Word>& mbrBestHypo, long /*translationId*/,
+ char reportSegmentation, bool reportAllFactors, std::ostream& out) const;
#ifdef HAVE_PROTOBUF
void SerializeSearchGraphPB(long translationId, std::ostream& outputStream) const;