Cisco Cisco Unified IP Interactive Voice Response (IVR) 8.0(1) Leaflet

Page of 368
 
Chapter 2      CRS Editor Palette Step Descriptions
Grammar Steps
2-236
Cisco CRS Scripting and Development Series: Volume 2, Editor Step Reference Guide, Release 6.0(1)
is described in the Extensible Markup Language (XML) specification at the 
following URL: 
 In particular, see the section: 
.
Using GSL File Grammar Format (Deprecated)
The Cisco CRS Engine uses a language called Nuance Grammar Specification 
Language (GSL). 
 describes sample expressions you can use to specify grammars in 
GSL. 
The following are examples of GSL language statements:
Digits [one two three four five six seven eight nine zero]
HowMany [I [want need] Digits [pencil pencils]]
In this example, the caller can say “I want” or “I need”, followed by a number 
from zero to nine, and then either “pencil” or “pencils”.
Using the Digit File Grammar Format
The Digit File Grammar Format (“.digit”) is based on a Java Properties File, in 
which keys are defined as “dtmf-x”, where “x” is from the set 
“0123456789*#ABCD” or one of “star” or “pound”, where values are the 
corresponding tag to be returned when a key is pressed or recognized.
You can also use an optional entry defined as “word=true” to specify that the word 
representation of each DTMF digit should be automatically included during a 
recognition.
Table 2-109
Grammar Expressions
Expression
Description
[ ]
Only one of the words in the list must match.
( )
All words in the list must match.
?
The following word or phrase is optional.
{ }
Slot value pair