Moses::Dictionary Class Reference

#include <Dictionary.h>

Inheritance diagram for Moses::Dictionary:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Dictionary (size_t numScoreComponent)
 Constructor.
virtual ~Dictionary ()
 Destructor.
const FactorMaskGetOutputFactorMask () const
 returns output factor types as specified by the ini file
const FactorMaskGetInputFactorMask () const
 returns input factor types as specified by the ini file
virtual DecodeType GetDecodeType () const =0
 returns whether this dictionary is to be used for Translate or Generate
virtual void CleanUp ()

Protected Attributes

const size_t m_numScoreComponent
FactorMask m_inputFactors
FactorMask m_outputFactors


Detailed Description

Abstract class from which PhraseDictionary and GenerationDictionary are inherited.

Constructor & Destructor Documentation

Moses::Dictionary::Dictionary ( size_t  numScoreComponent  ) 

Constructor.

Moses::Dictionary::~Dictionary (  )  [virtual]

Destructor.


Member Function Documentation

void Moses::Dictionary::CleanUp (  )  [virtual]

virtual DecodeType Moses::Dictionary::GetDecodeType (  )  const [pure virtual]

returns whether this dictionary is to be used for Translate or Generate

Implemented in Moses::GenerationDictionary, Moses::PhraseDictionary, and Moses::PhraseDictionaryTree.

const FactorMask& Moses::Dictionary::GetInputFactorMask (  )  const [inline]

returns input factor types as specified by the ini file

References m_inputFactors.

const FactorMask& Moses::Dictionary::GetOutputFactorMask (  )  const [inline]

returns output factor types as specified by the ini file

References m_outputFactors.

Referenced by Moses::DecodeStep::DecodeStep().

Here is the caller graph for this function:


Member Data Documentation

const size_t Moses::Dictionary::m_numScoreComponent [protected]


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

Generated on Fri Jul 30 20:05:15 2010 for Moses by  doxygen 1.5.9