high level caller of the Viterbi algorithm More...
Go to the source code of this file.
Macros | |
#define | MAXHYPLEN 1000 |
Functions | |
S3DECODER_EXPORT void | utt_begin (kb_t *kb) |
S3DECODER_EXPORT void | utt_end (kb_t *kb) |
S3DECODER_EXPORT void | utt_decode (void *data, utt_res_t *ur, int32 sf, int32 ef, char *uttid) |
S3DECODER_EXPORT void | utt_decode_block (float ***block_feat, int32 block_nfeatvec, int32 *curfrm, kb_t *kb) |
high level caller of the Viterbi algorithm
#define MAXHYPLEN 1000 |
S3DECODER_EXPORT void utt_begin | ( | kb_t * | kb | ) |
Begin utterance
kb | A kb |
S3DECODER_EXPORT void utt_decode | ( | void * | data, |
utt_res_t * | ur, | ||
int32 | sf, | ||
int32 | ef, | ||
char * | uttid | ||
) |
Decoding the whole utterance
data | A kb |
ur | Utterance resource structure |
sf | Starting frame of the decoding |
ef | Ending frame of the decoding |
uttid | Utterance ID |
Referenced by main().
S3DECODER_EXPORT void utt_decode_block | ( | float *** | block_feat, |
int32 | block_nfeatvec, | ||
int32 * | curfrm, | ||
kb_t * | kb | ||
) |
This function decodes a block of incoming feature vectors. Feature vectors have to be computed by the calling routine. The utterance level index of the last feature vector decoded (before the current block) must be passed. The current status of the decode is stored in the kb structure that is passed in.
S3DECODER_EXPORT void utt_end | ( | kb_t * | kb | ) |
End utterance
kb | A kb |