#include <LexicalReorderingTable.h>
Public Member Functions | |
LexicalReorderingTableMemory (const std::string &filePath, const std::vector< FactorType > &f_factors, const std::vector< FactorType > &e_factors, const std::vector< FactorType > &c_factors) | |
virtual | ~LexicalReorderingTableMemory () |
virtual std::vector< float > | GetScore (const Phrase &f, const Phrase &e, const Phrase &c) |
void | DbgDump (std::ostream *out) const |
Definition at line 90 of file LexicalReorderingTable.h.
Moses::LexicalReorderingTableMemory::LexicalReorderingTableMemory | ( | const std::string & | filePath, | |
const std::vector< FactorType > & | f_factors, | |||
const std::vector< FactorType > & | e_factors, | |||
const std::vector< FactorType > & | c_factors | |||
) |
Definition at line 73 of file LexicalReorderingTable.cpp.
Moses::LexicalReorderingTableMemory::~LexicalReorderingTableMemory | ( | ) | [virtual] |
Definition at line 83 of file LexicalReorderingTable.cpp.
void Moses::LexicalReorderingTableMemory::DbgDump | ( | std::ostream * | out | ) | const [virtual] |
Reimplemented from Moses::LexicalReorderingTable.
Definition at line 116 of file LexicalReorderingTable.cpp.
std::vector< float > Moses::LexicalReorderingTableMemory::GetScore | ( | const Phrase & | f, | |
const Phrase & | e, | |||
const Phrase & | c | |||
) | [virtual] |
Implements Moses::LexicalReorderingTable.
Definition at line 86 of file LexicalReorderingTable.cpp.
References Moses::Phrase::GetSize(), Moses::Phrase::GetSubString(), and key.