From 140478fab45bae394365910be83c602238dee415 Mon Sep 17 00:00:00 2001 From: MDN Date: Wed, 9 Feb 2022 00:57:26 +0000 Subject: [CRON] sync translated content --- .../speechrecognition/audioend_event/index.html | 81 +++++++++++++++++++ .../web/api/speechrecognition/end_event/index.html | 81 +++++++++++++++++++ .../api/speechrecognition/error_event/index.html | 81 +++++++++++++++++++ .../api/speechrecognition/nomatch_event/index.html | 87 +++++++++++++++++++++ .../api/speechrecognition/onaudioend/index.html | 80 ------------------- .../api/speechrecognition/onaudiostart/index.html | 80 ------------------- .../ja/web/api/speechrecognition/onend/index.html | 80 ------------------- .../web/api/speechrecognition/onerror/index.html | 80 ------------------- .../web/api/speechrecognition/onnomatch/index.html | 86 -------------------- .../web/api/speechrecognition/onresult/index.html | 90 --------------------- .../api/speechrecognition/onsoundend/index.html | 78 ------------------- .../api/speechrecognition/onsoundstart/index.html | 78 ------------------- .../api/speechrecognition/onspeechend/index.html | 61 --------------- .../api/speechrecognition/onspeechstart/index.html | 61 --------------- .../web/api/speechrecognition/onstart/index.html | 78 ------------------- .../api/speechrecognition/result_event/index.html | 91 ++++++++++++++++++++++ .../speechrecognition/soundend_event/index.html | 79 +++++++++++++++++++ .../speechrecognition/soundstart_event/index.html | 79 +++++++++++++++++++ .../speechrecognition/speechend_event/index.html | 62 +++++++++++++++ .../speechrecognition/speechstart_event/index.html | 62 +++++++++++++++ .../api/speechrecognition/start_event/index.html | 79 +++++++++++++++++++ 21 files changed, 782 insertions(+), 852 deletions(-) create mode 100644 files/ja/web/api/speechrecognition/audioend_event/index.html create mode 100644 files/ja/web/api/speechrecognition/end_event/index.html create mode 100644 files/ja/web/api/speechrecognition/error_event/index.html create mode 100644 files/ja/web/api/speechrecognition/nomatch_event/index.html delete mode 100644 files/ja/web/api/speechrecognition/onaudioend/index.html delete mode 100644 files/ja/web/api/speechrecognition/onaudiostart/index.html delete mode 100644 files/ja/web/api/speechrecognition/onend/index.html delete mode 100644 files/ja/web/api/speechrecognition/onerror/index.html delete mode 100644 files/ja/web/api/speechrecognition/onnomatch/index.html delete mode 100644 files/ja/web/api/speechrecognition/onresult/index.html delete mode 100644 files/ja/web/api/speechrecognition/onsoundend/index.html delete mode 100644 files/ja/web/api/speechrecognition/onsoundstart/index.html delete mode 100644 files/ja/web/api/speechrecognition/onspeechend/index.html delete mode 100644 files/ja/web/api/speechrecognition/onspeechstart/index.html delete mode 100644 files/ja/web/api/speechrecognition/onstart/index.html create mode 100644 files/ja/web/api/speechrecognition/result_event/index.html create mode 100644 files/ja/web/api/speechrecognition/soundend_event/index.html create mode 100644 files/ja/web/api/speechrecognition/soundstart_event/index.html create mode 100644 files/ja/web/api/speechrecognition/speechend_event/index.html create mode 100644 files/ja/web/api/speechrecognition/speechstart_event/index.html create mode 100644 files/ja/web/api/speechrecognition/start_event/index.html (limited to 'files/ja/web/api') diff --git a/files/ja/web/api/speechrecognition/audioend_event/index.html b/files/ja/web/api/speechrecognition/audioend_event/index.html new file mode 100644 index 0000000000..4ae4be513a --- /dev/null +++ b/files/ja/web/api/speechrecognition/audioend_event/index.html @@ -0,0 +1,81 @@ +--- +title: SpeechRecognition.onaudioend +slug: Web/API/SpeechRecognition/audioend_event +tags: + - API + - Experimental + - Property + - Reference + - SpeechRecognition + - Web Speech API + - onaudioend + - recognition + - speech +translation_of: Web/API/SpeechRecognition/onaudioend +original_slug: Web/API/SpeechRecognition/onaudioend +--- +
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
+ +

{{domxref("SpeechRecognition")}}インターフェイスの onaudioend プロパティは、ユーザーエージェントが音声を取り込んだ後 ({{event("audioend")}}イベントが発生した時) に、実行するイベントハンドラーになります。

+ +

構文

+ +
mySpeechRecognition.onaudioend = function() { ... };
+
+ +

+ +
var recognition = new SpeechRecognition();
+
+recognition.onaudioend = function() {
+  console.log('音声認識は終了しました。');
+}
+
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onaudioend', 'onaudioend')}}{{Spec2('Web Speech API')}} 
+ +

ブラウザー実装状況

+ +
+ + +

{{Compat("api.SpeechRecognition.onaudioend")}}

+
+ +

Firefox OS の権限

+ +

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

+ +
"permissions": {
+  "audio-capture" : {
+    "description" : "Audio capture"
+  },
+  "speech-recognition" : {
+    "description" : "Speech recognition"
+  }
+}
+ +

privileged アプリ権限も必要なので、下記も追加が必要です。

+ +
  "type": "privileged"
+ +

関連情報

+ + diff --git a/files/ja/web/api/speechrecognition/end_event/index.html b/files/ja/web/api/speechrecognition/end_event/index.html new file mode 100644 index 0000000000..94c753f768 --- /dev/null +++ b/files/ja/web/api/speechrecognition/end_event/index.html @@ -0,0 +1,81 @@ +--- +title: SpeechRecognition.onend +slug: Web/API/SpeechRecognition/end_event +tags: + - API + - Experimental + - Property + - Reference + - SpeechRecognition + - Web Speech API + - onend + - recognition + - speech +translation_of: Web/API/SpeechRecognition/onend +original_slug: Web/API/SpeechRecognition/onend +--- +
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
+ +

{{domxref("SpeechRecognition")}}インターフェイスの onend プロパティは、音声認識のサービスが切断された後 ({{event("end_(SpeechRecognition)","end")}}イベントが発生した時) に、実行するイベントハンドラーになります。

+ +

構文

+ +
mySpeechRecognition.onend = function() { ... };
+
+ +

+ +
var recognition = new SpeechRecognition();
+
+recognition.onend = function() {
+  console.log('音声認識サービスが切断されました。');
+}
+
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onend', 'onend')}}{{Spec2('Web Speech API')}} 
+ +

ブラウザー実装状況

+ +
+ + +

{{Compat("api.SpeechRecognition.onend")}}

+
+ +

Firefox OS の権限

+ +

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

+ +
"permissions": {
+  "audio-capture" : {
+    "description" : "Audio capture"
+  },
+  "speech-recognition" : {
+    "description" : "Speech recognition"
+  }
+}
+ +

privileged アプリ権限も必要なので、下記も追加が必要です。

+ +
  "type": "privileged"
+ +

関連情報

+ + diff --git a/files/ja/web/api/speechrecognition/error_event/index.html b/files/ja/web/api/speechrecognition/error_event/index.html new file mode 100644 index 0000000000..6244a57f9b --- /dev/null +++ b/files/ja/web/api/speechrecognition/error_event/index.html @@ -0,0 +1,81 @@ +--- +title: SpeechRecognition.onerror +slug: Web/API/SpeechRecognition/error_event +tags: + - API + - Experimental + - Property + - Reference + - SpeechRecognition + - Web Speech API + - onerror + - recognition + - speech +translation_of: Web/API/SpeechRecognition/onerror +original_slug: Web/API/SpeechRecognition/onerror +--- +
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
+ +

{{domxref("SpeechRecognition")}}インターフェイスの onerror プロパティは、音声の認識でエラーが発生した場合(error イベントが発生した時) に、実行するイベントハンドラーになります。

+ +

構文

+ +
mySpeechRecognition.onerror = function() { ... };
+
+ +

+ +
var recognition = new SpeechRecognition();
+
+recognition.onerror = function(event) {
+  console.log('音声を認識する際にエラーが発生しました:' + event.error);
+}
+
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onerror', 'onerror')}}{{Spec2('Web Speech API')}} 
+ +

ブラウザー実装状況

+ +
+ + +

{{Compat("api.SpeechRecognition.onerror")}}

+
+ +

Firefox OS の権限

+ +

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

+ +
"permissions": {
+  "audio-capture" : {
+    "description" : "Audio capture"
+  },
+  "speech-recognition" : {
+    "description" : "Speech recognition"
+  }
+}
+ +

privileged アプリ権限も必要なので、下記も追加が必要です。

+ +
  "type": "privileged"
+ +

関連情報

+ + diff --git a/files/ja/web/api/speechrecognition/nomatch_event/index.html b/files/ja/web/api/speechrecognition/nomatch_event/index.html new file mode 100644 index 0000000000..88351a5f19 --- /dev/null +++ b/files/ja/web/api/speechrecognition/nomatch_event/index.html @@ -0,0 +1,87 @@ +--- +title: SpeechRecognition.onnomatch +slug: Web/API/SpeechRecognition/nomatch_event +tags: + - API + - Experimental + - Property + - Reference + - SpeechRecognition + - Web Speech API + - onnomatch + - recognition + - speech +translation_of: Web/API/SpeechRecognition/onnomatch +original_slug: Web/API/SpeechRecognition/onnomatch +--- +
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
+ +

{{domxref("SpeechRecognition")}}インターフェイスの onnomatch プロパティ、文法の辞書による音声認識サービスの最終結果として何も認識されていない場合 ({{event("nomatch")}}イベントが発生した時)、実行するイベントハンドラーになります。

+ +

{{domxref("SpeechRecognitionAlternative.confidence","confidence")}}の閾値を超えたり満たしたりしない程度の認識がされた場合も含まれます。

+ +
+

注意:onnomatch ハンドラーは Firefox でまだ良く動作していませんので — 音声認識API は正規なマッチを返し、文法の辞書による項目を推測します。この不具合は今対応中です。

+
+ +

構文

+ +
mySpeechRecognition.onnomatch = function() { ... };
+
+ +

+ +
var recognition = new SpeechRecognition();
+
+recognition.onnomatch = function() {
+  console.log('音声は認識できませんでした。');
+}
+
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onnomatch', 'onnomatch')}}{{Spec2('Web Speech API')}} 
+ +

ブラウザー実装状況

+ +
+ + +

{{Compat("api.SpeechRecognition.onnomatch")}}

+
+ +

Firefox OS の権限

+ +

アプリで音声認識を利用する前に、下記の権限を manifest に追加するのは必要になります。

+ +
"permissions": {
+  "audio-capture" : {
+    "description" : "Audio capture"
+  },
+  "speech-recognition" : {
+    "description" : "Speech recognition"
+  }
+}
+ +

privileged アプリも必要なので、下記の追加も必要になります。

+ +
  "type": "privileged"
+ +

関連情報

+ + diff --git a/files/ja/web/api/speechrecognition/onaudioend/index.html b/files/ja/web/api/speechrecognition/onaudioend/index.html deleted file mode 100644 index 289528b00d..0000000000 --- a/files/ja/web/api/speechrecognition/onaudioend/index.html +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: SpeechRecognition.onaudioend -slug: Web/API/SpeechRecognition/onaudioend -tags: - - API - - Experimental - - Property - - Reference - - SpeechRecognition - - Web Speech API - - onaudioend - - recognition - - speech -translation_of: Web/API/SpeechRecognition/onaudioend ---- -
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
- -

{{domxref("SpeechRecognition")}}インターフェイスの onaudioend プロパティは、ユーザーエージェントが音声を取り込んだ後 ({{event("audioend")}}イベントが発生した時) に、実行するイベントハンドラーになります。

- -

構文

- -
mySpeechRecognition.onaudioend = function() { ... };
-
- -

- -
var recognition = new SpeechRecognition();
-
-recognition.onaudioend = function() {
-  console.log('音声認識は終了しました。');
-}
-
- -

仕様

- - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onaudioend', 'onaudioend')}}{{Spec2('Web Speech API')}} 
- -

ブラウザー実装状況

- -
- - -

{{Compat("api.SpeechRecognition.onaudioend")}}

-
- -

Firefox OS の権限

- -

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

- -
"permissions": {
-  "audio-capture" : {
-    "description" : "Audio capture"
-  },
-  "speech-recognition" : {
-    "description" : "Speech recognition"
-  }
-}
- -

privileged アプリ権限も必要なので、下記も追加が必要です。

- -
  "type": "privileged"
- -

関連情報

- - diff --git a/files/ja/web/api/speechrecognition/onaudiostart/index.html b/files/ja/web/api/speechrecognition/onaudiostart/index.html deleted file mode 100644 index acd1c87e05..0000000000 --- a/files/ja/web/api/speechrecognition/onaudiostart/index.html +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: SpeechRecognition.onaudiostart -slug: Web/API/SpeechRecognition/onaudiostart -tags: - - API - - Experimental - - Property - - Reference - - SpeechRecognition - - Web Speech API - - onaudiostart - - recognition - - speech -translation_of: Web/API/SpeechRecognition/onaudiostart ---- -
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
- -

{{domxref("SpeechRecognition")}}インターフェイスの onaudiostart プロパティは、ユーザーエージェントが音声を取得し終えた時に ({{event("audiostart")}}イベントが発生した時) 、実行されるイベントハンドラーになります。

- -

構文

- -
mySpeechRecognition.onaudiostart = function() { ... };
-
- -

- -
var recognition = new SpeechRecognition();
-
-recognition.onaudiostart = function() {
-  console.log('音声認識は開始しました。');
-}
-
- -

仕様

- - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onaudiostart', 'onaudiostart')}}{{Spec2('Web Speech API')}} 
- -

ブラウザー実装状況

- -
- - -

{{Compat("api.SpeechRecognition.onaudiostart")}}

-
- -

Firefox OS の権限

- -

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

- -
"permissions": {
-  "audio-capture" : {
-    "description" : "Audio capture"
-  },
-  "speech-recognition" : {
-    "description" : "Speech recognition"
-  }
-}
- -

privileged アプリ権限も必要なので、下記も追加が必要です。

- -
  "type": "privileged"
- -

関連情報

- - diff --git a/files/ja/web/api/speechrecognition/onend/index.html b/files/ja/web/api/speechrecognition/onend/index.html deleted file mode 100644 index 42e0c9092b..0000000000 --- a/files/ja/web/api/speechrecognition/onend/index.html +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: SpeechRecognition.onend -slug: Web/API/SpeechRecognition/onend -tags: - - API - - Experimental - - Property - - Reference - - SpeechRecognition - - Web Speech API - - onend - - recognition - - speech -translation_of: Web/API/SpeechRecognition/onend ---- -
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
- -

{{domxref("SpeechRecognition")}}インターフェイスの onend プロパティは、音声認識のサービスが切断された後 ({{event("end_(SpeechRecognition)","end")}}イベントが発生した時) に、実行するイベントハンドラーになります。

- -

構文

- -
mySpeechRecognition.onend = function() { ... };
-
- -

- -
var recognition = new SpeechRecognition();
-
-recognition.onend = function() {
-  console.log('音声認識サービスが切断されました。');
-}
-
- -

仕様

- - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onend', 'onend')}}{{Spec2('Web Speech API')}} 
- -

ブラウザー実装状況

- -
- - -

{{Compat("api.SpeechRecognition.onend")}}

-
- -

Firefox OS の権限

- -

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

- -
"permissions": {
-  "audio-capture" : {
-    "description" : "Audio capture"
-  },
-  "speech-recognition" : {
-    "description" : "Speech recognition"
-  }
-}
- -

privileged アプリ権限も必要なので、下記も追加が必要です。

- -
  "type": "privileged"
- -

関連情報

- - diff --git a/files/ja/web/api/speechrecognition/onerror/index.html b/files/ja/web/api/speechrecognition/onerror/index.html deleted file mode 100644 index 132275ba77..0000000000 --- a/files/ja/web/api/speechrecognition/onerror/index.html +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: SpeechRecognition.onerror -slug: Web/API/SpeechRecognition/onerror -tags: - - API - - Experimental - - Property - - Reference - - SpeechRecognition - - Web Speech API - - onerror - - recognition - - speech -translation_of: Web/API/SpeechRecognition/onerror ---- -
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
- -

{{domxref("SpeechRecognition")}}インターフェイスの onerror プロパティは、音声の認識でエラーが発生した場合(error イベントが発生した時) に、実行するイベントハンドラーになります。

- -

構文

- -
mySpeechRecognition.onerror = function() { ... };
-
- -

- -
var recognition = new SpeechRecognition();
-
-recognition.onerror = function(event) {
-  console.log('音声を認識する際にエラーが発生しました:' + event.error);
-}
-
- -

仕様

- - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onerror', 'onerror')}}{{Spec2('Web Speech API')}} 
- -

ブラウザー実装状況

- -
- - -

{{Compat("api.SpeechRecognition.onerror")}}

-
- -

Firefox OS の権限

- -

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

- -
"permissions": {
-  "audio-capture" : {
-    "description" : "Audio capture"
-  },
-  "speech-recognition" : {
-    "description" : "Speech recognition"
-  }
-}
- -

privileged アプリ権限も必要なので、下記も追加が必要です。

- -
  "type": "privileged"
- -

関連情報

- - diff --git a/files/ja/web/api/speechrecognition/onnomatch/index.html b/files/ja/web/api/speechrecognition/onnomatch/index.html deleted file mode 100644 index 4994f0f5f8..0000000000 --- a/files/ja/web/api/speechrecognition/onnomatch/index.html +++ /dev/null @@ -1,86 +0,0 @@ ---- -title: SpeechRecognition.onnomatch -slug: Web/API/SpeechRecognition/onnomatch -tags: - - API - - Experimental - - Property - - Reference - - SpeechRecognition - - Web Speech API - - onnomatch - - recognition - - speech -translation_of: Web/API/SpeechRecognition/onnomatch ---- -
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
- -

{{domxref("SpeechRecognition")}}インターフェイスの onnomatch プロパティ、文法の辞書による音声認識サービスの最終結果として何も認識されていない場合 ({{event("nomatch")}}イベントが発生した時)、実行するイベントハンドラーになります。

- -

{{domxref("SpeechRecognitionAlternative.confidence","confidence")}}の閾値を超えたり満たしたりしない程度の認識がされた場合も含まれます。

- -
-

注意:onnomatch ハンドラーは Firefox でまだ良く動作していませんので — 音声認識API は正規なマッチを返し、文法の辞書による項目を推測します。この不具合は今対応中です。

-
- -

構文

- -
mySpeechRecognition.onnomatch = function() { ... };
-
- -

- -
var recognition = new SpeechRecognition();
-
-recognition.onnomatch = function() {
-  console.log('音声は認識できませんでした。');
-}
-
- -

仕様

- - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onnomatch', 'onnomatch')}}{{Spec2('Web Speech API')}} 
- -

ブラウザー実装状況

- -
- - -

{{Compat("api.SpeechRecognition.onnomatch")}}

-
- -

Firefox OS の権限

- -

アプリで音声認識を利用する前に、下記の権限を manifest に追加するのは必要になります。

- -
"permissions": {
-  "audio-capture" : {
-    "description" : "Audio capture"
-  },
-  "speech-recognition" : {
-    "description" : "Speech recognition"
-  }
-}
- -

privileged アプリも必要なので、下記の追加も必要になります。

- -
  "type": "privileged"
- -

関連情報

- - diff --git a/files/ja/web/api/speechrecognition/onresult/index.html b/files/ja/web/api/speechrecognition/onresult/index.html deleted file mode 100644 index 0a7cddc60f..0000000000 --- a/files/ja/web/api/speechrecognition/onresult/index.html +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: SpeechRecognition.onresult -slug: Web/API/SpeechRecognition/onresult -tags: - - API - - Experimental - - Property - - Reference - - SpeechRecognition - - Web Speech API - - onresult - - recognition - - speech -translation_of: Web/API/SpeechRecognition/onresult ---- -
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
- -

{{domxref("SpeechRecognition")}}インターフェイスの onresult プロパティは、音声認識サービスが結果を返した時に、つまり正しく言葉や文法が認識でき、アプリに通信した時 ({{event("result")}}イベントが発生した時) に、実行するイベントハンドラーになります。

- -

構文

- -
mySpeechRecognition.onresult = function() { ... };
-
- -

- -

下記のソースコードは Speech color changer の例文から取り出しました。

- -
recognition.onresult = function(event) {
-  // SpeechRecognitionEvent プロパティーは SpeechRecognitionResultList オブジェクトを返しました。
-  // SpeechRecognitionResult オブジェクトは SpeechRecognitionResultList オブジェクトにあります。
-  // ゲッターがあるので、配列のように呼び出すことができます。
-  // 最初の[0]は 0 の位置にある SpeechRecognitionResult を返します。
-  // それぞれの結果がある SpeechRecognitionAlternative オブジェクトは各位SpeechRecognitionResult オブジェクトにあります。
-  // それもゲッターがあるので、配列のように呼び出すことができます。
-  // 2つ目の[0]は 0 の位置にある SpeechRecognitionAlternative を返します。
-  // SpeechRecognitionAlternative オブジェクトの transcript プロパティを返します。
-  var color = event.results[0][0].transcript;
-  diagnostic.textContent = '結果:' + color + '.';
-  bg.style.backgroundColor = color;
-}
-
- -

仕様

- - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onresult', 'onresult')}}{{Spec2('Web Speech API')}}
- -

ブラウザー実装状況

- -
- - -

{{Compat("api.SpeechRecognition.onresult")}}

-
- -

Firefox OS の権限

- -

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

- -
"permissions": {
-  "audio-capture" : {
-    "description" : "Audio capture"
-  },
-  "speech-recognition" : {
-    "description" : "Speech recognition"
-  }
-}
- -

privileged アプリ権限も必要なので、下記も追加が必要です。

- -
  "type": "privileged"
- -

関連情報

- - diff --git a/files/ja/web/api/speechrecognition/onsoundend/index.html b/files/ja/web/api/speechrecognition/onsoundend/index.html deleted file mode 100644 index 53d601fc6c..0000000000 --- a/files/ja/web/api/speechrecognition/onsoundend/index.html +++ /dev/null @@ -1,78 +0,0 @@ ---- -title: SpeechRecognition.onsoundend -slug: Web/API/SpeechRecognition/onsoundend -tags: - - API - - Experimental - - Property - - Reference - - SpeechRecognition - - Web Speech API - - onsoundend - - recognition - - speech -translation_of: Web/API/SpeechRecognition/onsoundend ---- -
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
- -

{{domxref("SpeechRecognition")}} インターフェイスの onsoundend プロパティは、何らかの音(認識できる音声、できない音声にかかわらず)が検出し終えた時に({{event("soundend")}} イベントが発生した時)、実行するイベントハンドラーになります。

- -

構文

- -
mySpeechRecognition.onsoundend = function() { ... };
-
- -

- -
recognition.onsoundend = function() {
-  console.log('音の検出は終わりました。');
-}
-
- -

仕様

- - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onsoundend', 'onsoundend')}}{{Spec2('Web Speech API')}} 
- -

ブラウザー実装状況

- -
- - -

{{Compat("api.SpeechRecognition.onsoundend")}}

-
- -

Firefox OS の権限

- -

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

- -
"permissions": {
-  "audio-capture" : {
-    "description" : "Audio capture"
-  },
-  "speech-recognition" : {
-    "description" : "Speech recognition"
-  }
-}
- -

privileged アプリ権限も必要なので、下記も追加が必要です。

- -
  "type": "privileged"
- -

関連情報

- - diff --git a/files/ja/web/api/speechrecognition/onsoundstart/index.html b/files/ja/web/api/speechrecognition/onsoundstart/index.html deleted file mode 100644 index 2305c53525..0000000000 --- a/files/ja/web/api/speechrecognition/onsoundstart/index.html +++ /dev/null @@ -1,78 +0,0 @@ ---- -title: SpeechRecognition.onsoundstart -slug: Web/API/SpeechRecognition/onsoundstart -tags: - - API - - Experimental - - Property - - Reference - - SpeechRecognition - - Web Speech API - - onsoundstart - - recognition - - speech -translation_of: Web/API/SpeechRecognition/onsoundstart ---- -
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
- -

{{domxref("SpeechRecognition")}}インターフェイスの onsoundstart プロパティは、何らかの音(認識できる音声、できない音声にかかわらず)が検出できた時に ({{event("soundstart")}}イベントが発生した時)、実行されるイベントハンドラーになります。

- -

構文

- -
mySpeechRecognition.onsoundstart = function() { ... };
-
- -

- -
recognition.onsoundstart = function() {
-  console.log('音が検出できました。');
-}
-
- -

仕様

- - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onsoundstart', 'onsoundstart')}}{{Spec2('Web Speech API')}} 
- -

ブラウザー実装状況

- -
- - -

{{Compat("api.SpeechRecognition.onsoundstart")}}

-
- -

Firefox OS の権限

- -

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

- -
"permissions": {
-  "audio-capture" : {
-    "description" : "Audio capture"
-  },
-  "speech-recognition" : {
-    "description" : "Speech recognition"
-  }
-}
- -

privileged アプリ権限も必要なので、下記も追加が必要です。

- -
  "type": "privileged"
- -

関連情報

- - diff --git a/files/ja/web/api/speechrecognition/onspeechend/index.html b/files/ja/web/api/speechrecognition/onspeechend/index.html deleted file mode 100644 index e6df50a2b2..0000000000 --- a/files/ja/web/api/speechrecognition/onspeechend/index.html +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: SpeechRecognition.onspeechend -slug: Web/API/SpeechRecognition/onspeechend -tags: - - API - - Experimental - - Property - - Reference - - SpeechRecognition - - Web Speech API - - onspeechend - - recognition - - speech -translation_of: Web/API/SpeechRecognition/onspeechend ---- -
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
- -

{{domxref("SpeechRecognition")}} インターフェイスの onspeechend プロパティは、認識できる音声が検出し終えた時に (speechend イベントが発生した時)、実行されるイベントハンドラーになります。

- -

構文

- -
mySpeechRecognition.onspeechend = function() { ... };
-
- -

- -
recognition.onspeechend = function() {
-  console.log('音声の検出が終わりました。');
-}
-
- -

仕様

- - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onspeechend', 'onspeechend')}}{{Spec2('Web Speech API')}}
- -

ブラウザー実装状況

- -
- - -

{{Compat("api.SpeechRecognition.onspeechend")}}

-
- -

関連情報

- - diff --git a/files/ja/web/api/speechrecognition/onspeechstart/index.html b/files/ja/web/api/speechrecognition/onspeechstart/index.html deleted file mode 100644 index 465a441ead..0000000000 --- a/files/ja/web/api/speechrecognition/onspeechstart/index.html +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: SpeechRecognition.onspeechstart -slug: Web/API/SpeechRecognition/onspeechstart -tags: - - API - - Experimental - - Property - - Reference - - SpeechRecognition - - Web Speech API - - onspeechstart - - recognition - - speech -translation_of: Web/API/SpeechRecognition/onspeechstart ---- -
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
- -

{{domxref("SpeechRecognition")}} インターフェイスの onspeechstart プロパティは、認識できる音声が検出できた時に(speechstart イベントが発生した時)、実行されるイベントハンドラーになります。

- -

構文

- -
mySpeechRecognition.onspeechstart = function() { ... };
-
- -

- -
recognition.onspeechstart = function() {
-  console.log('音声が検出できました。');
-}
-
- -

仕様

- - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onspeechstart', 'onspeechstart')}}{{Spec2('Web Speech API')}}
- -

ブラウザー実装状況

- -
- - -

{{Compat("api.SpeechRecognition.onspeechstart")}}

-
- -

関連情報

- - diff --git a/files/ja/web/api/speechrecognition/onstart/index.html b/files/ja/web/api/speechrecognition/onstart/index.html deleted file mode 100644 index 67f34f02ac..0000000000 --- a/files/ja/web/api/speechrecognition/onstart/index.html +++ /dev/null @@ -1,78 +0,0 @@ ---- -title: SpeechRecognition.onstart -slug: Web/API/SpeechRecognition/onstart -tags: - - API - - Experimental - - Property - - Reference - - SpeechRecognition - - Web Speech API - - onstart - - recognition - - speech -translation_of: Web/API/SpeechRecognition/onstart ---- -
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
- -

{{domxref("SpeechRecognition")}}インターフェイスの onstart プロパティは、現在の SpeechRecognition に関連する文法を認識する意図をもって、着信される音声を認識するサービスに接続された後 ({{event("start_(SpeechRecognition)","start")}}イベントが発生した時) に、実行するイベントハンドラーになります。

- -

構文

- -
mySpeechRecognition.onstart = function() { ... };
-
- -

- -
recognition.onstart = function() {
-  console.log('音声認識サービスに接続されました。');
-}
-
- -

仕様

- - - - - - - - - - - - - - -
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onstart', 'onstart')}}{{Spec2('Web Speech API')}} 
- -

ブラウザー実装状況

- -
- - -

{{Compat("api.SpeechRecognition.onstart")}}

-
- -

Firefox OS の権限

- -

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

- -
"permissions": {
-  "audio-capture" : {
-    "description" : "Audio capture"
-  },
-  "speech-recognition" : {
-    "description" : "Speech recognition"
-  }
-}
- -

privileged アプリ権限も必要なので、下記も追加が必要です。

- -
  "type": "privileged"
- -

関連情報

- - diff --git a/files/ja/web/api/speechrecognition/result_event/index.html b/files/ja/web/api/speechrecognition/result_event/index.html new file mode 100644 index 0000000000..31ec76d499 --- /dev/null +++ b/files/ja/web/api/speechrecognition/result_event/index.html @@ -0,0 +1,91 @@ +--- +title: SpeechRecognition.onresult +slug: Web/API/SpeechRecognition/result_event +tags: + - API + - Experimental + - Property + - Reference + - SpeechRecognition + - Web Speech API + - onresult + - recognition + - speech +translation_of: Web/API/SpeechRecognition/onresult +original_slug: Web/API/SpeechRecognition/onresult +--- +
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
+ +

{{domxref("SpeechRecognition")}}インターフェイスの onresult プロパティは、音声認識サービスが結果を返した時に、つまり正しく言葉や文法が認識でき、アプリに通信した時 ({{event("result")}}イベントが発生した時) に、実行するイベントハンドラーになります。

+ +

構文

+ +
mySpeechRecognition.onresult = function() { ... };
+
+ +

+ +

下記のソースコードは Speech color changer の例文から取り出しました。

+ +
recognition.onresult = function(event) {
+  // SpeechRecognitionEvent プロパティーは SpeechRecognitionResultList オブジェクトを返しました。
+  // SpeechRecognitionResult オブジェクトは SpeechRecognitionResultList オブジェクトにあります。
+  // ゲッターがあるので、配列のように呼び出すことができます。
+  // 最初の[0]は 0 の位置にある SpeechRecognitionResult を返します。
+  // それぞれの結果がある SpeechRecognitionAlternative オブジェクトは各位SpeechRecognitionResult オブジェクトにあります。
+  // それもゲッターがあるので、配列のように呼び出すことができます。
+  // 2つ目の[0]は 0 の位置にある SpeechRecognitionAlternative を返します。
+  // SpeechRecognitionAlternative オブジェクトの transcript プロパティを返します。
+  var color = event.results[0][0].transcript;
+  diagnostic.textContent = '結果:' + color + '.';
+  bg.style.backgroundColor = color;
+}
+
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onresult', 'onresult')}}{{Spec2('Web Speech API')}}
+ +

ブラウザー実装状況

+ +
+ + +

{{Compat("api.SpeechRecognition.onresult")}}

+
+ +

Firefox OS の権限

+ +

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

+ +
"permissions": {
+  "audio-capture" : {
+    "description" : "Audio capture"
+  },
+  "speech-recognition" : {
+    "description" : "Speech recognition"
+  }
+}
+ +

privileged アプリ権限も必要なので、下記も追加が必要です。

+ +
  "type": "privileged"
+ +

関連情報

+ + diff --git a/files/ja/web/api/speechrecognition/soundend_event/index.html b/files/ja/web/api/speechrecognition/soundend_event/index.html new file mode 100644 index 0000000000..f7139149d2 --- /dev/null +++ b/files/ja/web/api/speechrecognition/soundend_event/index.html @@ -0,0 +1,79 @@ +--- +title: SpeechRecognition.onsoundend +slug: Web/API/SpeechRecognition/soundend_event +tags: + - API + - Experimental + - Property + - Reference + - SpeechRecognition + - Web Speech API + - onsoundend + - recognition + - speech +translation_of: Web/API/SpeechRecognition/onsoundend +original_slug: Web/API/SpeechRecognition/onsoundend +--- +
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
+ +

{{domxref("SpeechRecognition")}} インターフェイスの onsoundend プロパティは、何らかの音(認識できる音声、できない音声にかかわらず)が検出し終えた時に({{event("soundend")}} イベントが発生した時)、実行するイベントハンドラーになります。

+ +

構文

+ +
mySpeechRecognition.onsoundend = function() { ... };
+
+ +

+ +
recognition.onsoundend = function() {
+  console.log('音の検出は終わりました。');
+}
+
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onsoundend', 'onsoundend')}}{{Spec2('Web Speech API')}} 
+ +

ブラウザー実装状況

+ +
+ + +

{{Compat("api.SpeechRecognition.onsoundend")}}

+
+ +

Firefox OS の権限

+ +

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

+ +
"permissions": {
+  "audio-capture" : {
+    "description" : "Audio capture"
+  },
+  "speech-recognition" : {
+    "description" : "Speech recognition"
+  }
+}
+ +

privileged アプリ権限も必要なので、下記も追加が必要です。

+ +
  "type": "privileged"
+ +

関連情報

+ + diff --git a/files/ja/web/api/speechrecognition/soundstart_event/index.html b/files/ja/web/api/speechrecognition/soundstart_event/index.html new file mode 100644 index 0000000000..c8adf57734 --- /dev/null +++ b/files/ja/web/api/speechrecognition/soundstart_event/index.html @@ -0,0 +1,79 @@ +--- +title: SpeechRecognition.onsoundstart +slug: Web/API/SpeechRecognition/soundstart_event +tags: + - API + - Experimental + - Property + - Reference + - SpeechRecognition + - Web Speech API + - onsoundstart + - recognition + - speech +translation_of: Web/API/SpeechRecognition/onsoundstart +original_slug: Web/API/SpeechRecognition/onsoundstart +--- +
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
+ +

{{domxref("SpeechRecognition")}}インターフェイスの onsoundstart プロパティは、何らかの音(認識できる音声、できない音声にかかわらず)が検出できた時に ({{event("soundstart")}}イベントが発生した時)、実行されるイベントハンドラーになります。

+ +

構文

+ +
mySpeechRecognition.onsoundstart = function() { ... };
+
+ +

+ +
recognition.onsoundstart = function() {
+  console.log('音が検出できました。');
+}
+
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onsoundstart', 'onsoundstart')}}{{Spec2('Web Speech API')}} 
+ +

ブラウザー実装状況

+ +
+ + +

{{Compat("api.SpeechRecognition.onsoundstart")}}

+
+ +

Firefox OS の権限

+ +

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

+ +
"permissions": {
+  "audio-capture" : {
+    "description" : "Audio capture"
+  },
+  "speech-recognition" : {
+    "description" : "Speech recognition"
+  }
+}
+ +

privileged アプリ権限も必要なので、下記も追加が必要です。

+ +
  "type": "privileged"
+ +

関連情報

+ + diff --git a/files/ja/web/api/speechrecognition/speechend_event/index.html b/files/ja/web/api/speechrecognition/speechend_event/index.html new file mode 100644 index 0000000000..191af620ef --- /dev/null +++ b/files/ja/web/api/speechrecognition/speechend_event/index.html @@ -0,0 +1,62 @@ +--- +title: SpeechRecognition.onspeechend +slug: Web/API/SpeechRecognition/speechend_event +tags: + - API + - Experimental + - Property + - Reference + - SpeechRecognition + - Web Speech API + - onspeechend + - recognition + - speech +translation_of: Web/API/SpeechRecognition/onspeechend +original_slug: Web/API/SpeechRecognition/onspeechend +--- +
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
+ +

{{domxref("SpeechRecognition")}} インターフェイスの onspeechend プロパティは、認識できる音声が検出し終えた時に (speechend イベントが発生した時)、実行されるイベントハンドラーになります。

+ +

構文

+ +
mySpeechRecognition.onspeechend = function() { ... };
+
+ +

+ +
recognition.onspeechend = function() {
+  console.log('音声の検出が終わりました。');
+}
+
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onspeechend', 'onspeechend')}}{{Spec2('Web Speech API')}}
+ +

ブラウザー実装状況

+ +
+ + +

{{Compat("api.SpeechRecognition.onspeechend")}}

+
+ +

関連情報

+ + diff --git a/files/ja/web/api/speechrecognition/speechstart_event/index.html b/files/ja/web/api/speechrecognition/speechstart_event/index.html new file mode 100644 index 0000000000..9136db7cd5 --- /dev/null +++ b/files/ja/web/api/speechrecognition/speechstart_event/index.html @@ -0,0 +1,62 @@ +--- +title: SpeechRecognition.onspeechstart +slug: Web/API/SpeechRecognition/speechstart_event +tags: + - API + - Experimental + - Property + - Reference + - SpeechRecognition + - Web Speech API + - onspeechstart + - recognition + - speech +translation_of: Web/API/SpeechRecognition/onspeechstart +original_slug: Web/API/SpeechRecognition/onspeechstart +--- +
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
+ +

{{domxref("SpeechRecognition")}} インターフェイスの onspeechstart プロパティは、認識できる音声が検出できた時に(speechstart イベントが発生した時)、実行されるイベントハンドラーになります。

+ +

構文

+ +
mySpeechRecognition.onspeechstart = function() { ... };
+
+ +

+ +
recognition.onspeechstart = function() {
+  console.log('音声が検出できました。');
+}
+
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onspeechstart', 'onspeechstart')}}{{Spec2('Web Speech API')}}
+ +

ブラウザー実装状況

+ +
+ + +

{{Compat("api.SpeechRecognition.onspeechstart")}}

+
+ +

関連情報

+ + diff --git a/files/ja/web/api/speechrecognition/start_event/index.html b/files/ja/web/api/speechrecognition/start_event/index.html new file mode 100644 index 0000000000..b13c1dadc7 --- /dev/null +++ b/files/ja/web/api/speechrecognition/start_event/index.html @@ -0,0 +1,79 @@ +--- +title: SpeechRecognition.onstart +slug: Web/API/SpeechRecognition/start_event +tags: + - API + - Experimental + - Property + - Reference + - SpeechRecognition + - Web Speech API + - onstart + - recognition + - speech +translation_of: Web/API/SpeechRecognition/onstart +original_slug: Web/API/SpeechRecognition/onstart +--- +
{{APIRef("Web Speech API")}}{{SeeCompatTable}}
+ +

{{domxref("SpeechRecognition")}}インターフェイスの onstart プロパティは、現在の SpeechRecognition に関連する文法を認識する意図をもって、着信される音声を認識するサービスに接続された後 ({{event("start_(SpeechRecognition)","start")}}イベントが発生した時) に、実行するイベントハンドラーになります。

+ +

構文

+ +
mySpeechRecognition.onstart = function() { ... };
+
+ +

+ +
recognition.onstart = function() {
+  console.log('音声認識サービスに接続されました。');
+}
+
+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Web Speech API', '#dfn-onstart', 'onstart')}}{{Spec2('Web Speech API')}} 
+ +

ブラウザー実装状況

+ +
+ + +

{{Compat("api.SpeechRecognition.onstart")}}

+
+ +

Firefox OS の権限

+ +

アプリで音声認識を利用する前に、下記の権限を manifest に追加する必要があります。

+ +
"permissions": {
+  "audio-capture" : {
+    "description" : "Audio capture"
+  },
+  "speech-recognition" : {
+    "description" : "Speech recognition"
+  }
+}
+ +

privileged アプリ権限も必要なので、下記も追加が必要です。

+ +
  "type": "privileged"
+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf