Cloud Speech API Go samples
This directory contains Cloud Speech API Go snippets.
Snippets
Auto Punctuation
For more details, see the Getting Punctuation tutorial in the docs.
Go Code
Enhanced Model
For more details, see the Using Enhanced Models tutorial in the docs.
Caution: If you attempt to use an enhanced model but your Google Cloud Project does not have data logging enabled, Speech-to-Text API sends a 400
HTTP code response with the status INVALID_ARGUMENT
. You must enable data logging to use the enhanced speech recognition models.
Go Code
Model Selection
For more details, see the Transcribing Video Files tutorial in the docs.
Multi-channel Transcription
For more details, see the Transcribing Audio with Multiple Channels tutorial in the docs.
Go Code