MosesTraining::PhraseTable Class Reference

#include <tables-core.h>

List of all members.

Public Member Functions

PHRASE_ID storeIfNew (const PHRASE &)
PHRASE_ID getPhraseID (const PHRASE &)
void clear ()
PHRASEgetPhrase (const PHRASE_ID id)

Public Attributes

std::map< PHRASE, PHRASE_IDlookup
std::vector< PHRASEphraseTable


Detailed Description

Definition at line 36 of file tables-core.h.


Member Function Documentation

void MosesTraining::PhraseTable::clear (  ) 

Definition at line 55 of file tables-core.cpp.

References lookup, and phraseTable.

Referenced by main().

Here is the caller graph for this function:

PHRASE& MosesTraining::PhraseTable::getPhrase ( const PHRASE_ID  id  )  [inline]

Definition at line 44 of file tables-core.h.

References phraseTable.

Referenced by MosesTraining::PhraseAlignment::equals(), and processPhrasePairs().

Here is the caller graph for this function:

PHRASE_ID MosesTraining::PhraseTable::getPhraseID ( const PHRASE phrase  ) 

Definition at line 47 of file tables-core.cpp.

References lookup.

PHRASE_ID MosesTraining::PhraseTable::storeIfNew ( const PHRASE phrase  ) 

Definition at line 35 of file tables-core.cpp.

References lookup, and phraseTable.


Member Data Documentation

Definition at line 39 of file tables-core.h.

Referenced by clear(), getPhraseID(), and storeIfNew().

Definition at line 40 of file tables-core.h.

Referenced by clear(), getPhrase(), and storeIfNew().


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