#include <sent/stddefs.h>
#include <sent/dfa.h>
#include <sent/vocabulary.h>
Go to the source code of this file.
Functions | |
| 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.   | |
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 39 of file mkterminfo.c.
| void free_terminfo | ( | TERM_INFO * | tinfo | ) | 
Free word list for each category.
| tinfo | [in] terminal data structure holding the content. | 
Definition at line 75 of file mkterminfo.c.
Referenced by dfa_info_free(), and multigram_add_words_to_grammar().
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 97 of file mkterminfo.c.
Referenced by multigram_append_to_global().
 1.5.1