構造体 DFA_INFO

Top structure of a DFA [詳細]

#include <dfa.h>

DFA_INFOのコラボレーション図

Collaboration graph
[凡例]

変数

DFA_STATE * st
 Array of all states
int maxstatenum
 Number of maximum allocated states
int state_num
 Total number of states actually defined
int arc_num
 Total number of arcs
int term_num
 Total number of categories
unsigned char ** cp
 Store constraint whether c2 can follow c1
unsigned char * cp_begin
 Store constraint whether c can appear at beginning of sentence
unsigned char * cp_end
 Store constraint whether c can appear at end of sentence
unsigned char * cp_root
 Root pointer of cp informations
TERM_INFO term
 Information of terminal symbols (category)
boolean * is_sp
 TRUE if the category contains only sp word
WORD_ID sp_id
 Word ID of short pause word

説明

Top structure of a DFA

dfa.h の 73 行で定義されています。


構造体

unsigned char** DFA_INFO::cp

Store constraint whether c2 can follow c1

Category-pair constraint is stored in bit, i.e.,

 cp[c1][c2] -> (c2%8)th bit on cp[c1][c2/8]
 cp_begin[c2] -> (c2%8)th bit on cp_begin[c2/8]
 cp_end[c2] -> (c2%8)th bit on cp_end[c2/8]
If bit is 1, the combination is allowed to connect.

dfa.h の 88 行で定義されています。

参照元 dfa_cp()・free_dfa_cp()・init_dfa_cp()・malloc_dfa_cp()・realloc_dfa_cp()・set_dfa_cp().


この構造体の説明は次のファイルから生成されました:
Julianに対してTue Dec 26 12:58:21 2006に生成されました。  doxygen 1.5.0