Julius 4.2
|
文法からカテゴリ対制約を抽出する [詳細]
関数 | |
boolean | extract_cpair (DFA_INFO *dinfo) |
Extract category-pair constraint from DFA grammar and newly set the category pair matrix of the give DFA. | |
boolean | cpair_append (DFA_INFO *dst, DFA_INFO *src, int coffset) |
Append the category pair matrix at the last. |
文法からカテゴリ対制約を抽出する
DFA文法から,認識処理の第1パスで用いるカテゴリ間の接続制約を抽出します. 抽出したカテゴリ対情報は文法データ内に格納されます.
ショートポーズ単語が文法上で指定されている場合,接続制約はこの ショートポーズ単語のスキップを考慮して抽出されます.
なお,ここでは処理上の制限から,このスキップ可能なショートポーズ単語が 文頭およぶ文末に出現することは許されていません. 入力開始・終端の無音部分にあたる単語は,silB, silE など このスキップ可能なショートポーズ以外の単語を割り当てるようにしてください
mkcpair.c で定義されています。
Extract category-pair constraint from DFA grammar and newly set the category pair matrix of the give DFA.
dinfo | [i/o] DFA grammar, in which the category-pair matrix will be created. |
参照元 multigram_update().
Append the category pair matrix at the last.
dst | [i/o] DFA grammar |
src | [in] DFA grammar to be appended to dst |
coffset | [in] category id in dst where the new data should be stored |