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-06-11 22:27:18 +0400
committerMatthias Huck <huck@i6.informatik.rwth-aachen.de>2014-06-11 22:27:18 +0400
commitd0e92da7340ae1c46c4eaa41f52bf5eaaf47961c (patch)
treeaff4ce24eca81443c7c11181d08f380966355c1e /phrase-extract/extract-ghkm/XmlTreeParser.h
parent02848112d8bd2bc16114ad7b0dff465f083e0d4b (diff)
GHKM extraction can add a source labels phrase property
Diffstat (limited to 'phrase-extract/extract-ghkm/XmlTreeParser.h')
-rw-r--r--phrase-extract/extract-ghkm/XmlTreeParser.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/phrase-extract/extract-ghkm/XmlTreeParser.h b/phrase-extract/extract-ghkm/XmlTreeParser.h
index d00fd7d9f..e5bf5b463 100644
--- a/phrase-extract/extract-ghkm/XmlTreeParser.h
+++ b/phrase-extract/extract-ghkm/XmlTreeParser.h
@@ -45,9 +45,11 @@ class XmlTreeParser
public:
XmlTreeParser(std::set<std::string> &, std::map<std::string, int> &);
std::auto_ptr<ParseTree> Parse(const std::string &);
+
+ static std::auto_ptr<ParseTree> ConvertTree(const MosesTraining::SyntaxNode &,
+ const std::vector<std::string> &);
+
private:
- std::auto_ptr<ParseTree> ConvertTree(const MosesTraining::SyntaxNode &,
- const std::vector<std::string> &);
std::set<std::string> &m_labelSet;
std::map<std::string, int> &m_topLabelSet;