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_matrix\cluster-chunks')
folder = '.\Speaker_diarization_Reporting_matrix\cluster-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)```