43 #ifndef __NGRAM_MODEL_DMP_H__
44 #define __NGRAM_MODEL_DMP_H__
48 #include "ngram_model_internal.h"
49 #include "lm3g_model.h"
uint16 wid
Index of unigram entry for this.
Silvio Moioli: slightly updated.
uint16 prob3
Index into array of actual trigram probs.
Subclass of ngram_model for DMP file reading.
ngram_model_t base
Base ngram_model_t structure.
Common internal structure for Sphinx 3-gram models.
uint16 trigrams
Index of 1st entry in lm_t.trigrams[], RELATIVE TO its segment base (see above)
uint16 prob2
Index into array of actual bigram probs.
uint16 bo_wt2
Index into array of actual bigram backoff wts.
mmio_file_t * dump_mmap
mmap() of dump file (or NULL if none)
uint16 wid
Index of unigram entry for this.
lm3g_model_t lm3g
Common lm3g_model_t structure.
Common implementation of ngram_model_t.
Memory-mapped I/O wrappers for files.