libTLK
1.3.1
|
Data Structures | |
struct | tLUniHMMInitializer |
Used in 'tL_init_uniform_hmm'. More... | |
Defines | |
#define | tL_uni_hmm_initializer_free(UCI) (UCI)->meths->free ( UCI ) |
Frees memory. | |
Functions | |
tL_uni_hmm_initializer_new (const tLAModel *amodel, char **err) | |
Gets a tLUniHMMInitializer. | |
tL_init_uniform_hmm (tLUniHMMInitializer *uci, tLAMiCounts *counts, const int c) | |
Initializes uniformly an HMM. |
#define tL_uni_hmm_initializer_free | ( | UCI | ) | (UCI)->meths->free ( UCI ) |
Frees memory.
Frees the memory allocated for the HMM initializer.
UCI | The uniform HMM initializer. |
tL_init_uniform_hmm | ( | tLUniHMMInitializer * | uci, |
tLAMiCounts * | counts, | ||
const int | c | ||
) |
Initializes uniformly an HMM.
This function initializes the counts of the specified HMM in order to obtain a uniformly distributed model.
uci | The uniform HMM initializer. |
counts | Integer counts related to amodel. |
c | The index of the HMM to be initialized. |
tL_uni_hmm_initializer_new | ( | const tLAModel * | amodel, |
char ** | err | ||
) |
Gets a tLUniHMMInitializer.
This function creates auxiliary data used to uniformly initialize HMMs. Currently supported types are: Bernoulli and DGaussian.
amodel | The acoustic model. |
err | Pointer to string variable. If not NULL, an error message is allocated in the variable in case of error. |