|
Newsletters
|
|
|
|
|
Voice XML Reference
Voice XML Reference
Bookmark this page
The property Element - <property>
Description: The <property> element sets a property value. Properties are used to set values that affect
platform behavior, such as the recognition process, timeouts, caching policy, etc.
Example:
<form id="no_bargein_form">
<property name="bargein" value="false"/>
<block>
<prompt>This introductory prompt cannot be barged into.</prompt>
<prompt>And neither can this prompt.</prompt>
<prompt bargein="true">But this one <emp>can</emp> be barged into.</prompt>
</block>
…
</form>
| Attributes |
| Name |
Value |
Description |
| confidencelevel |
float |
The speech recognition confidence level, a float value in the range of
0.0 to 1.0. Results are rejected (a nomatch event is thrown) when the
engine’s confidence in its interpretation is below this threshold. A
value of 0.0 means minimum confidence is needed for a recognition,
and a value of 1.0 requires maximum confidence. The default value
is 0.5. |
| sensitivity |
float |
Set the sensitivity level. A value of 1.0 means that it is highly
sensitive to quiet input. A value of 0.0 means it is least sensitive to
noise. The default value is 0.5. |
| speedvsaccuracy |
float |
A hint specifying the desired balance between speed vs. accuracy. A
value of 0.0 means fastest recognition. A value of 1.0 means best
accuracy. The default is value 0.5. |
| completetimeout |
PCDATA |
The speech timeout value to use when an active grammar is
matched. The default is platform-dependent. |
| incompletetimeout |
PCDATA |
The speech timeout to use when no active grammar has been
matched. The default is platform-dependent. |
Back to Tag Listing
|
|