diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-10 15:47:23 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-10 15:47:23 +0300 |
commit | 81640945d09b22ff297673c9c685cab9f344b266 (patch) | |
tree | 4359333fa4fdbf9a28d7519517fa9220c6c72d79 /moses/ChartManager.h | |
parent | 99cfba8769cc84416c953693f7ccdf98c688423e (diff) |
move OutputBest() to ChartManager
Diffstat (limited to 'moses/ChartManager.h')
-rw-r--r-- | moses/ChartManager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/moses/ChartManager.h b/moses/ChartManager.h index a4f27750e..8f32a36dd 100644 --- a/moses/ChartManager.h +++ b/moses/ChartManager.h @@ -99,6 +99,8 @@ private: const std::vector<boost::shared_ptr<Moses::ChartKBestExtractor::Derivation> > &nBestList, const Sentence &sentence, long translationId) const; + void OutputBestHypo(OutputCollector *collector, const ChartHypothesis *hypo, long translationId) const; + void Backtrack(const ChartHypothesis *hypo) const; public: ChartManager(InputType const& source); @@ -143,6 +145,7 @@ public: const ChartParser &GetParser() const { return m_parser; } // outputs + void OutputBest(OutputCollector *collector) const; void OutputNBest(OutputCollector *collector) const; void OutputLatticeSamples(OutputCollector *collector) const {} |