O'Reilly logo

Definitive VoiceXML™ by David Cuddihy, Adam Hocek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.25. lexicon

Element typelexicon
Attributesuri
Parentsgrammar
ChildrenNone.
DescriptionReferences an external grammar lexicon used to specify precise pronunciation information.

DTD

<!ELEMENT lexicon EMPTY >
<!ATTLIST lexicon
  uri URI #REQUIRED >

Language model

Attributes

uri : URI

The URI of the resource describing a grammar lexicon.

Children

None.

Examples

Example 3-29. Using an external grammar lexicon to recognize French names
 <?xml version="1.0" encoding="iso-8859-1"?> <vxml version="2.0"> <form id="form"> <field name="firstName"> <prompt>What is your first name?</prompt> <grammar root="names"> <lexicon uri="FrenchNames.file"/> <rule id="names" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required