You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
Hello. I use pocketsphinx with speech_recognizer.
I'm calling the sphinx method and I have this error every time.
TypeError: recognize_sphinx() got an unexpected keyword argument 'grammar'
My call is
with sr.Microphone() as source:
audio = r.listen(source)
text = r.recognize_sphinx(audio, grammar='palavras.gramm')
and my grammar is correct. Anyone know what could be happening? Without the gramar it works normally.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello. I use pocketsphinx with speech_recognizer.
I'm calling the sphinx method and I have this error every time.
TypeError: recognize_sphinx() got an unexpected keyword argument 'grammar'
My call is
with sr.Microphone() as source:
audio = r.listen(source)
text = r.recognize_sphinx(audio, grammar='palavras.gramm')
and my grammar is correct. Anyone know what could be happening? Without the gramar it works normally.
The text was updated successfully, but these errors were encountered: