Moses::LanguageModelMultiFactor Class Reference

Abstract class for for multi factor LM. More...

#include <LanguageModelMultiFactor.h>

Inheritance diagram for Moses::LanguageModelMultiFactor:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool Load (const std::string &filePath, const std::vector< FactorType > &factorTypes, size_t nGramOrder)=0
LMType GetLMType () const
 Single or multi-factor.
std::string GetScoreProducerDescription (unsigned) const
bool Useable (const Phrase &phrase) const

Protected Attributes

FactorMask m_factorTypes


Detailed Description

Abstract class for for multi factor LM.

Definition at line 37 of file LanguageModelMultiFactor.h.


Member Function Documentation

LMType Moses::LanguageModelMultiFactor::GetLMType (  )  const [inline, virtual]

Single or multi-factor.

Implements Moses::LanguageModelImplementation.

Definition at line 47 of file LanguageModelMultiFactor.h.

References Moses::MultiFactor.

std::string Moses::LanguageModelMultiFactor::GetScoreProducerDescription ( unsigned   )  const [virtual]

virtual bool Moses::LanguageModelMultiFactor::Load ( const std::string &  filePath,
const std::vector< FactorType > &  factorTypes,
size_t  nGramOrder 
) [pure virtual]

bool Moses::LanguageModelMultiFactor::Useable ( const Phrase phrase  )  const [virtual]

Implements Moses::LanguageModelImplementation.

Definition at line 35 of file LanguageModelMultiFactor.cpp.

References Moses::Phrase::GetSize(), Moses::Phrase::GetWord(), m_factorTypes, and Moses::MAX_NUM_FACTORS.

Here is the call graph for this function:


Member Data Documentation


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

Generated on Thu Oct 13 15:04:20 2011 for Moses by  doxygen 1.5.9