libsent/src/dfa/dfa_malloc.c File Reference

Memory allocation of grammar information. More...

#include <sent/stddefs.h>
#include <sent/dfa.h>

Go to the source code of this file.

Functions

DFA_INFOdfa_info_new ()
 Allocate a new grammar information data structure and initialize it.
void dfa_info_free (DFA_INFO *dfa)
 Free all informations in the DFA_INFO.


Detailed Description

Memory allocation of grammar information.

Author:
Akinobu LEE
Date:
Tue Feb 15 14:16:03 2005
Revision
1.1.1.1

Definition in file dfa_malloc.c.


Function Documentation

DFA_INFO* dfa_info_new (  ) 

Allocate a new grammar information data structure and initialize it.

Returns:
pointer to the newly allocated DFA_INFO.

Definition at line 34 of file dfa_malloc.c.

Referenced by multigram_read_file_and_add(), multigram_update(), and read_grammar_from_socket().

void dfa_info_free ( DFA_INFO dfa  ) 

Free all informations in the DFA_INFO.

Parameters:
dfa [i/o] grammar information data to be freed.

Definition at line 55 of file dfa_malloc.c.

Referenced by j_process_lm_free(), multigram_exec_delete(), multigram_free_all(), multigram_read_file_and_add(), multigram_update(), and read_grammar_from_socket().


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