Julius 4.2
関数
libsent/src/voca/voca_malloc.c

単語辞書構造体のメモリ割り付けと解放 [詳細]

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

ソースコードを見る。

関数

WORD_INFOword_info_new ()
 Allocate a new word dictionary structure.
void word_info_free (WORD_INFO *winfo)
 Free all informations in the WORD_INFO.
void winfo_init (WORD_INFO *winfo)
 Initialize a new word dictionary structure.
boolean winfo_expand (WORD_INFO *winfo)
 Expand the word dictionary.

説明

単語辞書構造体のメモリ割り付けと解放

作者:
Akinobu LEE
日付:
Fri Feb 18 21:33:29 2005
Revision:
1.4

voca_malloc.c で定義されています。


関数

WORD_INFO* word_info_new ( )

Allocate a new word dictionary structure.

戻り値:
pointer to the newly allocated WORD_INFO.

voca_malloc.c35 行で定義されています。

参照元 initialize_dict(), multigram_read_file_and_add(), と multigram_update().

void word_info_free ( WORD_INFO winfo)

Free all informations in the WORD_INFO.

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

voca_malloc.c52 行で定義されています。

参照元 initialize_dict(), j_process_lm_free(), multigram_exec_delete(), multigram_free_all(), multigram_read_file_and_add(), と multigram_update().

void winfo_init ( WORD_INFO winfo)

Initialize a new word dictionary structure.

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

voca_malloc.c76 行で定義されています。

参照元 multigram_update(), と voca_load_start().

boolean winfo_expand ( WORD_INFO winfo)

Expand the word dictionary.

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

voca_malloc.c106 行で定義されています。

参照元 voca_append(), voca_load_line(), と voca_load_word_line().