libTLK  1.3.1
Data Structures | Defines | Functions
Uniform initialization of HMMs
Algorithms

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 Documentation

#define tL_uni_hmm_initializer_free (   UCI)    (UCI)->meths->free ( UCI )

Frees memory.

Frees the memory allocated for the HMM initializer.

Parameters:
UCIThe uniform HMM initializer.

Function Documentation

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.

Parameters:
uciThe uniform HMM initializer.
countsInteger counts related to amodel.
cThe 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.

Parameters:
amodelThe acoustic model.
errPointer to string variable. If not NULL, an error message is allocated in the variable in case of error.
Returns:
Uniform HMM initializer data, or NULL in case of error.
 All Data Structures Variables