libjulius/src/instance.c File Reference

Allocate/free various instances. More...

#include <julius/juliuslib.h>

Go to the source code of this file.

Functions

MFCCCalc * j_mfcccalc_new (JCONF_AM *amconf)
 Allocate a new MFCC calculation instance.
void j_mfcccalc_free (MFCCCalc *mfcc)
 Free an MFCC calculation instance.
PROCESS_AM * j_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_LM * j_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.
RecogProcess * j_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_AM * j_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_LM * j_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_SEARCH * j_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.
Jconf * j_jconf_new ()
 Allocate a new global configuration parameter structure.
void j_jconf_free (Jconf *jconf)
 Free a global configuration parameter structure.
Recog * j_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
1.3

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 92 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 124 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 161 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 188 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 231 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 258 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 298 of file instance.c.

Referenced by j_process_remove(), and j_recog_free().

Here is the caller graph for this function:


Generated on Thu Jul 23 12:13:55 2009 for Julius by  doxygen 1.5.1