#include <sent/stddefs.h>
#include <sent/dfa.h>
#include <sent/vocabulary.h>
Include dependency graph for mkterminfo.c:
Go to the source code of this file.
Functions | |
void | make_terminfo (TERM_INFO *tinfo, DFA_INFO *dinfo, WORD_INFO *winfo) |
void | terminfo_append (TERM_INFO *dst, TERM_INFO *src, int coffset, int woffset) |
Definition in file 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. |
Definition at line 38 of file mkterminfo.c.
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 |
Definition at line 76 of file mkterminfo.c.