mosesdecoder/phrase-extract/PhraseAlignment.cpp File Reference

#include <sstream>
#include "PhraseAlignment.h"
#include "SafeGetline.h"
#include "tables-core.h"
#include "score.h"
#include <cstdlib>

Go to the source code of this file.

Namespaces

namespace  MosesTraining

Functions

template<typename T >
MosesTraining::Scan (const std::string &input)
 convert string to variable of type T. Used to reading floats, int etc from files
template<typename T >
void MosesTraining::Scan (std::vector< T > &output, const std::vector< std::string > &input)
 speeded up version of above
void MosesTraining::Tokenize (std::vector< std::string > &output, const std::string &str, const std::string &delimiters=" \t")
template<typename T >
void MosesTraining::Tokenize (std::vector< T > &output, const std::string &input, const std::string &delimiters=" \t")

Variables

Vocabulary MosesTraining::vcbT
Vocabulary MosesTraining::vcbS
bool MosesTraining::hierarchicalFlag = false


Generated on Thu Jun 4 00:31:00 2015 for Moses by  doxygen 1.5.9