diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-10-03 19:08:15 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-10-03 19:08:15 +0400 |
commit | 2f290f1d6d84be68540c5b1d3ada7fa6c133c2ff (patch) | |
tree | cd4bd25d6974849f2c977a686201a768df32a135 /moses/IOWrapper.h | |
parent | 65bd64ca6ab7b3e5ad54e3fc981173fc9fd0744c (diff) |
standardize GetIOWrapper().
Diffstat (limited to 'moses/IOWrapper.h')
-rw-r--r-- | moses/IOWrapper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/IOWrapper.h b/moses/IOWrapper.h index b76adf8bd..3ff492179 100644 --- a/moses/IOWrapper.h +++ b/moses/IOWrapper.h @@ -95,6 +95,8 @@ protected: Moses::OutputCollector *m_latticeSamplesCollector; public: + static IOWrapper *GetIOWrapper(const Moses::StaticData &staticData); + IOWrapper(const std::vector<Moses::FactorType> &inputFactorOrder , const std::vector<Moses::FactorType> &outputFactorOrder , const Moses::FactorMask &inputFactorUsed @@ -147,7 +149,6 @@ public: }; -IOWrapper *GetIOWrapper(const Moses::StaticData &staticData); bool ReadInput(IOWrapper &ioWrapper, Moses::InputTypeEnum inputType, Moses::InputType*& source); void OutputLanguageModelOrder(std::ostream &out, const Moses::Hypothesis *hypo, Moses::Manager &manager); void OutputBestSurface(std::ostream &out, const Moses::Hypothesis *hypo, const std::vector<Moses::FactorType> &outputFactorOrder, char reportSegmentation, bool reportAllFactors); |