GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update shortlinks. (#519) · fullstackguy/python-docs-samples@5d44e21

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • speech
    • api-client
      • transcribe.py
      • transcribe_async.py
    • grpc
      • transcribe.py
      • transcribe_async.py
      • transcribe_streaming.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎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': {
Collapse file

‎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': {
Collapse file

‎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
Collapse file

‎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
Collapse file

‎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)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.