#include <sent/stddefs.h>
#include <sent/dfa.h>
Include dependency graph for mkcpair.c:
Go to the source code of this file.
Functions | |
void | extract_cpair (DFA_INFO *dinfo) |
void | cpair_append (DFA_INFO *dst, DFA_INFO *src, int coffset) |
If a short pause word is defined in the grammar, the connection constraint will be extracted considering the skipping of this pause model, since the pause word may not appear on the specified location in the actual utterance.
Please note that a grammar rule that allows such skippable short-pause word to appear at the beginning and end of sentence is prohibited. Instead, you should use another (non-skippable) silence word like "sil" as the beginning and ending of sentence to match the head and tail silence.
Definition in file mkcpair.c.
|
Extract category-pair constraint from DFA grammar and newly set the category pair matrix of the give DFA.
Definition at line 60 of file mkcpair.c. Referenced by multigram_exec(). |
|
Append the category pair matrix at the last.
Definition at line 113 of file mkcpair.c. Referenced by multigram_build_append(). |