#include <julius.h>
#include <time.h>
Include dependency graph for result_msock.c:
Go to the source code of this file.
Functions | |
static void | msock_status_process_online () |
static void | msock_status_process_offline () |
void | decode_output_selection (char *str) |
static void | msock_word_out1 (WORD_ID w, WORD_INFO *winfo) |
static void | msock_word_out2 (WORD_ID w, WORD_INFO *winfo) |
static void | msock_pass1_begin () |
static void | msock_pass1_current (int t, WORD_ID *seq, int num, LOGPROB score, LOGPROB LMscore, WORD_INFO *winfo) |
static void | msock_pass1_final (WORD_ID *seq, int num, LOGPROB score, LOGPROB LMscore, WORD_INFO *winfo) |
static void | msock_pass1_end () |
static void | msock_pass2_begin () |
static void | msock_pass2 (NODE *hypo, int rank, WORD_INFO *winfo) |
static void | msock_pass2_end () |
static void | msock_pass2_failed (WORD_INFO *winfo) |
static void | msock_rejected (const char *s) |
void | msock_status_recready () |
void | msock_status_recstart () |
void | msock_status_recend () |
void | msock_status_param (HTK_Param *param) |
void | setup_result_msock () |
Variables | |
static boolean | out1_word = FALSE |
static boolean | out1_lm = FALSE |
static boolean | out1_phone = FALSE |
static boolean | out1_score = FALSE |
static boolean | out2_word = TRUE |
static boolean | out2_lm = TRUE |
static boolean | out2_phone = TRUE |
static boolean | out2_score = TRUE |
static boolean | out1_never = TRUE |
static boolean | out2_never = FALSE |
static boolean | out2_cm = TRUE |
Definition in file result_msock.c.
|
Called when it becomes ready to recognize the input. Definition at line 41 of file result_msock.c. Referenced by setup_result_msock(). |
|
Called when process paused and recognition is stopped. Definition at line 56 of file result_msock.c. Referenced by setup_result_msock(). |
|
Setup which word information to be output as a recognition result.
Definition at line 84 of file result_msock.c. Referenced by opt_parse(). |
|
Subroutine to output information of a recognized word at 1st pass.
Definition at line 134 of file result_msock.c. Referenced by msock_pass1_current(), and msock_pass1_final(). |
|
Subroutine to output information of a recognized word at 2nd pass.
Definition at line 171 of file result_msock.c. Referenced by msock_pass2(). |
|
1st pass: output when recognition begins (will be called at input start). Definition at line 208 of file result_msock.c. Referenced by setup_result_msock(). |
|
1st pass: output current result while search (called periodically while 1st pass).
Definition at line 235 of file result_msock.c. Referenced by setup_result_msock(). |
|
1st pass: output final result of the 1st pass (will be called just after the 1st pass ends and before the 2nd pass begins, and will not if search failed).
Definition at line 278 of file result_msock.c. Referenced by setup_result_msock(). |
|
1st pass: end of output (will be called at the end of the 1st pass). Definition at line 308 of file result_msock.c. Referenced by setup_result_msock(). |
|
2nd pass: output at the start of result output (will be called before all the result output in the 2nd pass). Definition at line 329 of file result_msock.c. Referenced by setup_result_msock(). |
|
2nd pass: output a sentence hypothesis found in the 2nd pass.
Definition at line 352 of file result_msock.c. Referenced by setup_result_msock(). |
|
2nd pass: end output Definition at line 405 of file result_msock.c. Referenced by setup_result_msock(). |
|
Output when search failed and no sentence candidate has been found.
Definition at line 480 of file result_msock.c. Referenced by setup_result_msock(). |
|
Output when input has been rejected and no recognition result is given. This will be called when input was rejected by speech detection such as GMM or input length.
Definition at line 501 of file result_msock.c. Referenced by setup_result_msock(). |
|
Output when ready to recognize and start waiting speech input. Definition at line 520 of file result_msock.c. Referenced by setup_result_msock(). |
|
Output when input starts. Definition at line 535 of file result_msock.c. Referenced by setup_result_msock(). |
|
Output when input ends. Definition at line 550 of file result_msock.c. Referenced by setup_result_msock(). |
|
Output input parameter status such as length.
Definition at line 567 of file result_msock.c. Referenced by setup_result_msock(). |
|
Register output functions to enable module output. Definition at line 586 of file result_msock.c. Referenced by select_result_output(). |