speech_recognition
speech_recognition copied to clipboard
'Recognizer' object has no attribute 'recognize_tensorflow'
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
same issue here I get the error message below: AttributeError: 'Recognizer' object has no attribute 'recognize_tensorflow'