diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-03 20:04:10 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-03 20:04:10 +0300 |
commit | ccbcc14ed863dc903bb8b2d84f5989ef806a0e75 (patch) | |
tree | 54af4d7b63bb27e48d6868a5413fbb83379afd06 /moses/ChartManager.h | |
parent | 184e79f4d6943f1ada23ab1f8780cb1097e08121 (diff) |
move OutputDetailedTranslationReport() to Managers
Diffstat (limited to 'moses/ChartManager.h')
-rw-r--r-- | moses/ChartManager.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/moses/ChartManager.h b/moses/ChartManager.h index 80f466f75..86638a561 100644 --- a/moses/ChartManager.h +++ b/moses/ChartManager.h @@ -75,6 +75,24 @@ private: size_t OutputAlignment(Alignments &retAlign, const Moses::ChartHypothesis *hypo, size_t startTarget) const; + void OutputDetailedTranslationReport( + OutputCollector *collector, + const ChartHypothesis *hypo, + const Sentence &sentence, + long translationId) const; + void OutputTranslationOptions(std::ostream &out, + ApplicationContext &applicationContext, + const ChartHypothesis *hypo, + const Sentence &sentence, + long translationId) const; + void OutputTranslationOption(std::ostream &out, + ApplicationContext &applicationContext, + const ChartHypothesis *hypo, + const Sentence &sentence, + long translationId) const; + void ReconstructApplicationContext(const ChartHypothesis &hypo, + const Sentence &sentence, + ApplicationContext &context) const; template <class T> void ShiftOffsets(std::vector<T> &offsets, T shift) const @@ -142,8 +160,9 @@ public: void OutputNBest(OutputCollector *collector) const; void OutputLatticeSamples(OutputCollector *collector) const {} - void OutputAlignment(OutputCollector *collector) const; + void OutputDetailedTranslationReport(OutputCollector *collector) const; + }; } |