a structure for a dictionary. More...
#include <dict.h>
Public Attributes | |
mdef_t * | mdef |
hash_table_t * | pht |
char ** | ciphone_str |
int32 | n_ciphone |
dictword_t * | word |
hash_table_t * | ht |
int32 | max_words |
int32 | n_word |
int32 | filler_start |
int32 | filler_end |
s3wid_t * | comp_head |
s3wid_t | startwid |
s3wid_t | finishwid |
s3wid_t | silwid |
lts_t * | lts_rules |
a structure for a dictionary.
char** dict_t::ciphone_str |
Used only if CI phones handled internally (mdef == NULL)
s3wid_t* dict_t::comp_head |
comp_head[w] = wid of a compound word with 1st component = w; comp_head[comp_head[w]] = next such compound word, and so on, until we hit BAD_S3WID. NULL if no compound word in dict.
int32 dict_t::filler_end |
Last filler word id (read from filler dict)
int32 dict_t::filler_start |
First filler word id (read from filler dict)
s3wid_t dict_t::finishwid |
FOR INTERNAL-USE ONLY
hash_table_t* dict_t::ht |
Hash table for mapping word strings to word ids
lts_t* dict_t::lts_rules |
The LTS rules
int32 dict_t::max_words |
#Entries allocated in dict, including empty slots
mdef_t* dict_t::mdef |
Model definition used for phone IDs; NULL if none used
int32 dict_t::n_ciphone |
Used only if CI phones handled internally (mdef == NULL)
int32 dict_t::n_word |
#Occupied entries in dict; ie, excluding empty slots
hash_table_t* dict_t::pht |
Used only if CI phones handled internally (mdef == NULL)
s3wid_t dict_t::silwid |
FOR INTERNAL-USE ONLY
s3wid_t dict_t::startwid |
FOR INTERNAL-USE ONLY
dictword_t* dict_t::word |
Array of entries in dictionary