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:
authorHieu Hoang <fishandfrolick@gmail.com>2012-06-30 18:43:47 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-06-30 18:43:47 +0400
commitef9db932aa4ce4e57ead87e965a374f580a7cac2 (patch)
treedd6a06157328b410ff08dafaec5fb98a1acd122f /phrase-extract/XmlTree.h
parentb1ce27d01f2629749deb9cb48f218246be6eca28 (diff)
add namespace to phrase-extract
Diffstat (limited to 'phrase-extract/XmlTree.h')
-rw-r--r--phrase-extract/XmlTree.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/phrase-extract/XmlTree.h b/phrase-extract/XmlTree.h
index 7e6bbecea..ebf235b64 100644
--- a/phrase-extract/XmlTree.h
+++ b/phrase-extract/XmlTree.h
@@ -27,6 +27,9 @@
#include <map>
#include "SyntaxTree.h"
+namespace MosesTraining
+{
+
std::string ParseXmlTagAttribute(const std::string& tag,const std::string& attributeName);
std::string Trim(const std::string& str, const std::string dropChars = " \t\n\r");
std::string TrimXml(const std::string& str);
@@ -34,3 +37,7 @@ bool isXmlTag(const std::string& tag);
std::vector<std::string> TokenizeXml(const std::string& str);
bool ProcessAndStripXMLTags(std::string &line, SyntaxTree &tree, std::set< std::string > &labelCollection, std::map< std::string, int > &topLabelCollection );
std::string unescape(const std::string &str);
+
+
+} // namespace
+