isabella
isabella copied to clipboard
Pocketsphinx::API::Error: Decoder#unset_search failed with error code -1
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
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```
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