libsent/src/dfa/mkcpair.c File Reference
Extract category-pair constraint from DFA grammar. More...
#include <sent/stddefs.h>
#include <sent/dfa.h>
Include dependency graph for mkcpair.c:
Go to the source code of this file.
Detailed Description
Extract category-pair constraint from DFA grammar.
- Author:
- Akinobu LEE
- Date:
- Tue Feb 15 14:35:33 2005
These functions extract whether the each grammar category can be connected or not in the given DFA grammar, and store the extracted data to the DFA grammar information. This category-pair constraint will be used at the first pass of recognition as a degenerated linguistic constraint.
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.
- Revision
- 1.3
Definition in file mkcpair.c.
Function Documentation
Extract category-pair constraint from DFA grammar and newly set the category pair matrix of the give DFA.
- Parameters:
-
| dinfo | [i/o] DFA grammar, in which the category-pair matrix will be created. |
Definition at line 60 of file mkcpair.c.
Append the category pair matrix at the last.
- Parameters:
-
| 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 |
Definition at line 113 of file mkcpair.c.
Generated on Tue Dec 26 16:17:49 2006 for Julius by
1.5.0