From 23ca29a2ea13bfa12210f4f278785aefdd45a672 Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Fri, 5 Dec 2014 17:59:53 +0000 Subject: add Decode to API framework --- moses/ChartManager.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'moses/ChartManager.h') diff --git a/moses/ChartManager.h b/moses/ChartManager.h index 8b0cf4ff8..814be1e60 100644 --- a/moses/ChartManager.h +++ b/moses/ChartManager.h @@ -96,11 +96,16 @@ private: const ChartHypothesis *hypo, const Sentence &sentence, long translationId) const; + void OutputDetailedAllTranslationReport( + OutputCollector *collector, + const std::vector > &nBestList, + const Sentence &sentence, + long translationId) const; public: ChartManager(InputType const& source); ~ChartManager(); - void ProcessSentence(); + void Decode(); void AddXmlChartOptions(); const ChartHypothesis *GetBestHypothesis() const; void CalcNBest(size_t n, std::vector > &nBestList, bool onlyDistinct=false) const; -- cgit v1.2.3