#include <julius.h>
Include dependency graph for result_tty.c:
Go to the source code of this file.
Definition in file result_tty.c.
static void ttyout_status_process_online | ( | ) | [static] |
Called when it becomes ready to recognize the input.
Definition at line 40 of file result_tty.c.
Referenced by setup_result_tty().
static void ttyout_status_process_offline | ( | ) | [static] |
Called when process paused and recognition is stopped.
Definition at line 55 of file result_tty.c.
Referenced by setup_result_tty().
static void ttyout_pass1_begin | ( | ) | [static] |
1st pass: output when recognition begins (will be called at input start).
Definition at line 76 of file result_tty.c.
Referenced by setup_result_tty().
static void ttyout_pass1_current | ( | int | t, | |
WORD_ID * | seq, | |||
int | num, | |||
LOGPROB | score, | |||
LOGPROB | LMscore, | |||
WORD_INFO * | winfo | |||
) | [static] |
1st pass: output current result while search (called periodically while 1st pass).
t | [in] current time frame | |
seq | [in] current best word sequence at time t. | |
num | [in] length of seq. | |
score | [in] accumulated score of the current best sequence at t. | |
LMscore | [in] confidence score of last word on the sequence | |
winfo | [in] word dictionary |
Definition at line 107 of file result_tty.c.
Referenced by setup_result_tty().
static void ttyout_pass1_final | ( | WORD_ID * | seq, | |
int | num, | |||
LOGPROB | score, | |||
LOGPROB | LMscore, | |||
WORD_INFO * | winfo | |||
) | [static] |
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).
seq | [in] word sequence of the best hypothesis at the 1st pass. | |
num | [in] length of seq. | |
score | [in] accumulated hypothesis score of seq. | |
LMscore | [in] language score in score. | |
winfo | [in] word dictionary. |
Definition at line 159 of file result_tty.c.
Referenced by setup_result_tty().
static void ttyout_pass1_end | ( | ) | [static] |
1st pass: end of output (will be called at the end of the 1st pass).
Definition at line 222 of file result_tty.c.
Referenced by setup_result_tty().
Output word sequence of a hypothesis.
hypo | [in] sentence hypothesis | |
winfo | [in] word dictionary |
Definition at line 246 of file result_tty.c.
Referenced by put_all_in_stack(), ttyout_pass2(), and wb_ok().
Output LM word sequence (N-gram entry/DFA category) of a hypothesis.
hypo | [in] sentence hypothesis | |
winfo | [in] word dictionary |
Definition at line 274 of file result_tty.c.
Referenced by ttyout_pass2().
Output phoneme sequence of a hypothesis.
hypo | [in] sentence hypothesis | |
winfo | [in] word dictionary |
Definition at line 302 of file result_tty.c.
Referenced by ttyout_pass2().
static void put_hypo_cmscore | ( | NODE * | hypo | ) | [static] |
Output confidence score of words in a sentence hypothesis.
hypo |
Definition at line 348 of file result_tty.c.
Referenced by ttyout_pass2().
2nd pass: output a sentence hypothesis found in the 2nd pass.
hypo | [in] sentence hypothesis to be output | |
rank | [in] rank of hypo | |
winfo | [in] word dictionary |
Definition at line 379 of file result_tty.c.
Referenced by setup_result_tty(), and ttyout_pass2_failed().
static void ttyout_pass2_begin | ( | ) | [static] |
2nd pass: output at the start of result output (will be called before all the result output in the 2nd pass).
Definition at line 448 of file result_tty.c.
Referenced by setup_result_tty().
static void ttyout_pass2_end | ( | ) | [static] |
static void ttyout_pass2_failed | ( | WORD_INFO * | winfo | ) | [static] |
Output when search failed and no sentence candidate has been found.
winfo | [in] word dictionary |
Definition at line 539 of file result_tty.c.
Referenced by setup_result_tty().
static void ttyout_rejected | ( | const char * | s | ) | [static] |
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.
s | [in] string that describes the result of rejection |
Definition at line 560 of file result_tty.c.
Referenced by setup_result_tty().
void ttyout_status_recready | ( | ) |
Output when ready to recognize and start waiting speech input.
Definition at line 579 of file result_tty.c.
Referenced by setup_result_tty().
void ttyout_status_recstart | ( | ) |
Output when input starts.
Definition at line 597 of file result_tty.c.
Referenced by setup_result_tty().
void ttyout_status_recend | ( | ) |
Output when input ends.
Definition at line 612 of file result_tty.c.
Referenced by setup_result_tty().
void ttyout_status_param | ( | HTK_Param * | param | ) |
Output input parameter status such as length.
param | [in] input parameter structure |
Definition at line 629 of file result_tty.c.
Referenced by setup_result_tty().
void setup_result_tty | ( | ) |
Register output functions to enable module output.
Definition at line 650 of file result_tty.c.
Referenced by select_result_output().