speech-to-text

Multiprocess error while using map function in python with N-Gram language model

Multiprocess error while using map function in python with N-Gram language model Question: I wanna increase the accuracy of my speech2text model with using a N-Gram. So i’m using this line of code to apply the function on the whole dataset as below: result = dataset.map(predict, batch_size=5, num_proc=int(os.environ.get(‘cpu_core’))) The CPU core I set for ‘cpu_core’ …

Total answers: 1

Speech Recognition(IBM) username and password

Speech Recognition(IBM) username and password Question: I hope to use IBM speech recognition service without – curl or ibm_watson module. And my attempt is below: import speech_recognition as sr r = sr.Recognizer() text = r.recognize_ibm(audio,username=”,password=”) Even though, I have ‘Service credentials’ for IBM cloud – speech to text, I cannot find correct form for the …

Total answers: 1

why is my speech recognition not working in python

why is my speech recognition not working in python Question: I am working on this project and its simply a desktop Assistant I am using speech recognition and pyttsx3 but the speech recognition is not working after the try nothing is executing it just jumps to except and passes can someone tell me why? and …

Total answers: 2

save microphone audio input when using azure speech to text

save microphone audio input when using azure speech to text Question: I’m currently using Azure speech to text in my project. It is recognizing speech input directly from microphone (which is what I want) and saving the text output, but I’m also interested in saving that audio input so that I can listen to it …

Total answers: 2

Python library to identify spoken numbers and characters?

Python library to identify spoken numbers and characters? Question: Is there a library that can translate spoken characters/numbers to text? Most of what I have found after googling (example SpeechRecognition) has the ambition of identifying words in a certain language, but I need something "dumber". It should only identify single characters/numbers and not try to …

Total answers: 1

Custom phrases/words are ignored by Google Speech-To-Text

Custom phrases/words are ignored by Google Speech-To-Text Question: I am using python3 to transcribe an audio file with Google speech-to-text via the provided python packages (google-speech). There is an option to define custom phrases which should be used for transcription as stated in the docs: https://cloud.google.com/speech-to-text/docs/speech-adaptation For testing purposes I am using a small audio …

Total answers: 1

Transcribing mp3 to text (python) –> "RIFF id" error

Transcribing mp3 to text (python) –> "RIFF id" error Question: I am trying to turn mp3 file to text, but my code returns the error outlined below. Any help is appreciated! This is a sample mp3 file. And below is what I have tried: import speech_recognition as sr print(sr.__version__) r = sr.Recognizer() file_audio = sr.AudioFile(r"C:UsersAndrewPodcast.mp3") …

Total answers: 3

How can I do real-time voice activity detection in Python?

How can I do real-time voice activity detection in Python? Question: I am performing a voice activity detection on the recorded audio file to detect speech vs non-speech portions in the waveform. The output of the classifier looks like (highlighted green regions indicate speech): The only issue I face here is making it work for …

Total answers: 5

ImportError: No module named 'speech_recognition' in python IDLE

ImportError: No module named 'speech_recognition' in python IDLE Question: I’m trying to use the speech recognition module with python 3.5.1 to make my jarvis AI voice activated! I have looked through stack overflow and found some questions similar to mine but they did not have the answer that i needed, i need an answer individualized …

Total answers: 12

Getting started with speech recognition and python

Getting started with speech recognition and python Question: I would like to know where one could get started with speech recognition. Not with a library or anything that is fairly “Black Box’ed” But instead, I want to know where I can Actually make a simple speech recognition script. I have done some searching and found, …

Total answers: 9