diff options
author | Matthias Huck <huck@i6.informatik.rwth-aachen.de> | 2015-01-07 17:25:43 +0300 |
---|---|---|
committer | Matthias Huck <huck@i6.informatik.rwth-aachen.de> | 2015-01-07 17:25:43 +0300 |
commit | 465b47566424efb707bdc063d0bff52b0650eb0a (patch) | |
tree | 1d4b351a6bdd9be80ead4b7675c28fdbf3b79fb3 /moses/ChartKBestExtractor.h | |
parent | 0441fd6ab9600915297bcec1702f56fa5feedf98 (diff) |
score deltas in chart decoding
Diffstat (limited to 'moses/ChartKBestExtractor.h')
-rw-r--r-- | moses/ChartKBestExtractor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/ChartKBestExtractor.h b/moses/ChartKBestExtractor.h index e28150454..01c928175 100644 --- a/moses/ChartKBestExtractor.h +++ b/moses/ChartKBestExtractor.h @@ -26,6 +26,7 @@ #include <boost/unordered_set.hpp> #include <boost/weak_ptr.hpp> +#include <boost/shared_ptr.hpp> #include <queue> #include <vector> @@ -56,7 +57,6 @@ public: UnweightedHyperarc edge; std::vector<std::size_t> backPointers; std::vector<boost::shared_ptr<Derivation> > subderivations; - ScoreComponentCollection scoreBreakdown; float score; }; @@ -90,6 +90,7 @@ public: std::size_t k, KBestVec &); static Phrase GetOutputPhrase(const Derivation &); + static boost::shared_ptr<ScoreComponentCollection> GetOutputScoreBreakdown(const Derivation &); static TreePointer GetOutputTree(const Derivation &); private: |