FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Grammar import error · Issue #46 · bambocher/pocketsphinx-python · GitHub

This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Repository navigation

This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Grammar import error #46

Open
Open

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL