/usr/include/sphinx3/s3_endpointer.h is in libs3decoder-dev 0.8-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | #include <logmath.h>
#include "cont_mgau.h"
#ifndef __SPHINX3_ENDPOINTER_H
#define __SPHINX3_ENDPOINTER_H
#ifdef __cplusplus
extern "C" {
#endif
#if 0
/* Fool Emacs. */
}
#endif
typedef struct {
float32 **frames;
int *classes;
int n_frames;
int offset;
int count;
int eof;
mgau_model_t *gmm;
int *priors;
int *voters;
int post_classify;
int state;
int begin_count;
int begin_countdown;
int begin_pad;
int begin_window;
int begin_threshold;
int end_count;
int end_countdown;
int end_pad;
int end_window;
int end_threshold;
int frames_required;
} s3_endpointer_t;
S3DECODER_EXPORT
void s3_endpointer_init(s3_endpointer_t *_ep,
const char *_means_file,
const char *_vars_file,
float64 _var_floor,
const char *_mix_weights_file,
float64 _mix_weight_floor,
const char *_gm_type,
int _post_classify,
int _begin_window,
int _begin_threshold,
int _begin_pad,
int _end_window,
int _end_threshold,
int _end_pad,
logmath_t *logmath);
S3DECODER_EXPORT
void s3_endpointer_close(s3_endpointer_t *_ep);
S3DECODER_EXPORT
void s3_endpointer_reset(s3_endpointer_t *_ep);
S3DECODER_EXPORT
void s3_endpointer_feed_frames(s3_endpointer_t *_ep,
float32 **_frames,
int _n_frames,
int _eof);
S3DECODER_EXPORT
int s3_endpointer_read_utt(s3_endpointer_t *_ep,
float32 **_frames,
int _n_frames);
S3DECODER_EXPORT
int s3_endpointer_next_utt(s3_endpointer_t *_ep);
S3DECODER_EXPORT
int s3_endpointer_frame_count(s3_endpointer_t *_ep);
#ifdef __cplusplus
}
#endif
#endif
|