diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-28 19:39:38 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-28 19:39:38 +0300 |
commit | f865e7e43c8f593cce75ee7157d77c4b94e95814 (patch) | |
tree | 4c420e412bc357e3400fbd7ff6a204830990e58c /moses/Hypothesis.h | |
parent | af0d0f02e199e618b06dcbfa083f06e831f44146 (diff) |
move OutputInput() to Hypothesis class
Diffstat (limited to 'moses/Hypothesis.h')
-rw-r--r-- | moses/Hypothesis.h | 3 |
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); |