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

#include <sys/times.h>
#include <sys/resource.h>
#include <cstring>
#include <cctype>
#include <algorithm>
#include <cstdio>
#include <iostream>
#include <iomanip>
#include <boost/algorithm/string/predicate.hpp>
#include "TypeDef.h"
#include "Util.h"
#include "util/exception.hh"
#include "util/file.hh"
#include "moses/FF/StatelessFeatureFunction.h"
#include "moses/FF/StatefulFeatureFunction.h"
#include "moses/StaticData.h"

Go to the source code of this file.


Classes

class  Moses::BoolValueException

Namespaces

namespace  Moses
 $Id$

Functions

string Moses::GetTempFolder ()
 x-platform reference to temp folder
const std::string Moses::ToLower (const std::string &str)
template<>
bool Moses::Scan< bool > (const std::string &input)
 Specialisation to understand yes/no y/n true/false 0/1.
bool Moses::FileExists (const std::string &filePath)
std::vector< std::map
< std::string, std::string > > 
Moses::ProcessAndStripDLT (std::string &line)
std::map< std::string,
std::string > 
Moses::ProcessAndStripSGML (std::string &line)
std::string Moses::PassthroughSGML (std::string &line, const std::string tagName, const std::string &lbrackStr, const std::string &rbrackStr)
void Moses::PrintFeatureWeight (const FeatureFunction *ff)
void Moses::ShowWeights ()


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