libTLK
1.3.1
|
Functions | |
tL_initializer_free (tLInitializer *ini) | |
Frees memory. | |
tL_initializer_new (const tLAModel *amodel, const tLSeqs *seqs, char **err) | |
Gets a tLInitializer. | |
tL_init (tLInitializer *ini, tLAMiCounts *counts, const tLFea *fea, const size_t seq) | |
Initializes an acoustic model from a sample and its transcription. |
tL_init | ( | tLInitializer * | ini, |
tLAMiCounts * | counts, | ||
const tLFea * | fea, | ||
const size_t | seq | ||
) |
Initializes an acoustic model from a sample and its transcription.
This function linearly segments the input frames, according to the number of symbols of the transcription. According to this segmentation, acoustic model counts are increased using tL_init_hmm. The transcription is specified as an integer code according to the sequence manager used during the creation of the auxiliary data.
ini | Initializer. |
counts | Integer counts related to amodel. |
fea | A feature vector manager, which must contain a sequence of feature vectors of an adequate type for the amodel. |
seq | The code of the symbol sequence related to fea. |
tL_initializer_free | ( | tLInitializer * | ini | ) |
Frees memory.
Frees the memory allocated for the initializer.
ini | The initializer. |
tL_initializer_new | ( | const tLAModel * | amodel, |
const tLSeqs * | seqs, | ||
char ** | err | ||
) |
Gets a tLInitializer.
This function creates a new initializer used to initialize an acoustic model from samples and their transcriptions using linear segmentation. Currently supported types are: see tL_hmm_initializer_new.
amodel | The acoustic model. |
seqs | A symbol sequence manager containing the transcription of the samples. |
err | Pointer to string variable. If not NULL, an error message is allocated in the variable in case of error. |