3.25. lexicon
Element type | lexicon |
Attributes | uri |
Parents | grammar |
Children | None. |
Description | References 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" ... |
Get Definitive VoiceXML™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.