classifier.h File Reference
#include "s3types.h"
#include "cont_mgau.h"
Go to the source code of this file.
Classes |
struct | classifier_t |
struct | endptr_t |
Defines |
#define | CEP_LEN 13 |
#define | VOTING_LEN 5 |
#define | CLASS_LATENCY 2 |
#define | CLASS_SILENCE_PRIOR 0.4f |
#define | CLASS_OWNER_PRIOR 0.4f |
#define | CLASS_SECONDARY_PRIOR 0.1f |
#define | CLASS_NOISE_PRIOR 0.1f |
Enumerations |
enum | {
CLASS_NOISE = 0,
CLASS_OWNER,
CLASS_SECONDARY,
CLASS_SILENCE,
NUM_CLASSES
} |
enum | { EP_MAYBE = 0,
EP_SILENCE,
EP_SPEECH
} |
Functions |
int | cl_init (classifier_t *_cl, char *_mdef_file, char *_means_file, char *_vars_file, float64 _var_floor, char *_mix_weights_file, float64 _mix_weight_floor, char *_gm_type, int _post_classify) |
void | cl_finish (classifier_t *_cl) |
void | cl_calc_frame_prob (classifier_t *_cl, float32 *_frame) |
int | cl_classify_frames (classifier_t *_cl, float32 **_frames, int _num_frames, int **_classes) |
void | ep_init (endptr_t *_ep, int _pad_leader, int _pad_trailer, int _pad_cancel) |
void | ep_finish (endptr_t *_ep) |
int | ep_endpoint (endptr_t *_ep, int *_classes, int _num_frames, int **_endpts) |
Define Documentation
#define CLASS_NOISE_PRIOR 0.1f |
#define CLASS_OWNER_PRIOR 0.4f |
#define CLASS_SECONDARY_PRIOR 0.1f |
#define CLASS_SILENCE_PRIOR 0.4f |
Enumeration Type Documentation
- Enumerator:
CLASS_NOISE |
|
CLASS_OWNER |
|
CLASS_SECONDARY |
|
CLASS_SILENCE |
|
NUM_CLASSES |
|
- Enumerator:
EP_MAYBE |
|
EP_SILENCE |
|
EP_SPEECH |
|
Function Documentation
void cl_calc_frame_prob |
( |
classifier_t * |
_cl, |
|
|
float32 * |
_frame | |
|
) |
| | |
int cl_classify_frames |
( |
classifier_t * |
_cl, |
|
|
float32 ** |
_frames, |
|
|
int |
_num_frames, |
|
|
int ** |
_classes | |
|
) |
| | |
int cl_init |
( |
classifier_t * |
_cl, |
|
|
char * |
_mdef_file, |
|
|
char * |
_means_file, |
|
|
char * |
_vars_file, |
|
|
float64 |
_var_floor, |
|
|
char * |
_mix_weights_file, |
|
|
float64 |
_mix_weight_floor, |
|
|
char * |
_gm_type, |
|
|
int |
_post_classify | |
|
) |
| | |
int ep_endpoint |
( |
endptr_t * |
_ep, |
|
|
int * |
_classes, |
|
|
int |
_num_frames, |
|
|
int ** |
_endpts | |
|
) |
| | |
void ep_init |
( |
endptr_t * |
_ep, |
|
|
int |
_pad_leader, |
|
|
int |
_pad_trailer, |
|
|
int |
_pad_cancel | |
|
) |
| | |