fsg_model_s Struct Reference

Word level FSG definition. More...

#include <fsg_model.h>


Data Fields

int refcount
 Reference count.
char * name
 A unique string identifier for this FSG.
int32 n_word
 Number of unique words in this FSG.
int32 n_word_alloc
 Number of words allocated in vocab.
char ** vocab
 Vocabulary for this FSG.
bitvec_t * silwords
 Indicates which words are silence/fillers.
bitvec_t * altwords
 Indicates which words are pronunciation alternates.
logmath_tlmath
 Pointer to log math computation object.
int32 n_state
 number of states in FSG
int32 start_state
 Must be in the range [0.
int32 final_state
 Must be in the range [0.
float32 lw
 Language weight that's been applied to transition logprobs.
glist_t ** trans
 trans[i][j] = glist of non-epsilon transitions or links (fsg_link_t *) from state i to state j, if any; NULL if none.
fsg_link_t *** null_trans
 null_trans[i][j] = epsilon or null link from state i to j, if any; NULL if none.
listelem_alloc_tlink_alloc
 Allocator for FSG links.


Detailed Description

Word level FSG definition.

States are simply integers 0..n_state-1. A transition emits a word and has a given probability of being taken. There can also be null or epsilon transitions, with no associated emitted word.

Definition at line 87 of file fsg_model.h.


Field Documentation

Indicates which words are pronunciation alternates.

Definition at line 94 of file fsg_model.h.

Must be in the range [0.

.n_state-1]

Definition at line 98 of file fsg_model.h.

Referenced by jsgf_build_fsg().

Allocator for FSG links.

Definition at line 108 of file fsg_model.h.

Pointer to log math computation object.

Definition at line 95 of file fsg_model.h.

fsg_link_t*** fsg_model_s::null_trans

null_trans[i][j] = epsilon or null link from state i to j, if any; NULL if none.

(At most one null transition between two given states.)

Definition at line 104 of file fsg_model.h.

Reference count.

Definition at line 88 of file fsg_model.h.

Indicates which words are silence/fillers.

Definition at line 93 of file fsg_model.h.

Must be in the range [0.

.n_state-1]

Definition at line 97 of file fsg_model.h.

Referenced by jsgf_build_fsg().

trans[i][j] = glist of non-epsilon transitions or links (fsg_link_t *) from state i to state j, if any; NULL if none.

Definition at line 101 of file fsg_model.h.

Vocabulary for this FSG.

Definition at line 92 of file fsg_model.h.


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

Generated on Mon Aug 24 16:08:01 2009 for SphinxBase by  doxygen 1.5.8