The SpeechGrammar interface of the Web Speech API represents set of words or patterns of words that we want the recognition to recognize.
The SpeechGrammar interface of the Web Speech API represents set of words or patterns of words that we want the recognition to recognize.
Constructor.
The SpeechGrammar constructor of the web.speech.SpeechGrammar
interface creates a new SpeechGrammar object instance.
None.
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/SpeechGrammar
Constructor. The SpeechGrammar constructor of the `web.speech.SpeechGrammar` interface creates a new SpeechGrammar object instance. None. See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/SpeechGrammar`
(set-src! this val)
Property.
The src property of the web.speech.SpeechGrammar
interface
and returns a string containing the grammar from within in the
object.
var myGrammar = speechGrammarInstance.src;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/src
Property. The src property of the `web.speech.SpeechGrammar` interface and returns a string containing the grammar from within in the object. `var myGrammar = speechGrammarInstance.src;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/src`
(set-weight! this val)
Property.
The optional weight property of the web.speech.SpeechGrammar
sets and returns the weight of the SpeechGrammar object.
var myGrammarWeight = speechGrammarInstance.weight;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/weight
Property. The optional weight property of the `web.speech.SpeechGrammar` sets and returns the weight of the SpeechGrammar object. `var myGrammarWeight = speechGrammarInstance.weight;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/weight`
(src this)
Property.
The src property of the web.speech.SpeechGrammar
interface
and returns a string containing the grammar from within in the
object.
var myGrammar = speechGrammarInstance.src;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/src
Property. The src property of the `web.speech.SpeechGrammar` interface and returns a string containing the grammar from within in the object. `var myGrammar = speechGrammarInstance.src;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/src`
(weight this)
Property.
The optional weight property of the web.speech.SpeechGrammar
sets and returns the weight of the SpeechGrammar object.
var myGrammarWeight = speechGrammarInstance.weight;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/weight
Property. The optional weight property of the `web.speech.SpeechGrammar` sets and returns the weight of the SpeechGrammar object. `var myGrammarWeight = speechGrammarInstance.weight;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/weight`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close