utt.h File Reference

high level caller of the Viterbi algorithm More...

#include <s3types.h>
#include "kb.h"
#include "corpus.h"

Go to the source code of this file.

Defines

#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)

Detailed Description

high level caller of the Viterbi algorithm


Define Documentation

#define MAXHYPLEN   1000

Function Documentation

S3DECODER_EXPORT void utt_begin ( kb_t kb  ) 

Begin utterance

Parameters:
kb A kb
S3DECODER_EXPORT void utt_decode ( void *  data,
utt_res_t ur,
int32  sf,
int32  ef,
char *  uttid 
)

Decoding the whole utterance

Parameters:
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

Parameters:
kb A kb

Generated on 7 Mar 2010 by  doxygen 1.6.1