diff options
author | Rico Sennrich <rico.sennrich@gmx.ch> | 2014-09-12 21:04:46 +0400 |
---|---|---|
committer | Rico Sennrich <rico.sennrich@gmx.ch> | 2014-09-12 21:17:23 +0400 |
commit | 61c00ed636ea49b7d23239bcaafb1723ae3b0bf9 (patch) | |
tree | b289d3828d61906845bcfb145c65ab441f4a4149 /moses/ChartKBestExtractor.h | |
parent | 0a127cb0f1d9655a8ba3637ed2abd2d4e04c1ef1 (diff) |
n-best tree output
Diffstat (limited to 'moses/ChartKBestExtractor.h')
-rw-r--r-- | moses/ChartKBestExtractor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/moses/ChartKBestExtractor.h b/moses/ChartKBestExtractor.h index 05b016d50..1b348a0a4 100644 --- a/moses/ChartKBestExtractor.h +++ b/moses/ChartKBestExtractor.h @@ -22,6 +22,7 @@ #include <cassert> #include "ChartHypothesis.h" #include "ScoreComponentCollection.h" +#include "FF/InternalTree.h" #include <boost/unordered_set.hpp> #include <boost/weak_ptr.hpp> @@ -89,6 +90,7 @@ public: std::size_t k, KBestVec &); static Phrase GetOutputPhrase(const Derivation &); + static TreePointer GetOutputTree(const Derivation &); private: typedef boost::unordered_map<const ChartHypothesis *, |