lm::base::ModelFacade< Child, StateT, VocabularyT > Class Template Reference
#include <facade.hh>
List of all members.
|
Public Types |
typedef StateT | State |
typedef VocabularyT | Vocabulary |
Public Member Functions |
FullScoreReturn | BaseFullScore (const void *in_state, const WordIndex new_word, void *out_state) const |
FullScoreReturn | BaseFullScoreForgotState (const WordIndex *context_rbegin, const WordIndex *context_rend, const WordIndex new_word, void *out_state) const |
float | Score (const State &in_state, const WordIndex new_word, State &out_state) const |
float | BaseScore (const void *in_state, const WordIndex new_word, void *out_state) const |
const State & | BeginSentenceState () const |
const State & | NullContextState () const |
const Vocabulary & | GetVocabulary () const |
Protected Member Functions |
| ModelFacade () |
virtual | ~ModelFacade () |
void | Init (const State &begin_sentence, const State &null_context, const Vocabulary &vocab, unsigned char order) |
Detailed Description
template<class Child, class StateT, class VocabularyT>
class lm::base::ModelFacade< Child, StateT, VocabularyT >
Definition at line 14 of file facade.hh.
Member Typedef Documentation
template<class Child, class StateT, class VocabularyT>
template<class Child, class StateT, class VocabularyT>
Constructor & Destructor Documentation
template<class Child, class StateT, class VocabularyT>
template<class Child, class StateT, class VocabularyT>
Member Function Documentation
template<class Child, class StateT, class VocabularyT>
template<class Child, class StateT, class VocabularyT>
template<class Child, class StateT, class VocabularyT>
float lm::base::ModelFacade< Child, StateT, VocabularyT >::BaseScore |
( |
const void * |
in_state, |
|
|
const WordIndex |
new_word, |
|
|
void * |
out_state | |
|
) |
| | const [inline, virtual] |
template<class Child, class StateT, class VocabularyT>
template<class Child, class StateT, class VocabularyT>
template<class Child, class StateT, class VocabularyT>
template<class Child, class StateT, class VocabularyT>
template<class Child, class StateT, class VocabularyT>
The documentation for this class was generated from the following file:
- /disk4/html/www/moses/doxygen/mosesdecoder/lm/facade.hh