You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/speech_v1.speech.html
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,9 @@ <h3>Method Details</h3>
138
138
],
139
139
"useEnhanced": True or False, # Set to true to use an enhanced model for speech recognition. If `use_enhanced` is set to true and the `model` field is not set, then an appropriate enhanced model is chosen if an enhanced model exists for the audio. If `use_enhanced` is true and an enhanced version of the specified model does not exist, then the speech is recognized using the standard version of the specified model.
140
140
},
141
+
"outputConfig": { # Specifies an optional destination for the recognition results. # Optional. Specifies an optional destination for the recognition results.
142
+
"gcsUri": "A String", # Specifies a Cloud Storage URI for the recognition results. Must be specified in the format: `gs://bucket_name/object_name`, and the bucket must already exist.
Copy file name to clipboardExpand all lines: docs/dyn/speech_v1p1beta1.speech.html
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -174,6 +174,15 @@ <h3>Method Details</h3>
174
174
],
175
175
},
176
176
],
177
+
"transcriptNormalization": { # Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts. # Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.
178
+
"entries": [ # A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
179
+
{ # A single replacement configuration.
180
+
"caseSensitive": True or False, # Whether the search is case sensitive.
181
+
"replace": "A String", # What to replace with. Max length is 100 characters.
182
+
"search": "A String", # What to replace. Max length is 100 characters.
183
+
},
184
+
],
185
+
},
177
186
"useEnhanced": True or False, # Set to true to use an enhanced model for speech recognition. If `use_enhanced` is set to true and the `model` field is not set, then an appropriate enhanced model is chosen if an enhanced model exists for the audio. If `use_enhanced` is true and an enhanced version of the specified model does not exist, then the speech is recognized using the standard version of the specified model.
178
187
},
179
188
"outputConfig": { # Specifies an optional destination for the recognition results. # Optional. Specifies an optional destination for the recognition results.
@@ -295,6 +304,15 @@ <h3>Method Details</h3>
295
304
],
296
305
},
297
306
],
307
+
"transcriptNormalization": { # Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts. # Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.
308
+
"entries": [ # A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.
309
+
{ # A single replacement configuration.
310
+
"caseSensitive": True or False, # Whether the search is case sensitive.
311
+
"replace": "A String", # What to replace with. Max length is 100 characters.
312
+
"search": "A String", # What to replace. Max length is 100 characters.
313
+
},
314
+
],
315
+
},
298
316
"useEnhanced": True or False, # Set to true to use an enhanced model for speech recognition. If `use_enhanced` is set to true and the `model` field is not set, then an appropriate enhanced model is chosen if an enhanced model exists for the audio. If `use_enhanced` is true and an enhanced version of the specified model does not exist, then the speech is recognized using the standard version of the specified model.
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/speech.v1.json
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -212,7 +212,7 @@
212
212
}
213
213
}
214
214
},
215
-
"revision": "20210810",
215
+
"revision": "20210907",
216
216
"rootUrl": "https://speech.googleapis.com/",
217
217
"schemas": {
218
218
"ListOperationsResponse": {
@@ -271,6 +271,10 @@
271
271
"config": {
272
272
"$ref": "RecognitionConfig",
273
273
"description": "Required. Provides information to the recognizer that specifies how to process the request."
274
+
},
275
+
"outputConfig": {
276
+
"$ref": "TranscriptOutputConfig",
277
+
"description": "Optional. Specifies an optional destination for the recognition results."
274
278
}
275
279
},
276
280
"type": "object"
@@ -680,6 +684,17 @@
680
684
},
681
685
"type": "object"
682
686
},
687
+
"TranscriptOutputConfig": {
688
+
"description": "Specifies an optional destination for the recognition results.",
689
+
"id": "TranscriptOutputConfig",
690
+
"properties": {
691
+
"gcsUri": {
692
+
"description": "Specifies a Cloud Storage URI for the recognition results. Must be specified in the format: `gs://bucket_name/object_name`, and the bucket must already exist.",
693
+
"type": "string"
694
+
}
695
+
},
696
+
"type": "object"
697
+
},
683
698
"WordInfo": {
684
699
"description": "Word-specific information for recognized words.",
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/speech.v1p1beta1.json
+38-1Lines changed: 38 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -524,7 +524,7 @@
524
524
}
525
525
}
526
526
},
527
-
"revision": "20210810",
527
+
"revision": "20210907",
528
528
"rootUrl": "https://speech.googleapis.com/",
529
529
"schemas": {
530
530
"ClassItem": {
@@ -596,6 +596,25 @@
596
596
"properties": {},
597
597
"type": "object"
598
598
},
599
+
"Entry": {
600
+
"description": "A single replacement configuration.",
601
+
"id": "Entry",
602
+
"properties": {
603
+
"caseSensitive": {
604
+
"description": "Whether the search is case sensitive.",
605
+
"type": "boolean"
606
+
},
607
+
"replace": {
608
+
"description": "What to replace with. Max length is 100 characters.",
609
+
"type": "string"
610
+
},
611
+
"search": {
612
+
"description": "What to replace. Max length is 100 characters.",
613
+
"type": "string"
614
+
}
615
+
},
616
+
"type": "object"
617
+
},
599
618
"ListCustomClassesResponse": {
600
619
"description": "Message returned to the client by the `ListCustomClasses` method.",
601
620
"id": "ListCustomClassesResponse",
@@ -936,6 +955,10 @@
936
955
},
937
956
"type": "array"
938
957
},
958
+
"transcriptNormalization": {
959
+
"$ref": "TranscriptNormalization",
960
+
"description": "Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts."
961
+
},
939
962
"useEnhanced": {
940
963
"description": "Set to true to use an enhanced model for speech recognition. If `use_enhanced` is set to true and the `model` field is not set, then an appropriate enhanced model is chosen if an enhanced model exists for the audio. If `use_enhanced` is true and an enhanced version of the specified model does not exist, then the speech is recognized using the standard version of the specified model.",
941
964
"type": "boolean"
@@ -1232,6 +1255,20 @@
1232
1255
},
1233
1256
"type": "object"
1234
1257
},
1258
+
"TranscriptNormalization": {
1259
+
"description": "Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.",
1260
+
"id": "TranscriptNormalization",
1261
+
"properties": {
1262
+
"entries": {
1263
+
"description": "A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in [\"cat\" => \"dog\", \"mountain cat\" => \"mountain dog\"] will never be applied because we will always process the first entry before it. At most 100 entries.",
1264
+
"items": {
1265
+
"$ref": "Entry"
1266
+
},
1267
+
"type": "array"
1268
+
}
1269
+
},
1270
+
"type": "object"
1271
+
},
1235
1272
"TranscriptOutputConfig": {
1236
1273
"description": "Specifies an optional destination for the recognition results.",
0 commit comments