Moses::LexicalReorderingTable Class Reference

#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 (const InputType &)
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

Definition at line 32 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 35 of file LexicalReorderingTable.h.

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

Definition at line 38 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 63 of file LexicalReorderingTable.h.

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

Definition at line 60 of file LexicalReorderingTable.h.

References m_FactorsC.

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

Definition at line 57 of file LexicalReorderingTable.h.

References m_FactorsE.

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

Definition at line 54 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, and Moses::LexicalReorderingTableTree.

Referenced by Moses::LexicalReordering::GetProb(), and main().

Here is the caller graph for this function:

virtual void Moses::LexicalReorderingTable::InitializeForInput ( const InputType  )  [inline, virtual]

Reimplemented in Moses::LexicalReorderingTableTree.

Definition at line 44 of file LexicalReorderingTable.h.

Referenced by Moses::LexicalReordering::InitializeForInput().

Here is the caller graph for this function:

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

Reimplemented in Moses::LexicalReorderingTableTree.

Definition at line 47 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 48 of file LexicalReorderingTable.cpp.

References Moses::FileExists().

Referenced by Moses::LexicalReordering::LexicalReordering().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation


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

Generated on Wed Feb 8 23:04:10 2012 for Moses by  doxygen 1.5.9