speech_recognition icon indicating copy to clipboard operation
speech_recognition copied to clipboard

'Recognizer' object has no attribute 'recognize_tensorflow'

Open Mattia541993 opened this issue 5 years ago • 1 comments

Steps to reproduce

I saw in the examples section the following [one]:(https://github.com/Uberi/speech_recognition/blob/master/examples/tensorflow_commands.py) where tensor-flow method of Recognizer is used. (example in master branch) I jumped to definition of the recognize_tensorflow function and I saw that it's not on a specific branch, but on a tree c8985... in the __init__.py file. Indeed if I call dir(r) where r is an instance of Recognizer class, recognize_tensorflow method doesn't exists. Is it a suitable commit I can use for testing? Because I saw It that the commit with recognize_tensorflow method has been edited on 19th may 2019 and the master branch on 20th December 2018 and even in the documentation and on the Pypi page I can't find any reference of this type or recognizer.

System information

My system is macOS Catalina 10.15.2 My Python version is 3.7.5 My Pip version is 19.3.1 My SpeechRecognition library version is 3.8.1

Thank you, Mattia

Mattia541993 avatar Dec 21 '19 14:12 Mattia541993

same issue here I get the error message below: AttributeError: 'Recognizer' object has no attribute 'recognize_tensorflow'

UmutAlihan avatar May 19 '20 21:05 UmutAlihan