libsent/src/ngram/ngram_util.c

N-gramの情報をテキスト出力する. [詳細]

#include <sent/stddefs.h>
#include <sent/ngram2.h>
ngram_util.cのインクルード依存関係図

ソースコードを見る。

関数

static int get_unigram_size (NGRAM_INFO *ndata)
static int get_bigram_size (NGRAM_INFO *ndata)
static int get_trigram_size (NGRAM_INFO *ndata)
void print_ngram_info (NGRAM_INFO *ndata)

説明

N-gramの情報をテキスト出力する.

作者:
Akinobu LEE
日付:
Wed Feb 16 17:18:55 2005
Revision
1.4

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


関数

static int get_unigram_size ( NGRAM_INFO ndata  )  [static]

Estimate the total size of 1-gram part on memory. The resulting value may differ from the actual value, since the data sizes are hard coded.

引数:
ndata [in] N-gram data
戻り値:
the estimated size on bytes.

ngram_util.c36 行で定義されています。

参照元 print_ngram_info().

static int get_bigram_size ( NGRAM_INFO ndata  )  [static]

Estimate the total size of 2-gram part on memory. The resulting value may differ from the actual value, since the data sizes are hard coded.

引数:
ndata [in] N-gram data
戻り値:
the estimated size on bytes.

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

参照元 print_ngram_info().

static int get_trigram_size ( NGRAM_INFO ndata  )  [static]

Estimate the total size of 3-gram part on memory. The resulting value may differ from the actual value, since the data sizes are hard coded.

引数:
ndata [in] N-gram data
戻り値:
the estimated size on bytes.

ngram_util.c82 行で定義されています。

参照元 print_ngram_info().

void print_ngram_info ( NGRAM_INFO ndata  ) 

Output misccelaneous information of N-gram to standard output.

引数:
ndata [in] N-gram data

ngram_util.c97 行で定義されています。

参照元 print_info().


Juliusに対してTue Sep 22 00:15:24 2009に生成されました。  doxygen 1.6.0