diff options
author | Matthias Huck <huck@i6.informatik.rwth-aachen.de> | 2014-07-28 21:27:12 +0400 |
---|---|---|
committer | Matthias Huck <huck@i6.informatik.rwth-aachen.de> | 2014-07-28 21:27:12 +0400 |
commit | 3a5dee12e85282132c20c7fe2ca649c00bf7e78f (patch) | |
tree | dba9a37072674f869451ecef58e18a8777fbcedd /phrase-extract/extract-ghkm/XmlTreeParser.h | |
parent | 061aac9e3b8a26b4019b342e25cfc4295c3dfd1c (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.h | 2 |
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; |