Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pocketsphinx::API::Error: Decoder#unset_search failed with error code -1 #5

Open
estiens opened this issue Nov 5, 2015 · 2 comments

Comments

@estiens
Copy link

estiens commented Nov 5, 2015

I get this error on startup

Pocketsphinx::API::Error: Decoder#unset_search failed with error code -1

using either the locked version of pocketsphinx-ruby or version 0.3

@estiens
Copy link
Author

estiens commented Nov 5, 2015

It doesn't appear to be an issue with pocketsphinx-ruby as this little script works fine


Pocketsphinx::LiveSpeechRecognizer.new.recognize do |speech|
  puts speech
end```

@estiens
Copy link
Author

estiens commented Nov 5, 2015

Oh it was a pocketsphinx error. I got this working with

gem 'pocketsphinx-ruby', :git => 'https://github.com/watsonbox/pocketsphinx-ruby.git', :ref => '6c0446d'

in the Gemfile, which was the commit where this was fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant