Skip to content

Commit

Permalink
Rewrite the on-device speech recognition methods
Browse files Browse the repository at this point in the history
  • Loading branch information
evliu-google committed Mar 5, 2025
1 parent 862b892 commit 631bb39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ dictionary SpeechRecognitionEventInit : EventInit {

<dt><dfn attribute for=SpeechRecognition>lang</dfn> attribute</dt>
<dd>This attribute will set the language of the recognition for the request, using a valid BCP 47 language tag. [[!BCP47]]
If unset it remains unset for getting in script, but will default to use the <a spec=html>language</a> of the html document root element and associated hierarchy.
If unset it remains unset for getting in script, but will default to use the language of the html document root element and associated hierarchy.
This default value is computed and used when the input request opens a connection to the recognition service.</dd>

<dt><dfn attribute for=SpeechRecognition>continuous</dfn> attribute</dt>
Expand Down Expand Up @@ -704,7 +704,7 @@ interface SpeechSynthesisVoice {

<dt><dfn attribute for=SpeechSynthesisUtterance>lang</dfn> attribute</dt>
<dd>This attribute specifies the language of the speech synthesis for the utterance, using a valid BCP 47 language tag. [[!BCP47]]
If unset it remains unset for getting in script, but will default to use the <a spec=html>language</a> of the html document root element and associated hierarchy.
If unset it remains unset for getting in script, but will default to use the language of the html document root element and associated hierarchy.
This default value is computed and used when the input request opens a connection to the recognition service.</dd>

<dt><dfn attribute for=SpeechSynthesisUtterance>voice</dfn> attribute</dt>
Expand Down

0 comments on commit 631bb39

Please sign in to comment.