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