#include <sent/stddefs.h>
#include <sent/dfa.h>
#include <sent/vocabulary.h>
関数 | |
void | make_terminfo (TERM_INFO *tinfo, DFA_INFO *dinfo, WORD_INFO *winfo) |
Make a word list for each category. | |
void | free_terminfo (TERM_INFO *tinfo) |
Free word list for each category. | |
void | terminfo_append (TERM_INFO *dst, TERM_INFO *src, int coffset, int woffset) |
Append the terminal(category) word list. |
mkterminfo.c で定義されています。
Make a word list for each category.
tinfo | [i/o] terminal data structure to hold the result | |
dinfo | [in] DFA gammar to supply the number of category in the grammar | |
winfo | [in] word dictionary. |
mkterminfo.c の 39 行で定義されています。
参照元 make_dfa_voca_ref().
void free_terminfo | ( | TERM_INFO * | tinfo | ) |
Free word list for each category.
tinfo | [in] terminal data structure holding the content. |
mkterminfo.c の 75 行で定義されています。
Append the terminal(category) word list.
dst | [i/o] category data | |
src | [i/o] category data to be appended to dst | |
coffset | [in] category id offset in dst where the new data should be stored | |
woffset | [in] word id offset where the new data should be stored |
mkterminfo.c の 97 行で定義されています。