#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) |
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 |
ngram_util.c の 36 行で定義されています。
参照元 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 |
ngram_util.c の 52 行で定義されています。
参照元 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 |
ngram_util.c の 82 行で定義されています。
参照元 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.c の 97 行で定義されています。
参照元 print_info().