pocketsphinx-ruby icon indicating copy to clipboard operation
pocketsphinx-ruby copied to clipboard

Ruby speech recognition with Pocketsphinx

Results 9 pocketsphinx-ruby issues
Sort by recently updated
recently updated
newest added

Hey i just did what you did and there is an error it showing i have tried many things but still the error remains /home/abdul/.rvm/gems/ruby-2.4.1/gems/ffi-1.9.18/lib/ffi/library.rb:147:in `block in ffi_lib': Could not...

I was playing around with the CMU Sphinx microphone, and I noticed something a little strange. Whenever I use it to record something, it got the wrong audio - I...

Even the very command in your own tutorial to test out of the mic leads me to this error: ``` ERROR: "acmod.c", line 80: Acoustic model definition is not specified...

Hello I run into an issue with the frames numbers. I try to decode an audio book (http://ia801400.us.archive.org/7/items/jekyll_and_hyde_klh_0904_librivox/jekyll_01_stevenson_64kb.mp3) ```ruby configuration = Pocketsphinx::Configuration.default decoder = Pocketsphinx::Decoder.new(configuration) decoder.decode 'jekyll_01_stevenson.wav' puts decoder.words ```...

I'm seeing an unexpected behavior while processing a fixed audio file. The hypothesis will occasionally change each time I decode the same file. I'm not sure if this is intended...

Add words posterior probability and acoustic and language scores.

How can I normalize a `path_score` (like in `Pocketsphinx::Decoder::Hypothesis`) of an utterance to a relative confidence probability?

This is based on the comment by @chinshr on https://github.com/watsonbox/pocketsphinx-ruby/issues/18#issuecomment-101506602 This conversion makes `posterior_prob` a usable confidence value between 0 and 1.

This allows for the use of JSGF grammars that don't live in files, or are otherwise generated elsewhere. This implementation abuses optional arguments and therefore may not be the best...