#include <LexicalReorderingTable.h>

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 FactorList & | GetFFactorMask () const |
| const FactorList & | GetEFactorMask () const |
| const FactorList & | GetCFactorMask () const |
| virtual void | DbgDump (std::ostream *out) const |
Static Public Member Functions | |
| static LexicalReorderingTable * | LoadAvailable (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 |
Definition at line 30 of file LexicalReorderingTable.h.
| 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.
| 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] |
| const FactorList& Moses::LexicalReorderingTable::GetEFactorMask | ( | ) | const [inline] |
| const FactorList& Moses::LexicalReorderingTable::GetFFactorMask | ( | ) | const [inline] |
| 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().

| 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().

| 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.

FactorList Moses::LexicalReorderingTable::m_FactorsC [protected] |
Definition at line 86 of file LexicalReorderingTable.h.
Referenced by GetCFactorMask(), and Moses::LexicalReorderingTableTree::GetScore().
FactorList Moses::LexicalReorderingTable::m_FactorsE [protected] |
Definition at line 85 of file LexicalReorderingTable.h.
Referenced by GetEFactorMask(), and Moses::LexicalReorderingTableTree::GetScore().
FactorList Moses::LexicalReorderingTable::m_FactorsF [protected] |
Definition at line 80 of file LexicalReorderingTable.h.
Referenced by GetFFactorMask(), and Moses::LexicalReorderingTableTree::GetScore().
1.5.9