![]() |
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). |
boolean j_process_deactivate | ( | Recog * | recog, | |
char * | name | |||
) |
boolean j_process_deactivate_by_id | ( | Recog * | recog, | |
int | id | |||
) |
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.
recog | [i/o] engine instance | |
name | [in] SR name to activate |
boolean j_process_activate_by_id | ( | Recog * | recog, | |
int | 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.
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.
recog | [i/o] engine instance | |
lmconf | [in] a new LM configuration | |
sconf | [in] a new SR configuration | |
name | [in] name of the new instances |
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.
recog | [in] engine instance | |
sconf | [in] SEARCH configuration corresponding to the target recognition process to remove |
Remove an LM process instance.
The specified lm conf will also be released and destroyed inside this function.
recog | [in] engine instance | |
lmconf | [in] LM configuration corresponding to the target LM process to remove |
Remove an AM process instance (experimental).
The specified am conf will also be released and destroyed inside this function.
recog | [in] engine instance | |
amconf | [in] AM configuration corresponding to the target AM process to remove |