SphinxBase 0.6
|
Common internal structure for Sphinx 3-gram models. More...
#include <lm3g_model.h>
Data Fields | |
unigram_t * | unigrams |
bigram_t * | bigrams |
trigram_t * | trigrams |
lmprob_t * | prob2 |
Table of actual bigram probs. | |
int32 | n_prob2 |
prob2 size | |
lmprob_t * | bo_wt2 |
Table of actual bigram backoff weights. | |
int32 | n_bo_wt2 |
bo_wt2 size | |
lmprob_t * | prob3 |
Table of actual trigram probs. | |
int32 | n_prob3 |
prob3 size | |
int32 * | tseg_base |
tseg_base[i>>LOG_BG_SEG_SZ] = index of 1st trigram for bigram segment (i>>LOG_BG_SEG_SZ) | |
tginfo_t ** | tginfo |
tginfo[lw2] is head of linked list of trigram information for some cached subset of bigrams (*,lw2). | |
listelem_alloc_t * | le |
List element allocator for tginfo. | |
Common internal structure for Sphinx 3-gram models.
Definition at line 142 of file lm3g_model.h.
bigram_t* lm3g_model_s::bigrams |
Definition at line 144 of file lm3g_model.h.
lmprob_t* lm3g_model_s::bo_wt2 |
Table of actual bigram backoff weights.
Definition at line 148 of file lm3g_model.h.
listelem_alloc_t* lm3g_model_s::le |
List element allocator for tginfo.
Definition at line 156 of file lm3g_model.h.
int32 lm3g_model_s::n_bo_wt2 |
bo_wt2 size
Definition at line 149 of file lm3g_model.h.
int32 lm3g_model_s::n_prob2 |
prob2 size
Definition at line 147 of file lm3g_model.h.
int32 lm3g_model_s::n_prob3 |
prob3 size
Definition at line 151 of file lm3g_model.h.
lmprob_t* lm3g_model_s::prob2 |
Table of actual bigram probs.
Definition at line 146 of file lm3g_model.h.
lmprob_t* lm3g_model_s::prob3 |
Table of actual trigram probs.
Definition at line 150 of file lm3g_model.h.
tginfo_t** lm3g_model_s::tginfo |
tginfo[lw2] is head of linked list of trigram information for some cached subset of bigrams (*,lw2).
Definition at line 154 of file lm3g_model.h.
trigram_t* lm3g_model_s::trigrams |
Definition at line 145 of file lm3g_model.h.
int32* lm3g_model_s::tseg_base |
tseg_base[i>>LOG_BG_SEG_SZ] = index of 1st trigram for bigram segment (i>>LOG_BG_SEG_SZ)
Definition at line 152 of file lm3g_model.h.
unigram_t* lm3g_model_s::unigrams |
Definition at line 143 of file lm3g_model.h.