#include "fe.h"
#include "classify.h"
Go to the source code of this file.
Classes | |
| struct | endpointer_t |
| Struct to hold the end-pointer parameters. More... | |
Defines | |
| #define | STAT_OTHER 0 |
| #define | STAT_BEGIN 1 |
| #define | STAT_SPEECH 2 |
| #define | STAT_END 3 |
| #define | STAT_CANCEL 4 |
| #define | PAD_T_BEFORE "0.15" |
| #define | PAD_T_AFTER "0.2" |
| #define | UTT_T_START "0.08" |
| #define | UTT_T_END "0.30" |
| #define | UTT_T_CANCEL "0.05" |
Functions | |
| endpointer_t * | endpointer_initialize (fe_t *FE, float pad_t_before, float pad_t_after, float utt_t_start, float utt_t_end, float utt_t_cancel) |
| void | endpointer_free (endpointer_t *ENDPTR) |
| void | endpointer_update_stat (endpointer_t *ENDPTR, fe_t *FE, class_t *CLASSW, int _class) |
| float | endptr_frame2secs_beg (fe_t *FE, int frame) |
| float | endptr_frame2secs_end (fe_t *FE, int frame) |
|
|
to pad this much of seconds after spend |
|
|
to pad this much of seconds before spbegin |
|
|
beginning of speech period, starts with first speech frame |
|
|
non-speech frames while an utterances is in STAT_BEGIN |
|
|
end of speech period |
|
|
non-speech period, noise, silence, or secondary speech |
|
|
inter-speech period, once |
|
|
to cancel an utterance after this much of non-speech seconds |
|
|
to end an utterance after this much of non-speech seconds |
|
|
to announce STAT_SPEECH after this much of speech seconds |
|
|
Free the end pointer
|
|
||||||||||||||||||||||||||||
|
Initialize the end pointer
|
|
||||||||||||||||||||
|
|
|
||||||||||||
|
Convert frames 2 seconds for beginning frame.
|
|
||||||||||||
|
Convert frames 2 seconds for ending frame.
|
1.3.9.1