speech-recognition-api

Speech to text in python with a WAV file

Speech to text in python with a WAV file Question: I try to convert a speech in a WAV file but I’m stuck here. A lot of tutorial give the same code but it doesn’t work for me. Here it is: import speech_recognition as sr r = sr.Recognizer() with sr.AudioFile(“hello_world.wav”) as source: audio = r.record(source) …

Total answers: 3