diff options
Diffstat (limited to 'phrase-extract/XmlTree.h')
-rw-r--r-- | phrase-extract/XmlTree.h | 7 |
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
+
|