42 #ifndef __NGRAM_MODEL_SET_H__
43 #define __NGRAM_MODEL_SET_H__
45 #include "ngram_model_internal.h"
struct ngram_model_set_s ngram_model_set_t
Subclass of ngram_model for grouping language models.
char ** names
Names for language models.
int32 * lweights
Log interpolation weights.
int32 ** widmap
Word ID mapping for submodels.
Subclass of ngram_model for grouping language models.
int32 n_models
Number of models in this set.
int32 * maphist
Word ID mapping for N-Gram history.
Iterator over a model set.
ngram_model_t base
Base ngram_model_t structure.
int32 cur
Currently selected model, or -1 for none.
ngram_model_t ** lms
Language models in this set.
Common implementation of ngram_model_t.