I'd like to transcribe mp3 (speech-to-text) using the pyspeech API. I don't know if this is possible, though.
Is it? How?
Recognition of Spoken WordsPyaudio − It can be installed by using pip install Pyaudio command. SpeechRecognition − This package can be installed by using pip install SpeechRecognition. Google-Speech-API − It can be installed by using the command pip install google-api-python-client.
Several signal processing and feature extraction functions for automatic speech to text conversion, i.e Automatic Speech Recognition (ASR).
pyspeech seems to be merely a python interface to the regular Windows speech APIs. Most likely you'd create some method of treating mp3 playback as an audio source for that speech API to listen to.
I don't know about pyspeech, but if it is a Python wrapper around the Microsoft speech APIs, then some other posts may be helpful.
Microsoft Speech engines do not require microphone input. They can accept audio files.
If you are doing transcription, you will need a dictation grammar. Dictation grammars are included with the client versions of Microsoft speech engines that ship with Windows 7 and Vista. Dictation grammars are not provided on the Server engines Microsoft provides.
A simple example of using a dictation grammar in C# with the System.Speech namespace is in the StackOverflow question SAPI and Windows 7 Problem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With