libjulius/src/instance.c File Reference

Allocate/free various instances. More...

#include <julius/juliuslib.h>

Go to the source code of this file.

Functions

MFCCCalcj_mfcccalc_new (JCONF_AM *amconf)
 Allocate a new MFCC calculation instance.
void j_mfcccalc_free (MFCCCalc *mfcc)
 Free an MFCC calculation instance.
PROCESS_AMj_process_am_new (Recog *recog, JCONF_AM *amconf)
 Allocate a new acoustic model processing instance.
void j_process_am_free (PROCESS_AM *am)
 Free an acoustic model processing instance.
PROCESS_LMj_process_lm_new (Recog *recog, JCONF_LM *lmconf)
 Allocate a new language model processing instance.
void j_process_lm_free (PROCESS_LM *lm)
 Free a language model processing instance.
RecogProcessj_recogprocess_new (Recog *recog, JCONF_SEARCH *sconf)
 Allocate a new recognition process instance.
void j_recogprocess_free (RecogProcess *process)
 Free a recognition process instance.
JCONF_AMj_jconf_am_new ()
 Allocate a new acoustic model (AM) parameter structure.
void j_jconf_am_free (JCONF_AM *amconf)
 Release an acoustic model (AM) parameter structure Default parameter values are set to it.
boolean j_jconf_am_regist (Jconf *jconf, JCONF_AM *amconf, char *name)
 Register AM configuration to global jconf.
JCONF_LMj_jconf_lm_new ()
 Allocate a new language model (LM) parameter structure.
void j_jconf_lm_free (JCONF_LM *lmconf)
 Release a language model (LM) parameter structure.
boolean j_jconf_lm_regist (Jconf *jconf, JCONF_LM *lmconf, char *name)
 Register LM configuration to global jconf.
JCONF_SEARCHj_jconf_search_new ()
 Allocate a new search (SEARCH) parameter structure.
void j_jconf_search_free (JCONF_SEARCH *sconf)
 Release a search (SEARCH) parameter structure.
boolean j_jconf_search_regist (Jconf *jconf, JCONF_SEARCH *sconf, char *name)
 Register SEARCH configuration to global jconf.
Jconfj_jconf_new ()
 Allocate a new global configuration parameter structure.
void j_jconf_free (Jconf *jconf)
 Free a global configuration parameter structure.
Recogj_recog_new ()
 Allocate memory for a new engine instance.
void j_recog_free (Recog *recog)
 Free an engine instance.


Detailed Description

Allocate/free various instances.

Author:
Akinobu Lee
Date:
Sun Oct 28 18:06:20 2007
$Revision:$

Definition in file instance.c.


Function Documentation

MFCCCalc* j_mfcccalc_new ( JCONF_AM amconf  ) 

Allocate a new MFCC calculation instance.

Parameters:
amconf [in] acoustic model configuration parameters
Returns:
the newly allocated MFCC calculation instance.

Definition at line 44 of file instance.c.

Referenced by create_mfcc_calc_instances(), and j_final_fusion().

Here is the caller graph for this function:

void j_mfcccalc_free ( MFCCCalc mfcc  ) 

Free an MFCC calculation instance.

Parameters:
mfcc [i/o] MFCC calculation instance

Definition at line 91 of file instance.c.

Referenced by j_recog_free().

Here is the caller graph for this function:

PROCESS_AM* j_process_am_new ( Recog recog,
JCONF_AM amconf 
)

Allocate a new acoustic model processing instance.

Parameters:
recog [i/o] engine instance
amconf [in] AM configuration to assign
Returns:
newly allocated acoustic model processing instance.

Definition at line 123 of file instance.c.

Referenced by j_load_am().

Here is the caller graph for this function:

void j_process_am_free ( PROCESS_AM am  ) 

Free an acoustic model processing instance.

Parameters:
am [i/o] AM process instance

Definition at line 160 of file instance.c.

Referenced by j_process_am_remove(), and j_recog_free().

Here is the caller graph for this function:

PROCESS_LM* j_process_lm_new ( Recog recog,
JCONF_LM lmconf 
)

Allocate a new language model processing instance.

Parameters:
recog [i/o] engine instance
lmconf [in] LM configuration to assign
Returns:
newly allocated language model processing instance.

Definition at line 187 of file instance.c.

Referenced by j_load_lm().

Here is the caller graph for this function:

void j_process_lm_free ( PROCESS_LM lm  ) 

Free a language model processing instance.

Parameters:
lm [i/o] LM process instance

Definition at line 230 of file instance.c.

Referenced by j_process_lm_remove(), and j_recog_free().

Here is the caller graph for this function:

RecogProcess* j_recogprocess_new ( Recog recog,
JCONF_SEARCH sconf 
)

Allocate a new recognition process instance.

Parameters:
recog [i/o] engine instance
sconf [in] SEARCH configuration to assign
Returns:
the newly allocated recognition process instance.

Definition at line 257 of file instance.c.

Referenced by j_launch_recognition_instance().

Here is the caller graph for this function:

void j_recogprocess_free ( RecogProcess process  ) 

Free a recognition process instance.

Parameters:
process [i/o] recognition process instance

Definition at line 297 of file instance.c.

Referenced by j_process_remove(), and j_recog_free().

Here is the caller graph for this function:


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