Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5d44e21

Browse filesBrowse files
jerjouJon Wayne Parrott
authored andcommitted
Update shortlinks. (GoogleCloudPlatform#519)
1 parent 8e4d772 commit 5d44e21
Copy full SHA for 5d44e21

File tree

Expand file treeCollapse file tree

5 files changed

+7
-7
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+7
-7
lines changed

‎speech/api-client/transcribe.py

Copy file name to clipboardExpand all lines: speech/api-client/transcribe.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ def main(speech_file):
6161
body={
6262
'config': {
6363
# There are a bunch of config options you can specify. See
64-
# https://goo.gl/EPjAup for the full list.
64+
# https://goo.gl/KPZn97 for the full list.
6565
'encoding': 'LINEAR16', # raw 16-bit signed LE samples
6666
'sampleRate': 16000, # 16 khz
67-
# See https://goo.gl/DPeVFW for a list of supported languages.
67+
# See https://goo.gl/A9KJ1A for a list of supported languages.
6868
'languageCode': 'en-US', # a BCP-47 language tag
6969
},
7070
'audio': {

‎speech/api-client/transcribe_async.py

Copy file name to clipboardExpand all lines: speech/api-client/transcribe_async.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ def main(speech_file):
5858
body={
5959
'config': {
6060
# There are a bunch of config options you can specify. See
61-
# https://goo.gl/EPjAup for the full list.
61+
# https://goo.gl/KPZn97 for the full list.
6262
'encoding': 'LINEAR16', # raw 16-bit signed LE samples
6363
'sampleRate': 16000, # 16 khz
64-
# See https://goo.gl/DPeVFW for a list of supported languages.
64+
# See https://goo.gl/A9KJ1A for a list of supported languages.
6565
'languageCode': 'en-US', # a BCP-47 language tag
6666
},
6767
'audio': {

‎speech/grpc/transcribe.py

Copy file name to clipboardExpand all lines: speech/grpc/transcribe.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def main(input_uri, encoding, sample_rate):
5757
response = service.SyncRecognize(cloud_speech.SyncRecognizeRequest(
5858
config=cloud_speech.RecognitionConfig(
5959
# There are a bunch of config options you can specify. See
60-
# https://goo.gl/A6xv5G for the full list.
60+
# https://goo.gl/KPZn97 for the full list.
6161
encoding=encoding, # one of LINEAR16, FLAC, MULAW, AMR, AMR_WB
6262
sample_rate=sample_rate, # the rate in hertz
6363
# See

‎speech/grpc/transcribe_async.py

Copy file name to clipboardExpand all lines: speech/grpc/transcribe_async.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def main(input_uri, encoding, sample_rate):
6060
response = service.AsyncRecognize(cloud_speech_pb2.AsyncRecognizeRequest(
6161
config=cloud_speech_pb2.RecognitionConfig(
6262
# There are a bunch of config options you can specify. See
63-
# https://goo.gl/A6xv5G for the full list.
63+
# https://goo.gl/KPZn97 for the full list.
6464
encoding=encoding, # one of LINEAR16, FLAC, MULAW, AMR, AMR_WB
6565
sample_rate=sample_rate, # the rate in hertz
6666
# See

‎speech/grpc/transcribe_streaming.py

Copy file name to clipboardExpand all lines: speech/grpc/transcribe_streaming.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def request_stream(stop_audio, channels=CHANNELS, rate=RATE, chunk=CHUNK):
9090
# server knows how to interpret it.
9191
recognition_config = cloud_speech.RecognitionConfig(
9292
# There are a bunch of config options you can specify. See
93-
# https://goo.gl/A6xv5G for the full list.
93+
# https://goo.gl/KPZn97 for the full list.
9494
encoding='LINEAR16', # raw 16-bit signed LE samples
9595
sample_rate=rate, # the rate in hertz
9696
# See

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.