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 <fishandfrolick@gmail.com>2012-05-28 20:29:46 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-05-28 20:29:46 +0400
commitef26388aff03e95882091c96eb3764c872f6c81f (patch)
tree4eb9994859e0b7b7213f995032a855c0bd9b7379 /moses-cmd
parentdb1e6040b241c74ed01b9da0e4a8bd2f4c15f176 (diff)
eclipse project
Diffstat (limited to 'moses-cmd')
-rw-r--r--moses-cmd/src/IOWrapper.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/moses-cmd/src/IOWrapper.h b/moses-cmd/src/IOWrapper.h
index e7936f33c..83c428d47 100644
--- a/moses-cmd/src/IOWrapper.h
+++ b/moses-cmd/src/IOWrapper.h
@@ -35,6 +35,7 @@ POSSIBILITY OF SUCH DAMAGE.
#ifndef moses_cmd_IOWrapper_h
#define moses_cmd_IOWrapper_h
+#include <cassert>
#include <fstream>
#include <ostream>
#include <vector>
@@ -121,13 +122,13 @@ IOWrapper *GetIODevice(const Moses::StaticData &staticData);
bool ReadInput(IOWrapper &ioWrapper, Moses::InputTypeEnum inputType, Moses::InputType*& source);
void OutputBestSurface(std::ostream &out, const Moses::Hypothesis *hypo, const std::vector<Moses::FactorType> &outputFactorOrder, bool reportSegmentation, bool reportAllFactors);
void OutputNBest(std::ostream& out, const Moses::TrellisPathList &nBestList, const std::vector<Moses::FactorType>&,
- const TranslationSystem* system, long translationId, bool reportSegmentation);
+ const Moses::TranslationSystem* system, long translationId, bool reportSegmentation);
void OutputLatticeMBRNBest(std::ostream& out, const std::vector<LatticeMBRSolution>& solutions,long translationId);
void OutputBestHypo(const std::vector<Moses::Word>& mbrBestHypo, long /*translationId*/,
bool reportSegmentation, bool reportAllFactors, std::ostream& out);
void OutputBestHypo(const Moses::TrellisPath &path, long /*translationId*/,bool reportSegmentation, bool reportAllFactors, std::ostream &out);
-void OutputInput(std::ostream& os, const Hypothesis* hypo);
-void OutputAlignment(OutputCollector* collector, size_t lineNo, const Hypothesis *hypo);
-void OutputAlignment(OutputCollector* collector, size_t lineNo, const TrellisPath &path);
+void OutputInput(std::ostream& os, const Moses::Hypothesis* hypo);
+void OutputAlignment(Moses::OutputCollector* collector, size_t lineNo, const Moses::Hypothesis *hypo);
+void OutputAlignment(Moses::OutputCollector* collector, size_t lineNo, const Moses::TrellisPath &path);
#endif