#include <sent/stddefs.h>
#include <sent/dfa.h>
#include <ctype.h>
関数 | |
| WORD_ID | dfa_symbol_lookup (DFA_INFO *dinfo, char *terminalname) |
| Return category id corresponding to the given terminal name. | |
実際には文法コンパイラ mkdfa.pl で各単語にカテゴリ番号が既に 割り当てられているので,ここでは値のチェックのみ行います.
dfa_lookup.c で定義されています。
Return category id corresponding to the given terminal name.
Actually they are mere strings of ID itself.
| dinfo | [in] DFA grammar information | |
| terminalname | [in] name string |
dfa_lookup.c の 45 行で定義されています。
参照元 make_dfa_voca_ref().
1.5.1