#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) |