Moses::LexicalReorderingTableMemory Class Reference

#include <LexicalReorderingTable.h>

Inheritance diagram for Moses::LexicalReorderingTableMemory:

Inheritance graph
[legend]
Collaboration diagram for Moses::LexicalReorderingTableMemory:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

Todo:
what is this?

Definition at line 90 of file LexicalReorderingTable.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Here is the call graph for this function:


The documentation for this class was generated from the following files:

Generated on Thu Jul 6 00:33:06 2017 for Moses by  doxygen 1.5.9