Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

voca_malloc.c File Reference

Memory allocation of word dictionary information. More...

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

Include dependency graph for voca_malloc.c:

Go to the source code of this file.

Functions

WORD_INFOword_info_new ()
void word_info_free (WORD_INFO *winfo)
void winfo_init (WORD_INFO *winfo)
void winfo_expand (WORD_INFO *winfo)


Detailed Description

Memory allocation of word dictionary information.

Author:
Akinobu LEE
Date:
Fri Feb 18 21:33:29 2005
Revision
1.1.1.1

Definition in file voca_malloc.c.


Function Documentation

WORD_INFO* word_info_new  ) 
 

Allocate a new word dictionary structure.

Returns:
pointer to the newly allocated WORD_INFO.

Definition at line 34 of file voca_malloc.c.

Referenced by initialize_dict().

void word_info_free WORD_INFO winfo  ) 
 

Free all informations in the WORD_INFO.

Parameters:
winfo [i/o] word dictionary data to be freed.

Definition at line 49 of file voca_malloc.c.

void winfo_init WORD_INFO winfo  ) 
 

Initialize a new word dictionary structure.

Parameters:
winfo [i/o] word dictionary to be initialized.

Definition at line 78 of file voca_malloc.c.

Referenced by voca_load_htkdict(), voca_load_htkdict_fd(), and voca_load_htkdict_sd().

void winfo_expand WORD_INFO winfo  ) 
 

Expand the word dictionary.

Parameters:
winfo [i/o] word dictionary to be expanded.

Definition at line 108 of file voca_malloc.c.

Referenced by voca_append(), voca_append_htkdict(), voca_load_htkdict(), voca_load_htkdict_fd(), and voca_load_htkdict_sd().


Generated on Tue Mar 28 16:03:40 2006 for Julius by  doxygen 1.4.2