MosesTraining::LexicalTable Class Reference

#include <score.h>

List of all members.

Public Member Functions

void load (const std::string &filePath)
double permissiveLookup (WORD_ID wordS, WORD_ID wordT)
void load (const string &)

Public Attributes

std::map< WORD_ID, std::map
< WORD_ID, double > > 
ltable
map< WORD_ID, map< WORD_ID,
double > > 
ltable


Detailed Description

Definition at line 27 of file score.h.


Member Function Documentation

void LexicalTable::load ( const string &  filePath  ) 

Definition at line 307 of file statistics-main.cpp.

References ltable, prob(), MosesTraining::Vocabulary::storeIfNew(), and util::tokenize().

Here is the call graph for this function:

void LexicalTable::load ( const std::string &  filePath  ) 

Definition at line 1195 of file score-main.cpp.

References ltable, prob(), MosesTraining::Vocabulary::storeIfNew(), MosesTraining::Tokenize(), MosesTraining::vcbS, and MosesTraining::vcbT.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

double MosesTraining::LexicalTable::permissiveLookup ( WORD_ID  wordS,
WORD_ID  wordT 
) [inline]

Definition at line 32 of file score.h.

References ltable.

Referenced by computeLexicalTranslation().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 40 of file statistics-main.cpp.

std::map< WORD_ID, std::map< WORD_ID, double > > MosesTraining::LexicalTable::ltable

Definition at line 30 of file score.h.

Referenced by load(), and permissiveLookup().


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

Generated on Thu Jul 6 00:34:08 2017 for Moses by  doxygen 1.5.9