/disk4/html/www/moses/doxygen/mosesdecoder/moses/XmlOption.cpp File Reference

#include "XmlOption.h"
#include <vector>
#include <string>
#include <iostream>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/foreach.hpp>
#include <boost/unordered_map.hpp>
#include "Util.h"
#include "StaticData.h"
#include "Range.h"
#include "TargetPhrase.h"
#include "ReorderingConstraint.h"
#include "FactorCollection.h"
#include "moses/TranslationModel/PhraseDictionary.h"

Go to the source code of this file.


Namespaces

namespace  Moses
 $Id$

Functions

string Moses::ParseXmlTagAttribute (const string &tag, const string &attributeName)
string Moses::TrimXml (const string &str, const std::string &lbrackStr, const std::string &rbrackStr)
bool Moses::isXmlTag (const string &tag, const std::string &lbrackStr, const std::string &rbrackStr)
vector< string > Moses::TokenizeXml (const string &str, const std::string &lbrackStr, const std::string &rbrackStr)
bool Moses::ProcessAndStripXMLTags (AllOptions const &opts, string &line, vector< XmlOption const * > &res, ReorderingConstraint &reorderingConstraint, vector< size_t > &walls, std::vector< std::pair< size_t, std::string > > &placeholders, InputType &input)


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