SpeechGrammar: weight-Eigenschaft
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.>
Die optionale weight-Eigenschaft der SpeechGrammar-Schnittstelle setzt und gibt das Gewicht des SpeechGrammar-Objekts zurück.
Wert
Ein Float, der das Gewicht der Grammatik im Bereich von 0,0–1,0 darstellt.
Spezifikationen
| Spezifikation |
|---|
| Web Speech API> # dom-speechgrammar-weight> |