Moses::Dictionary Class Reference

#include <Dictionary.h>

Inheritance diagram for Moses::Dictionary:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Dictionary (size_t numScoreComponent)
 Constructor.
virtual ~Dictionary ()
 Destructor.
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


Detailed Description

Abstract class from which PhraseDictionary and GenerationDictionary are inherited.

Definition at line 35 of file Dictionary.h.


Constructor & Destructor Documentation

Moses::Dictionary::Dictionary ( size_t  numScoreComponent  ) 

Constructor.

Definition at line 27 of file Dictionary.cpp.

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

Destructor.

Definition at line 32 of file Dictionary.cpp.


Member Function Documentation

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

Reimplemented in Moses::PhraseDictionaryDynSuffixArray, Moses::PhraseDictionaryOnDisk, and Moses::PhraseDictionarySCFG.

Definition at line 34 of file Dictionary.cpp.

Referenced by Moses::TranslationSystem::CleanUpAfterSentenceProcessing().

Here is the caller graph for this function:

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.


Member Data Documentation

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


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

Generated on Sat Feb 4 02:04:17 2012 for Moses by  doxygen 1.5.9