Julius 4.2
関数
libsent/src/dfa/mkterminfo.c

カテゴリごとの単語のリストを作成する [詳細]

#include <sent/stddefs.h>
#include <sent/dfa.h>
#include <sent/vocabulary.h>

ソースコードを見る。

関数

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.

説明

カテゴリごとの単語のリストを作成する

作者:
Akinobu LEE
日付:
Tue Feb 15 14:47:27 2005
Revision:
1.3

mkterminfo.c で定義されています。


関数

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

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.

mkterminfo.c39 行で定義されています。

参照元 make_dfa_voca_ref().

void free_terminfo ( TERM_INFO tinfo)

Free word list for each category.

引数:
tinfo[in] terminal data structure holding the content.

mkterminfo.c75 行で定義されています。

参照元 dfa_info_free(), と multigram_add_words_to_grammar().

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

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

mkterminfo.c97 行で定義されています。

参照元 multigram_append_to_global().