/disk4/html/www/moses/doxygen/mosesdecoder/phrase-extract/XmlTree.h File Reference

#include <string>
#include <vector>
#include <set>
#include <map>
#include "SyntaxNodeCollection.h"

Go to the source code of this file.

Namespaces

namespace  MosesTraining

Functions

std::string MosesTraining::ParseXmlTagAttribute (const std::string &tag, const std::string &attributeName)
std::string MosesTraining::Trim (const std::string &str, const std::string dropChars=" \t\n\r")
std::string MosesTraining::TrimXml (const std::string &str)
bool MosesTraining::isXmlTag (const std::string &tag)
std::vector< std::string > MosesTraining::TokenizeXml (const std::string &str)
bool MosesTraining::ProcessAndStripXMLTags (std::string &line, SyntaxNodeCollection &tree, std::set< std::string > &labelCollection, std::map< std::string, int > &topLabelCollection, bool unescape=true)
std::string MosesTraining::unescape (const std::string &str)


Generated on Thu Jul 6 00:31:40 2017 for Moses by  doxygen 1.5.9