#include <LexicalTable.h>
Public Member Functions | |
LexicalTable (Vocabulary &, Vocabulary &) | |
void | Load (std::istream &) |
double | PermissiveLookup (Vocabulary::IdType s, Vocabulary::IdType t) |
Definition at line 18 of file LexicalTable.h.
MosesTraining::Syntax::ScoreStsg::LexicalTable::LexicalTable | ( | Vocabulary & | srcVocab, | |
Vocabulary & | tgtVocab | |||
) |
Definition at line 15 of file LexicalTable.cpp.
void MosesTraining::Syntax::ScoreStsg::LexicalTable::Load | ( | std::istream & | input | ) |
Definition at line 21 of file LexicalTable.cpp.
References MosesTraining::Syntax::NumberedSet< T, I >::Insert(), and prob().
Referenced by MosesTraining::Syntax::ScoreStsg::ScoreStsg::Main().
double MosesTraining::Syntax::ScoreStsg::LexicalTable::PermissiveLookup | ( | Vocabulary::IdType | s, | |
Vocabulary::IdType | t | |||
) | [inline] |
Definition at line 25 of file LexicalTable.h.