Prerequisites: An active Google Cloud Account, see https://cloud.google.com/gcp/getting-started for more information.
Simple speech recognition
In order to simply run speech recognition, only email and private key need to be populated with the Google service Account JSON information.
So, basically the steps are:
Speech model adaptation
Notes:
phrase sets are added to the API request as PhraseSetReferences, see https://cloud.google.com/speech-to-text/docs/reference/rest/v1p1beta1/RecognitionConfig#speechadaptation for more information.
This component uses the Google API Token extension to fetch the API token. Currently, there is no caching mechanism, the module fetches a new Token for each request.