Recog Struct Reference

Top level instance for the whole recognition process. More...

#include <recog.h>

Collaboration diagram for Recog:

Collaboration graph
[legend]

Data Fields

Jconfjconf
 User-specified configuration parameters.
ADInadin
 A/D-in buffers.
RealBeam real
 Work area for the realtime processing of first pass.
MFCCCalcmfcclist
 Linked list of MFCC calculation/reading instances.
PROCESS_AMamlist
 Linked list of acoustic model instances.
PROCESS_LMlmlist
 Linked list of language model instances.
RecogProcessprocess_list
 Linked list of recognition process instances.
boolean process_segment
 TRUE when engine is processing a segment (for short-pause segmentation).
SP16speech
 Input speech data.
int speechalloclen
 Allocate length of speech.
int speechlen
 Input length in samples.
int peseqlen
 Input length in frames.
HTK_HMM_INFOgmm
 GMM definitions.
MFCCCalcgmmmfcc
 Pointer to MFCC instance for GMM.
GMMCalcgc
 Work area for GMM calculation.
boolean process_active
 Status flag indicating whether the recognition is alive or not.
boolean process_want_terminate
 If set to TRUE, Julius/Julian stops recognition immediately, terminating the currenct recognition process, and enter into disabled status.
boolean process_want_reload
 If set to TRUE, Julius/Julian stops recognition softly.
short gram_switch_input_method
 When to refresh the global lexicon if received while recognition for DFA.
boolean process_online
 TRUE if audio stream is now open and engine is either listening audio stream or recognizing a speech.
boolean(* calc_vector )(MFCCCalc *, SP16 *, int)
 Function pointer to parameter vector computation for realtime 1st pass.
boolean triggered
 TRUE when recognition triggered and some recognition started, FALSE if engine terminated with no input.
void(* callback_function [SIZEOF_CALLBACK_ID][MAX_CALLBACK_HOOK])()
 Callback entry point.
void * callback_user_data [SIZEOF_CALLBACK_ID][MAX_CALLBACK_HOOK]
 Callback user data.
int callback_function_num [SIZEOF_CALLBACK_ID]
 Numbers of callbacks registered.
int callback_list_code [MAX_CALLBACK_HOOK *SIZEOF_CALLBACK_ID]
 Callback function code list.
int callback_list_loc [MAX_CALLBACK_HOOK *SIZEOF_CALLBACK_ID]
 Callback function location list.
int callback_num
 Number of callbacks.
void * hook
 User-defined data hook.

Detailed Description

Top level instance for the whole recognition process.

Definition at line 933 of file recog.h.


Field Documentation

boolean Recog::process_active

Status flag indicating whether the recognition is alive or not.

If TRUE, the process is currently activated, either monitoring an audio input or recognizing the current input. If FALSE, the recognition is now disabled until some activation command has been arrived from client. While disabled, all the inputs are ignored.

If set to FALSE in the program, Julius/Julian will stop after the current recognition ends, and enter the disabled status.

Definition at line 1043 of file recog.h.

Referenced by adin_cut_callback_store_buffer(), j_recog_new(), j_request_pause(), j_request_resume(), j_request_terminate(), and schedule_grammar_update().

boolean Recog::process_want_reload

If set to TRUE, Julius/Julian stops recognition softly.

If it is performing recognition of the 1st pass, it immediately segments the current input, process the 2nd pass, and output the result. Then it enters the disabled status.

Definition at line 1059 of file recog.h.

Referenced by callback_check_in_adin(), j_process_activate(), j_process_activate_by_id(), j_process_add_lm(), j_process_am_remove(), j_process_deactivate(), j_process_deactivate_by_id(), j_process_lm_remove(), j_process_remove(), j_recog_new(), j_request_pause(), j_request_terminate(), j_reset_reload(), and schedule_grammar_update().

boolean Recog::process_online

TRUE if audio stream is now open and engine is either listening audio stream or recognizing a speech.

FALSE on startup or when in pause specified by a module command.

Definition at line 1074 of file recog.h.

Referenced by j_recog_new().

boolean(* Recog::calc_vector)(MFCCCalc *, SP16 *, int)

Function pointer to parameter vector computation for realtime 1st pass.

default: RealTimeMFCC() in realtime-1stpass.c

Referenced by j_recog_new(), j_regist_user_param_func(), and RealTimePipeLine().

void* Recog::hook

User-defined data hook.

JuliusLib does not concern about its content.

Definition at line 1127 of file recog.h.


The documentation for this struct was generated from the following file:
Generated on Tue Dec 18 16:02:34 2007 for Julius by  doxygen 1.5.4