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 & args)
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.
[Experimental]
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. [Experimental] 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.
[Experimental]
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. [Experimental] 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.
[Experimental]
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. [Experimental] 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.
[Experimental]
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. [Experimental] 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