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:
authorMatthias Huck <huck@i6.informatik.rwth-aachen.de>2014-07-28 21:27:12 +0400
committerMatthias Huck <huck@i6.informatik.rwth-aachen.de>2014-07-28 21:27:12 +0400
commit3a5dee12e85282132c20c7fe2ca649c00bf7e78f (patch)
treedba9a37072674f869451ecef58e18a8777fbcedd /phrase-extract/extract-ghkm/XmlTreeParser.h
parent061aac9e3b8a26b4019b342e25cfc4295c3dfd1c (diff)
implementation of phrase orientation in GHKM extraction
(...but a corresponding feature function for the chart-based decoder has not been written yet)
Diffstat (limited to 'phrase-extract/extract-ghkm/XmlTreeParser.h')
-rw-r--r--phrase-extract/extract-ghkm/XmlTreeParser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/phrase-extract/extract-ghkm/XmlTreeParser.h b/phrase-extract/extract-ghkm/XmlTreeParser.h
index e5bf5b463..d0209254f 100644
--- a/phrase-extract/extract-ghkm/XmlTreeParser.h
+++ b/phrase-extract/extract-ghkm/XmlTreeParser.h
@@ -49,6 +49,8 @@ public:
static std::auto_ptr<ParseTree> ConvertTree(const MosesTraining::SyntaxNode &,
const std::vector<std::string> &);
+ const std::vector<std::string>& GetWords() { return m_words; };
+
private:
std::set<std::string> &m_labelSet;