#include <Dictionary.h>


Public Member Functions | |
| Dictionary (size_t numScoreComponent) | |
| Constructor. | |
| virtual | ~Dictionary () |
| Destructor. | |
| const FactorMask & | GetOutputFactorMask () const |
| returns output factor types as specified by the ini file | |
| const FactorMask & | GetInputFactorMask () 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 |
| Moses::Dictionary::Dictionary | ( | size_t | numScoreComponent | ) |
Constructor.
| Moses::Dictionary::~Dictionary | ( | ) | [virtual] |
Destructor.
| void Moses::Dictionary::CleanUp | ( | ) | [virtual] |
Reimplemented in Moses::PhraseDictionaryDynSuffixArray, Moses::PhraseDictionaryOnDisk, and Moses::PhraseDictionarySCFG.
Referenced by Moses::StaticData::CleanUpAfterSentenceProcessing(), and Moses::PhraseDictionaryTreeAdaptor::SetWeightTransModel().

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

FactorMask Moses::Dictionary::m_inputFactors [protected] |
const size_t Moses::Dictionary::m_numScoreComponent [protected] |
FactorMask Moses::Dictionary::m_outputFactors [protected] |
1.5.9