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)
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)
Referenced by align_init().
int32 dict_t::filler_start |
First filler word id (read from filler dict)
Referenced by align_init(), build_word_cand_cf(), and word_trans().
FOR INTERNAL-USE ONLY
Referenced by align_build_sent_hmm(), align_init(), build_word_cand_cf(), flat_fwd_dag_add_fudge_edges(), and word_trans().
hash_table_t* dict_t::ht |
Hash table for mapping word strings to word ids
The LTS rules
int32 dict_t::max_words |
#Entries allocated in dict, including empty slots
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
Referenced by build_word_cand_cf(), dump_all_whmm(), dump_all_word(), whmm_eval(), whmm_exit(), and whmm_renorm().
hash_table_t* dict_t::pht |
Used only if CI phones handled internally (mdef == NULL)
FOR INTERNAL-USE ONLY
Referenced by align_init().
FOR INTERNAL-USE ONLY
Referenced by align_build_sent_hmm(), align_init(), build_word_cand_cf(), and word_trans().
Array of entries in dictionary
Referenced by dict2pid_get_rcmap(), dump_all_word(), get_rc_nssid(), whmm_exit(), whmm_transition(), word_enter(), and word_trans().