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.
Detailed Description
high level caller of the Viterbi algorithm
Define Documentation
Function Documentation
S3DECODER_EXPORT void utt_begin |
( |
kb_t * |
kb |
) |
|
Begin utterance
- Parameters:
-
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:
-