Skip to content

Commit 5d44e21

Browse files
jerjouJon Wayne Parrott
authored andcommitted
Update shortlinks. (#519)
1 parent 8e4d772 commit 5d44e21

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

speech/api-client/transcribe.py

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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)