diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-03 18:00:36 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-03 18:00:36 +0300 |
commit | 184e79f4d6943f1ada23ab1f8780cb1097e08121 (patch) | |
tree | 2f606392b2171fc74f81a8e6f2057eaa659e0e5b /moses/Manager.h | |
parent | fb25616bddba6092922b916209accb452b56bb9a (diff) |
add OutputAlignment() to BaseManager.
Diffstat (limited to 'moses/Manager.h')
-rw-r--r-- | moses/Manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/Manager.h b/moses/Manager.h index 6973d4b55..3f1d264ff 100644 --- a/moses/Manager.h +++ b/moses/Manager.h @@ -140,7 +140,8 @@ protected: void OutputInput(std::ostream& os, const Hypothesis* hypo) const; void OutputInput(std::vector<const Phrase*>& map, const Hypothesis* hypo) const; std::map<size_t, const Factor*> GetPlaceholders(const Hypothesis &hypo, FactorType placeholderFactor) const; - void OutputAlignment(OutputCollector* collector, size_t lineNo , const Hypothesis *hypo) const; + void OutputAlignment(OutputCollector* collector, size_t lineNo , const std::vector<const Hypothesis *> &edges) const; + void OutputAlignment(std::ostream &out, const std::vector<const Hypothesis *> &edges) const; public: InputType const& m_source; /**< source sentence to be translated */ |