SpeechGrammar: weight property
Deprecated
Avoid using this feature in new projects. Advancements in speech recognition mean that speech grammars are not needed to achieve low error rates. This feature may be a candidate for removal from web standards or browsers.>
The optional weight property of the
SpeechGrammar interface sets and returns the weight of the
SpeechGrammar object.
Value
A float representing the weight of the grammar, in the range 0.0–1.0.
Specifications
| Specification |
|---|
| Web Speech API> # dom-speechgrammar-weight> |