Julius 4.2
変数
構造体 NGRAM_TUPLE_INFO

N-gram entries for a m-gram (1 <= m <= N) [詳細]

#include <ngram2.h>

変数

NNID totalnum
 Number of defined tuples.
boolean is24bit
 TRUE if this m-gram uses 24bit index for tuples instead of 32bit.
NNID bgnlistlen
 Length of bgn and num, should be the same as context_num of (m-1)-gram.
NNID_UPPERbgn_upper
 Beginning ID of a tuple set whose context is the (m-1) tuple for 24bit mode (upper 8bit)
NNID_LOWERbgn_lower
 Beginning ID of a tuple set whose context is the (m-1) tuple for 24bit mode (lower 16bit)
NNIDbgn
 Beginning ID of a tuple set whose context is the (m-1) tuple for 32bit mode.
WORD_IDnum
 Size of a tuple set whose context is the (m-1) tuple.
WORD_IDnnid2wid
 List of Word IDs of edge word of the tuple.
LOGPROBprob
 Log probabilities of edge word of the tuple.
NNID context_num
 Number of tuples to be a context of (m+1)-gram (= number of defined back-off weights)
LOGPROBbo_wt
 Back-off weights for (m+1)-gram, the length is context_num if ct_compaction is TRUE, or totalnum if FALSE.
boolean ct_compaction
 TRUE if use compacted index for back-off contexts.
NNID_UPPERnnid2ctid_upper
 Index to map tuple ID of this m-gram to valid context id (upper 8bit)
NNID_LOWERnnid2ctid_lower
 Index to map tuple ID of this m-gram to valid context id (upper 16bit)

説明

N-gram entries for a m-gram (1 <= m <= N)

ngram2.h137 行で定義されています。


この構造体の説明は次のファイルから生成されました: