speach recognisation using python


speech recognization.

filename = input("please enter audio with extension ")#extension in .wav
with sr.AudioFile(filename) as source:
    audiofile = recog.listen(source)
    try:
        text = recog.recognize_google(audiofile)
        print(text)
    except:
        print("check internet connection")
    

Comments

Popular posts from this blog

spealized the work. Be ready for the future

lest just create a basic bot operation in python

scatterplot/ violon plot /histogram /boxplot