isabella icon indicating copy to clipboard operation
isabella copied to clipboard

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

Open estiens opened this issue 9 years ago • 2 comments

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 avatar Nov 05 '15 00:11 estiens

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 avatar Nov 05 '15 00:11 estiens

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

estiens avatar Nov 05 '15 01:11 estiens