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:
authorRico Sennrich <rico.sennrich@gmx.ch>2014-09-12 21:04:46 +0400
committerRico Sennrich <rico.sennrich@gmx.ch>2014-09-12 21:17:23 +0400
commit61c00ed636ea49b7d23239bcaafb1723ae3b0bf9 (patch)
treeb289d3828d61906845bcfb145c65ab441f4a4149 /moses/ChartKBestExtractor.h
parent0a127cb0f1d9655a8ba3637ed2abd2d4e04c1ef1 (diff)
n-best tree output
Diffstat (limited to 'moses/ChartKBestExtractor.h')
-rw-r--r--moses/ChartKBestExtractor.h2
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 *,