Constructs a new VoiceRecognition instance.
Components to initialize the VoiceRecognition instance.
The API tokens for accessing the Deepgram and Google APIs.
A boolean flag indicating whether logger are enabled.
Fetch transcript from the Deepgram Speech-to-Text API.
Object containing Deepgram components.
Fetch transcript from the Google Speech-to-Text API.
Object containing Google Speech components.
Performs voice recognition on the audio file specified by the filename.
The player type.
The temp filename of the audio file for voice recognition.
The callback function to handle the result.
The VoiceRecognition class provides functionalities for performing voice recognition.