Moses::KenDsg< KenModel > Class Template Reference

#include <KenDsg.h>

Inheritance diagram for Moses::KenDsg< KenModel >:

Inheritance graph
[legend]
Collaboration diagram for Moses::KenDsg< KenModel >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 KenDsg (const char *file, const lm::ngram::Config &config)
float Score (const lm::ngram::State &in_state, StringPiece word, lm::ngram::State &out_state) const
const lm::ngram::StateBeginSentenceState () const
const lm::ngram::StateNullContextState () const
float ScoreEndSentence (const lm::ngram::State &in_state, lm::ngram::State &out_state) const


Detailed Description

template<class KenModel>
class Moses::KenDsg< KenModel >

Definition at line 25 of file KenDsg.h.


Constructor & Destructor Documentation

template<class KenModel>
Moses::KenDsg< KenModel >::KenDsg ( const char *  file,
const lm::ngram::Config config 
) [inline]

Definition at line 28 of file KenDsg.h.


Member Function Documentation

template<class KenModel>
const lm::ngram::State& Moses::KenDsg< KenModel >::BeginSentenceState (  )  const [inline, virtual]

Implements Moses::KenDsgBase.

Definition at line 38 of file KenDsg.h.

template<class KenModel>
const lm::ngram::State& Moses::KenDsg< KenModel >::NullContextState (  )  const [inline, virtual]

Implements Moses::KenDsgBase.

Definition at line 42 of file KenDsg.h.

template<class KenModel>
float Moses::KenDsg< KenModel >::Score ( const lm::ngram::State in_state,
StringPiece  word,
lm::ngram::State out_state 
) const [inline, virtual]

Implements Moses::KenDsgBase.

Definition at line 31 of file KenDsg.h.

template<class KenModel>
float Moses::KenDsg< KenModel >::ScoreEndSentence ( const lm::ngram::State in_state,
lm::ngram::State out_state 
) const [inline, virtual]

Implements Moses::KenDsgBase.

Definition at line 46 of file KenDsg.h.


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

Generated on Thu Jul 6 00:33:03 2017 for Moses by  doxygen 1.5.9