
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Reviews the applications for Speech-to-Text
Engage in a hands-on demo of the Google Speech to Text API with Python: upload the Demo file, complete the verification, and view the transcription in real time.
Explore the Google speech-to-text API with Python, covering version 1 features, beta options, and interaction methods. Review processing modes, codecs, and models, plus multilingual support and punctuation.
Visit cloud.google.com, sign in with a Google account, and start the free trial with $300 credit; note that speech-to-text bills by usage, not the credit.
Enable the cloud speech to text API in the Google Cloud Platform, enable billing, and create a service account with credentials, saving the generated JSON file for use in projects.
Enable the Speech-to-Text API in Cloud Shell, set up billing, link your project, grant the service account owner rights, and generate a JSON key for API access.
Set up api credentials with a json file, install the Google Cloud Speech library, clone the python speech samples, and run quickstart to transcribe audio file such as Brooklyn Bridge.
Explore the two API request components, recognition_audio and recognition_config, focusing on required encoding, sample rate, and language_code, and review the Python code that sets them up.
Examine the sample code for Google Speech to Text API with Python, configure language code, sample rate, and encoding, and print transcripts from the API responses.
Create a Google Cloud Storage bucket, upload audio files, and run the Python QuickStart demo to transcribe speech with the Google Speech-to-Text API.
Review the recognition request structure, focusing on recognition config and recognition audio. Highlight options like encoding, sample rate, language codes, automatic punctuation, model, diarization, and speech context.
Discover the Google speech to text api response structure, including results with alternatives, a channel tag for multi-channel recognition, and word info with start, end times and speaker tags.
Learn how speaker diarization works in Google Speech-to-Text API with Python, including enabling diarization, setting speaker counts, and tagging each word with a speaker.
Explore speech adaptation with speech context and phrases to improve transcription accuracy in the Google Speech-to-Text API by biasing toward class tokens and industry terms like order or MRI.
Learn how class tokens reduce transcription error rate, including alphanumeric sequences, address num, money, phone numbers, and time, with examples from business audio and a look ahead to boost values.
Explore how boost lowers transcription error by biasing phrases and class tokens within a speech context, and learn to tune values through experimentation to balance results.
Learn how word error rate measures transcription accuracy, comparing human transcriptionists and AI transcriptionists, with approximately five percent error rate defined by insertions, deletions, and substitutions.
Learn to measure and reduce word error rate by comparing API transcriptions to high quality human transcripts, establishing a baseline, then iteratively tuning one configuration at a time.
Explore how use case matters in evaluating word error rate for speech transcription, and learn normalization strategies—stop word filtering, stemming, and digits-to-words—to align API and human transcripts.
Invest in testing and tuning to improve transcription quality from Google's speech to text API. Use high-quality audio, separate channels for each speaker, and gold-standard transcripts guide word error rate.
Powerful AI
Google Speech-to-Text enables developers to convert audio to text by applying powerful neural network models in an easy-to-use API. The API recognizes more than 120 languages and variants to support your global user base. You can enable voice command-and-control, transcribe audio from call centers, and more. It can process real-time streaming or prerecorded audio, using Google’s machine learning technology.
Best results
In this course, you will learn not only how to write Python programs to process audio and produce transcripts, but you will also learn how to optimize the API configuration for the highest accuracy.
Experienced Instructor
The course instructor has worked with Fortune 500 companies to guide them toward high accuracy and fit for purpose transcription.