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-05 20:59:53 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-12-05 20:59:53 +0300
commit23ca29a2ea13bfa12210f4f278785aefdd45a672 (patch)
tree7a10fd28d59c5c22e9848bd44f6d1ad09e9d7a31 /moses/ChartManager.h
parent0d8e20980eed5f6fcefe89584dc5995e39b091a2 (diff)
add Decode to API framework
Diffstat (limited to 'moses/ChartManager.h')
-rw-r--r--moses/ChartManager.h7
1 files changed, 6 insertions, 1 deletions
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<boost::shared_ptr<Moses::ChartKBestExtractor::Derivation> > &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<boost::shared_ptr<ChartKBestExtractor::Derivation> > &nBestList, bool onlyDistinct=false) const;