I have one audio file in .wav format. but when I process it in speech to text model it will not giving me full text. Audio is in English with different slang.
please help me how can i will get the full text. my audio file is only for 0.15 second.
import speech_recognition as sr r = sr.Recognizer() os.chdir('.Speaker_diarization_Reporting_matrixcluster-chunks') folder = '.Speaker_diarization_Reporting_matrixcluster-chunks' filename = "1_speaker1.wav" with sr.AudioFile(filename) as source: # listen for the data (load audio to memory) audio_data = r.record(source) # recognize (convert from speech to text) text = r.recognize_google(audio_data) print(text)```
2.1m questions
2.1m answers
60 comments
57.0k users