#include "mempool.h"
#include "htable.h"
Go to the source code of this file.
Classes | |
struct | PROB_AND_STATE_ENTRY |
class | ngramcache |
Defines | |
#define | NGRAMCACHE_t ngramcache |
#define | NGRAMCACHE_LOAD_FACTOR 0.5 |
Typedefs | |
typedef struct PROB_AND_STATE_ENTRY | prob_and_state_t |
Functions | |
void | print (prob_and_state_t *pst, std::ostream &out=std::cout) |
#define NGRAMCACHE_LOAD_FACTOR 0.5 |
#define NGRAMCACHE_t ngramcache |
Definition at line 30 of file ngramcache.h.
Referenced by mdiadaptlm::create_caches(), mdiadaptlm::init_caches(), lmtable::init_lmtcaches(), and lmtable::init_prob_and_state_cache().
typedef struct PROB_AND_STATE_ENTRY prob_and_state_t |
void print | ( | prob_and_state_t * | pst, | |
std::ostream & | out = std::cout | |||
) |
Definition at line 55 of file lmtable.cpp.
References PROB_AND_STATE_ENTRY::bol, PROB_AND_STATE_ENTRY::bow, PROB_AND_STATE_ENTRY::logpr, NULL, PROB_AND_STATE_ENTRY::state, and PROB_AND_STATE_ENTRY::statesize.