Process API
[JuliusLib API]

Collaboration diagram for Process API:
Functions to create / remove / (de)activate recognition process and models on live. More...

Functions

boolean j_process_deactivate (Recog *recog, char *name)
 De-activate a recognition process instance designated by its name.
boolean j_process_deactivate_by_id (Recog *recog, int id)
 De-activate a recognition process instance designated by its ID.
boolean j_process_activate (Recog *recog, char *name)
 Activate a recognition process instance that has been made inactive, by its name.
boolean j_process_activate_by_id (Recog *recog, int id)
 Activate a recognition process instance that has been made inactive, by the ID.
boolean j_process_add_lm (Recog *recog, JCONF_LM *lmconf, JCONF_SEARCH *sconf, char *name)
 Create a new recognizer with a new LM and SR configurations.
boolean j_process_remove (Recog *recog, JCONF_SEARCH *sconf)
 Remove a recognition process instance.
boolean j_process_lm_remove (Recog *recog, JCONF_LM *lmconf)
 Remove an LM process instance.
boolean j_process_am_remove (Recog *recog, JCONF_AM *amconf)
 Remove an AM process instance (experimental).

Detailed Description

Functions to create / remove / (de)activate recognition process and models on live.


Function Documentation

boolean j_process_deactivate ( Recog recog,
char *  name 
)

De-activate a recognition process instance designated by its name.

The process will actually pauses at the next recognition interval.

Parameters:
recog [i/o] engine instance
name [in] SR name to deactivate
Returns:
TRUE on success, or FALSE on failure.

Definition at line 1010 of file jfunc.c.

boolean j_process_deactivate_by_id ( Recog recog,
int  id 
)

De-activate a recognition process instance designated by its ID.

The process will actually pauses at the next recognition interval.

Parameters:
recog [i/o] engine instance
id [in] SR ID to deactivate
Returns:
TRUE on success, or FALSE on failure.

Definition at line 1054 of file jfunc.c.

boolean j_process_activate ( Recog recog,
char *  name 
)

Activate a recognition process instance that has been made inactive, by its name.

The process will actually starts at the next recognition interval.

Parameters:
recog [i/o] engine instance
name [in] SR name to activate
Returns:
TRUE on success, or FALSE on failure.

Definition at line 1098 of file jfunc.c.

boolean j_process_activate_by_id ( Recog recog,
int  id 
)

Activate a recognition process instance that has been made inactive, by the ID.

The process will actually starts at the next recognition interval.

Parameters:
recog [i/o] engine instance
id [in] SR ID to activate
Returns:
TRUE on success, or FALSE on failure.

Definition at line 1142 of file jfunc.c.

boolean j_process_add_lm ( Recog recog,
JCONF_LM lmconf,
JCONF_SEARCH sconf,
char *  name 
)

Create a new recognizer with a new LM and SR configurations.

This function creates new LM process instance and recognition process instance corresponding to the given LM and SR configurations. AM process to be assigned to them is the current default AM. Both the new LM and SR will be assigned the same instance name.

Parameters:
recog [i/o] engine instance
lmconf [in] a new LM configuration
sconf [in] a new SR configuration
name [in] name of the new instances
Returns:
TRUE on success, FALSE on error.

Definition at line 1195 of file jfunc.c.

boolean j_process_remove ( Recog recog,
JCONF_SEARCH sconf 
)

Remove a recognition process instance.

The specified search conf will also be released and destroyed inside this function.

Parameters:
recog [in] engine instance
sconf [in] SEARCH configuration corresponding to the target recognition process to remove
Returns:
TRUE on success, or FALSE on failure.

Definition at line 1258 of file jfunc.c.

boolean j_process_lm_remove ( Recog recog,
JCONF_LM lmconf 
)

Remove an LM process instance.

The specified lm conf will also be released and destroyed inside this function.

Parameters:
recog [in] engine instance
lmconf [in] LM configuration corresponding to the target LM process to remove
Returns:
TRUE on success, or FALSE on failure.

Definition at line 1336 of file jfunc.c.

boolean j_process_am_remove ( Recog recog,
JCONF_AM amconf 
)

Remove an AM process instance (experimental).

The specified am conf will also be released and destroyed inside this function.

Parameters:
recog [in] engine instance
amconf [in] AM configuration corresponding to the target AM process to remove
Returns:
TRUE on success, or FALSE on failure.

Definition at line 1424 of file jfunc.c.


Generated on Tue Dec 18 16:01:48 2007 for Julius by  doxygen 1.5.4