|
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 143 of file lm3g_model.h.
List element allocator for tginfo.
Definition at line 157 of file lm3g_model.h.
tginfo[lw2] is head of linked list of trigram information for some cached subset of bigrams (*,lw2).
Definition at line 155 of file lm3g_model.h.