libsent/src/dfa/mkterminfo.c File Reference

Make a word list for each category. More...

#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)


Detailed Description

Make a word list for each category.

Author:
Akinobu LEE
Date:
Tue Feb 15 14:47:27 2005
Revision
1.3

Definition in file mkterminfo.c.


Function Documentation

void make_terminfo ( TERM_INFO tinfo,
DFA_INFO dinfo,
WORD_INFO winfo 
)

Make a word list for each category.

Parameters:
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.

void terminfo_append ( TERM_INFO dst,
TERM_INFO src,
int  coffset,
int  woffset 
)

Append the terminal(category) word list.

Parameters:
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.


Generated on Tue Dec 26 16:17:50 2006 for Julius by  doxygen 1.5.0