segReest.h File Reference

Header file for segmental HMM reestimation functions. More...

#include <segConfig.h>

Go to the source code of this file.

Functions

int segIncrementLinearHMMAccumulators (SEG_STATE **stateId, int *stateSeq, SEG_SYNTAX *syn, double **spData, int sT, int eT, int maxDur)
 Increment the reestimation bins, according to the current utterance alignment.
int segInitialiseHMMAccumulators (SEG_MODEL_SET *hmmSet)
 Initialise reestimation accumulators for the entire set of models.
int segReestSegModels (SEG_MODEL_SET *hmmSet, SEG_CONFIG *config)
 Reestimate linear segmental-HMM parameters.


Detailed Description

Header file for segmental HMM reestimation functions.

Author:
Yoshinori Shiga Centre for Vision, Speech and Signal Processing University of Surrey
Date:
30 January 2007
Revision

Function Documentation

int segIncrementLinearHMMAccumulators ( SEG_STATE **  stateId,
int *  stateSeq,
SEG_SYNTAX syn,
double **  spData,
int  sT,
int  eT,
int  maxDur 
)

Increment the reestimation bins, according to the current utterance alignment.

The function uses the optimal state sequence (i.e., the current utterance alignment) to add each acoustic vector to the accumulator of the corresponding HMM state on the optimal state sequence Linear trajectory model (i.e. slope and mean value).

Parameters:
[in,out] stateId Array of state IDs of the best state-sequence
[in] stateSeq The best state sequence
[in] syn Syntax
[in] spData Acoustic feature vectors of speech data
[in] sT Start time of the utterance
[in] eT End time of the utterance
[in] maxDur Maximum segment duration
Return values:
RTN_ERROR Memory allocation error
NO_ERROR Successfully executed
Author:
Yoshinori Shiga @ CVSSP, University of Surrey
Note:
The accumulation is carried out based on the optimal state sequence from training.

int segInitialiseHMMAccumulators ( SEG_MODEL_SET hmmSet  ) 

Initialise reestimation accumulators for the entire set of models.

The function initialises reestimation accumulators for the entire set of models.

Parameters:
[in,out] hmmSet Model set
Returns:
NO_ERROR Successfully executed
Author:
Yoshinori Shiga @ CVSSP, University of Surrey
Note:
The following functions are called internally: initTransProbs(), initStates(), initTrjModels() and initDurModels().
See also:
initTransProbs(), initStates(), initTrjModels() and initDurModels().

int segReestSegModels ( SEG_MODEL_SET hmmSet,
SEG_CONFIG config 
)

Reestimate linear segmental-HMM parameters.

The function reestimates the segmental HMMs using the accumulated values in the reestimation bins.

Parameters:
[in,out] hmmSet Model set
[in] config Configuration parameters
Return values:
NO_ERROR Successfully executed
RTN_ERROR Too small number of samples for the model
Author:
Yoshinori Shiga @ CVSSP, University of Surrey
Note:
The following functions are called internally: modelOccupancy(), reestTransProbs(), reestTrjModels(), durModelOccupancy(), and reestGammaDistDurModels() or reestDiscreteDurModels().
See also:
modelOccupancy(), reestTransProbs(), reestTrjModels(), durModelOccupancy(), reestGammaDistDurModels() and reestDiscreteDurModels()


Generated on Sun Aug 5 02:40:37 2007 for SEGRec Version 1.0 by  doxygen 1.5.1