<one-of>
<one-of>
A <one-of>
block specifies a set of alternative legal rule expansions each of which is contained within an <item>
block.
Attributes
Name
Data type
Description
xml:lang
String
(defaults to “xml:lang” global property or the “xml:lang” attribute of the <grammar> tag) The language identifier as defined in RFC3066.
Notes
For examples and usage information, please refer to the Speech Recognition Grammar Specification.
Example
The output of the above script would be:
Computer: Say either dog or cat. Human: Dog. Computer: You said dog. Goodbye.
Child Tags
Parent Tags
Last updated