|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
#include <facade.hh>
Public Types | |
| typedef StateT | State |
| typedef VocabularyT | Vocabulary |
Public Member Functions | |
| float | Score (const State &in_state, const WordIndex new_word, State &out_state) const |
| FullScoreReturn | FullScore (const void *in_state, const WordIndex new_word, void *out_state) const |
| float | Score (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) |
Private Attributes | |
| State | begin_sentence_ |
| State | null_context_ |
| typedef StateT lm::base::ModelFacade< Child, StateT, VocabularyT >::State |
| typedef VocabularyT lm::base::ModelFacade< Child, StateT, VocabularyT >::Vocabulary |
| lm::base::ModelFacade< Child, StateT, VocabularyT >::ModelFacade | ( | ) | [protected] |
| virtual lm::base::ModelFacade< Child, StateT, VocabularyT >::~ModelFacade | ( | ) | [protected, virtual] |
| const State& lm::base::ModelFacade< Child, StateT, VocabularyT >::BeginSentenceState | ( | ) | const |
| FullScoreReturn lm::base::ModelFacade< Child, StateT, VocabularyT >::FullScore | ( | const void * | in_state, |
| const WordIndex | new_word, | ||
| void * | out_state | ||
| ) | const [virtual] |
| const Vocabulary& lm::base::ModelFacade< Child, StateT, VocabularyT >::GetVocabulary | ( | ) | const |
| void lm::base::ModelFacade< Child, StateT, VocabularyT >::Init | ( | const State & | begin_sentence, |
| const State & | null_context, | ||
| const Vocabulary & | vocab, | ||
| unsigned char | order | ||
| ) | [protected] |
| const State& lm::base::ModelFacade< Child, StateT, VocabularyT >::NullContextState | ( | ) | const |
| float lm::base::ModelFacade< Child, StateT, VocabularyT >::Score | ( | const State & | in_state, |
| const WordIndex | new_word, | ||
| State & | out_state | ||
| ) | const |
| float lm::base::ModelFacade< Child, StateT, VocabularyT >::Score | ( | const void * | in_state, |
| const WordIndex | new_word, | ||
| void * | out_state | ||
| ) | const [virtual] |
Implements lm::base::Model.
State lm::base::ModelFacade< Child, StateT, VocabularyT >::begin_sentence_ [private] |
State lm::base::ModelFacade< Child, StateT, VocabularyT >::null_context_ [private] |