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 CEP_LEN   13
#define CLASS_LATENCY   2
#define CLASS_NOISE_PRIOR   0.1f
#define CLASS_OWNER_PRIOR   0.4f
#define CLASS_SECONDARY_PRIOR   0.1f
#define CLASS_SILENCE_PRIOR   0.4f
#define VOTING_LEN   5

Enumeration Type Documentation

anonymous enum
Enumerator:
CLASS_NOISE 
CLASS_OWNER 
CLASS_SECONDARY 
CLASS_SILENCE 
NUM_CLASSES 
anonymous enum
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 
)
void cl_finish ( classifier_t _cl  ) 
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_finish ( endptr_t _ep  ) 
void ep_init ( endptr_t _ep,
int  _pad_leader,
int  _pad_trailer,
int  _pad_cancel 
)

Generated on 7 Mar 2010 by  doxygen 1.6.1