Public Attributes | List of all members
dict_t Struct Reference

a structure for a dictionary. More...

#include <dict.h>

Public Attributes

mdef_tmdef
 
hash_table_t * pht
 
char ** ciphone_str
 
int32 n_ciphone
 
dictword_tword
 
hash_table_t * ht
 
int32 max_words
 
int32 n_word
 
int32 filler_start
 
int32 filler_end
 
s3wid_tcomp_head
 
s3wid_t startwid
 
s3wid_t finishwid
 
s3wid_t silwid
 
lts_tlts_rules
 

Detailed Description

a structure for a dictionary.

Member Data Documentation

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)

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().

s3wid_t dict_t::finishwid
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

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)

s3wid_t dict_t::silwid

FOR INTERNAL-USE ONLY

Referenced by align_init().

s3wid_t dict_t::startwid

FOR INTERNAL-USE ONLY

Referenced by align_build_sent_hmm(), align_init(), build_word_cand_cf(), and word_trans().

dictword_t* dict_t::word

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