Grammar tab Syntax Buttons
The Grammar tab syntax buttons indicate all the ways you can add a Grammar object to an expression. Clicking on one of the buttons adds the indicated syntax (minus the question marks) to your expression. In the spaces left by the question marks, enter the appropriate values.
Syntax Button |
Description | ||
---|---|---|---|
G[?] |
Grammar object. See Grammar Literals and User Grammar Literals,. Examples:
| ||
G[?,?] |
Grammar and argument(s). See Grammar Literals, and User Grammar Literals. The first argument must be of type string and specifies the name of the grammar to retrieve from the user or system repository. The second argument (or argument list) corresponds to the expected parameterized arguments of a complex expression block defined in a grammar template file. Examples:
| ||
DG[?] |
DTMF Example:
| ||
XG[?] |
XML Grammar (SRGS). See Digit Grammar Literals,. Example:
| ||
GG[?] |
GSL Grammar. See SRGS Grammar Literals, Example:
| ||
?||? |
Compound Grammar. The compound grammar operator || combines multiple grammars together. See Compound Grammar. Example:
| ||
?[?] |
Indexing a compound grammar. The index is 0 based. See Compound Grammar Indexing. Example:
|