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-28 19:39:38 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-12-28 19:39:38 +0300
commitf865e7e43c8f593cce75ee7157d77c4b94e95814 (patch)
tree4c420e412bc357e3400fbd7ff6a204830990e58c /moses/Hypothesis.h
parentaf0d0f02e199e618b06dcbfa083f06e831f44146 (diff)
move OutputInput() to Hypothesis class
Diffstat (limited to 'moses/Hypothesis.h')
-rw-r--r--moses/Hypothesis.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/moses/Hypothesis.h b/moses/Hypothesis.h
index 7449e0b79..8e160b11e 100644
--- a/moses/Hypothesis.h
+++ b/moses/Hypothesis.h
@@ -274,6 +274,9 @@ public:
static void OutputAlignment(std::ostream &out, const std::vector<const Hypothesis *> &edges);
static void OutputAlignment(std::ostream &out, const Moses::AlignmentInfo &ai, size_t sourceOffset, size_t targetOffset);
+ void OutputInput(std::ostream& os) const;
+ static void OutputInput(std::vector<const Phrase*>& map, const Hypothesis* hypo);
+
};
std::ostream& operator<<(std::ostream& out, const Hypothesis& hypothesis);