37 #ifndef __NGRAM_MODEL_TRIE_H__
38 #define __NGRAM_MODEL_TRIE_H__
43 #include "ngram_model_internal.h"
61 int ngram_model_trie_write_arpa(
ngram_model_t * base,
const char *path);
73 int ngram_model_trie_write_bin(
ngram_model_t * model,
const char *path);
79 const char *file_name,
lm_trie_t * trie
Trie structure that stores ngram relations and weights.
ngram_model_t base
Base ngram_model_t structure.
Basic type definitions used in Sphinx.
Opaque structure used to hold the results of command-line parsing.
Common implementation of ngram_model_t.
Fast integer logarithmic addition operations.