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>

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.


Detailed Description

Make a word list for each category.

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

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 39 of file mkterminfo.c.

Referenced by make_dfa_voca_ref().

void free_terminfo ( TERM_INFO tinfo  ) 

Free word list for each category.

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

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 97 of file mkterminfo.c.

Referenced by multigram_append_to_global().


Generated on Tue Dec 18 16:01:38 2007 for Julius by  doxygen 1.5.4