SphinxBase  5prealpha
ngram_model_set_s Struct Reference

Subclass of ngram_model for grouping language models. More...

#include <ngram_model_set.h>

Data Fields

ngram_model_t base
 Base ngram_model_t structure. More...
 
int32 n_models
 Number of models in this set. More...
 
int32 cur
 Currently selected model, or -1 for none. More...
 
ngram_model_t ** lms
 Language models in this set. More...
 
char ** names
 Names for language models. More...
 
int32 * lweights
 Log interpolation weights. More...
 
int32 ** widmap
 Word ID mapping for submodels. More...
 
int32 * maphist
 Word ID mapping for N-Gram history. More...
 

Detailed Description

Subclass of ngram_model for grouping language models.

Definition at line 50 of file ngram_model_set.h.

Field Documentation

ngram_model_t ngram_model_set_s::base

Base ngram_model_t structure.

Definition at line 51 of file ngram_model_set.h.

Referenced by ngram_model_set_init().

int32 ngram_model_set_s::cur
int32* ngram_model_set_s::lweights

Log interpolation weights.

Definition at line 57 of file ngram_model_set.h.

Referenced by ngram_model_set_add(), ngram_model_set_init(), ngram_model_set_interp(), and ngram_model_set_remove().

int32* ngram_model_set_s::maphist

Word ID mapping for N-Gram history.

Definition at line 59 of file ngram_model_set.h.

Referenced by ngram_model_set_add(), and ngram_model_set_init().

int32** ngram_model_set_s::widmap

The documentation for this struct was generated from the following file: