Julius 4.2
関数
libsent/src/ngram/ngram_malloc.c

N-gram構造体の初期メモリ確保と解放 [詳細]

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

ソースコードを見る。

関数

NGRAM_INFOngram_info_new ()
 Allocate a new N-gram structure.
static void free_ngram_tuple (NGRAM_TUPLE_INFO *t)
void ngram_info_free (NGRAM_INFO *ndata)
 Free N-gram data.

説明

N-gram構造体の初期メモリ確保と解放

作者:
Akinobu LEE
日付:
Wed Feb 16 16:48:56 2005
Revision:
1.6

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


関数

NGRAM_INFO* ngram_info_new ( )

Allocate a new N-gram structure.

戻り値:
pointer to the newly allocated structure.

ngram_malloc.c34 行で定義されています。

参照元 initialize_ngram().

void ngram_info_free ( NGRAM_INFO ndata)

Free N-gram data.

引数:
ndata[in] N-gram data

ngram_malloc.c71 行で定義されています。

参照元 initialize_ngram(), と j_process_lm_free().