Moses::LexicalReorderingTable Class Reference

additional types More...

#include <LexicalReorderingTable.h>

Inheritance diagram for Moses::LexicalReorderingTable:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 LexicalReorderingTable (const FactorList &f_factors, const FactorList &e_factors, const FactorList &c_factors)
virtual ~LexicalReorderingTable ()
virtual Scores GetScore (const Phrase &f, const Phrase &e, const Phrase &c)=0
virtual void InitializeForInput (ttasksptr const &ttask)
virtual void InitializeForInputPhrase (const Phrase &)
const FactorListGetFFactorMask () const
const FactorListGetEFactorMask () const
const FactorListGetCFactorMask () const
virtual void DbgDump (std::ostream *out) const

Static Public Member Functions

static LexicalReorderingTableLoadAvailable (const std::string &filePath, const FactorList &f_factors, const FactorList &e_factors, const FactorList &c_factors)

Protected Attributes

FactorList m_FactorsF
FactorList m_FactorsE
FactorList m_FactorsC


Detailed Description

additional types

Definition at line 30 of file LexicalReorderingTable.h.


Constructor & Destructor Documentation

Moses::LexicalReorderingTable::LexicalReorderingTable ( const FactorList f_factors,
const FactorList e_factors,
const FactorList c_factors 
) [inline]

Definition at line 33 of file LexicalReorderingTable.h.

virtual Moses::LexicalReorderingTable::~LexicalReorderingTable (  )  [inline, virtual]

Definition at line 41 of file LexicalReorderingTable.h.


Member Function Documentation

virtual void Moses::LexicalReorderingTable::DbgDump ( std::ostream *  out  )  const [inline, virtual]

Reimplemented in Moses::LexicalReorderingTableMemory.

Definition at line 78 of file LexicalReorderingTable.h.

const FactorList& Moses::LexicalReorderingTable::GetCFactorMask (  )  const [inline]

Definition at line 72 of file LexicalReorderingTable.h.

References m_FactorsC.

const FactorList& Moses::LexicalReorderingTable::GetEFactorMask (  )  const [inline]

Definition at line 69 of file LexicalReorderingTable.h.

References m_FactorsE.

const FactorList& Moses::LexicalReorderingTable::GetFFactorMask (  )  const [inline]

Definition at line 66 of file LexicalReorderingTable.h.

References m_FactorsF.

virtual Scores Moses::LexicalReorderingTable::GetScore ( const Phrase f,
const Phrase e,
const Phrase c 
) [pure virtual]

Implemented in Moses::LexicalReorderingTableMemory, Moses::LexicalReorderingTableTree, and Moses::LexicalReorderingTableCompact.

Referenced by main().

Here is the caller graph for this function:

virtual void Moses::LexicalReorderingTable::InitializeForInput ( ttasksptr const &  ttask  )  [inline, virtual]

Reimplemented in Moses::LexicalReorderingTableTree.

Definition at line 57 of file LexicalReorderingTable.h.

virtual void Moses::LexicalReorderingTable::InitializeForInputPhrase ( const Phrase  )  [inline, virtual]

Reimplemented in Moses::LexicalReorderingTableTree.

Definition at line 63 of file LexicalReorderingTable.h.

Referenced by main().

Here is the caller graph for this function:

LexicalReorderingTable * Moses::LexicalReorderingTable::LoadAvailable ( const std::string &  filePath,
const FactorList f_factors,
const FactorList e_factors,
const FactorList c_factors 
) [static]

Definition at line 50 of file LexicalReorderingTable.cpp.

References Moses::LexicalReorderingTableCompact::CheckAndLoad(), Moses::FileExists(), and NULL.

Here is the call graph for this function:


Member Data Documentation


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