<token>
<token>
The <token>
element defines words or other entities that may be spoken.
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: cat. Computer: You chose a nice cat.
Child Tags
None
Parent Tags
Last updated