Collaboration diagram for Basic API:
![]() |
Functions | |
void | j_enable_debug_message () |
Enable debug messages in JuliusLib to log. | |
void | j_disable_debug_message () |
Disable debug messages in JuliusLib to log. | |
void | j_enable_verbose_message () |
Enable verbose messages in JuliusLib to log. | |
void | j_disable_verbose_message () |
Disable verbose messages in JuliusLib to log. | |
boolean | j_adin_init (Recog *recog) |
Initialize and setup A/D-in device specified by the configuration for recognition. | |
char * | j_get_current_filename () |
Return current input speech file name. | |
void | j_recog_info (Recog *recog) |
Output all configurations and system informations into log. | |
void | j_output_argument_help (FILE *fp) |
Output help document. | |
int | j_open_stream (Recog *recog, char *file_or_dev_name) |
Open input stream. | |
int | j_close_stream (Recog *recog) |
Close input stream. | |
int | j_recognize_stream (Recog *recog) |
Recognize an input stream. | |
boolean | j_add_option (char *fmt, int argnum, int reqargnum, char *desc, boolean(*func)(Jconf *jconf, char *arg[], int argnum)) |
Add a user-defined option to Julius. |
Initialize and setup A/D-in device specified by the configuration for recognition.
When threading is enabled for the device, A/D-in thread will start inside this function.
recog | [in] engine instance |
Definition at line 539 of file jfunc.c.
Referenced by main().
Here is the caller graph for this function:
char* j_get_current_filename | ( | ) |
Return current input speech file name.
Invalid when MFCC input.
Definition at line 579 of file jfunc.c.
Referenced by main_recognition_stream_loop().
Here is the caller graph for this function:
void j_recog_info | ( | Recog * | recog | ) |
void j_output_argument_help | ( | FILE * | fp | ) |
Output help document.
fp | [in] file pointer to output help |
Definition at line 45 of file m_usage.c.
Referenced by opt_help().
Here is the caller graph for this function:
int j_open_stream | ( | Recog * | recog, | |
char * | file_or_dev_name | |||
) |
Open input stream.
recog | [i/o] engine instance | |
file_or_dev_name | [in] file or device name of the device |
Definition at line 493 of file recogmain.c.
Referenced by main(), and main_recognition_stream_loop().
Here is the caller graph for this function:
int j_close_stream | ( | Recog * | recog | ) |
Close input stream.
The main recognition loop will be stopped after stream has been closed.
recog | [i/o] engine instance |
Definition at line 560 of file recogmain.c.
Referenced by main().
Here is the caller graph for this function:
int j_recognize_stream | ( | Recog * | recog | ) |
Recognize an input stream.
This function repeat recognition process for the whole input stream, using segmentation and detection if required. It ends when the whole input has been processed.
When a recognition stop is requested from application, the following callbacks will be called in turn: CALLBACK_EVENT_PAUSE, CALLBACK_PAUSE_FUNCTION, CALLBACK_EVENT_RESUME. After finishing executing all functions in these callbacks, recognition will restart. If you have something to be processed while recognition stops, you should write the function as callback to CALLBACK_PAUSE_FUNCTION. Note that recognition will restart immediately after all functions registered in CALLBACK_PAUSE_FUNCTION has been finished.
recog | [i/o] engine instance |
Definition at line 1428 of file recogmain.c.
Referenced by main(), and main_recognition_stream_loop().
Here is the caller graph for this function:
boolean j_add_option | ( | char * | fmt, | |
int | argnum, | |||
int | reqargnum, | |||
char * | desc, | |||
boolean(*)(Jconf *jconf, char *arg[], int argnum) | func | |||
) |
Add a user-defined option to Julius.
When reqargnum is lower than argnum, the first (reqargnum) arguments are required and the rest (argnum - reqargnum) options are optional.
fmt | [in] option string (should begin with '-') | |
argnum | [in] total number of argument for this option (including optional) | |
reqargnum | [in] number of required argument | |
desc | [in] description string for help | |
func | [in] option handling function |
Definition at line 129 of file useropt.c.
Referenced by charconv_add_option(), main(), and record_add_option().
Here is the caller graph for this function: