a@a-desktop:~/sphinx/pocketsphinx-0.6.1/src/programs$ pocketsphinx_batch
pocketsphinx_batch: error while loading shared libraries:
libpocketsphinx.so.1: cannot open shared object file: No such file or
directory
So, I go into the pocketsphinx directory and looked for '.so.1' and couldn't
find one! I then searched for '.so', and it still couldn't find one. Then I
searched for 'libpocketsphinx' and it found a libpocketsphinx.la file, but
that's clearly not what I'm looking for.
So where this file at?
I'll admit I'm pretty new to linux installations, but I swore I followed the
directions verbatim and I'm positive that...
-The file/folder structure of sphinxbase and pocketsphinx is correct.
-That I did ./autogen.sh, ./configure, make, and 'sudo make install' on those two folders. required programs for sphinx base (autoconf, automake, and one other).
So I'm thinking it didn't generate the library file correctly, but I'm not
sure how I would find out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Library is installed in default installation folder - /usr/local/bin. In many
distributions dynamic loader doesn't search in this folder. You need to
configure the loader either by editing /etc/ld.so.conf file or by exporting
the environment variable LD_LIBRARY_PATH. Just run from the terminal:
export LD_LIBRARY_PATH=/usr/local/lib
and then pocketsphinx_batch. Google for LD_LIBRARY_PATH for more details.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, that did the trick. So, I ran PS_continuous and it appeared like it
was listening because it would shoot out a lot of statistics every time I said
something, but I didn't find an actual interpretation anywhere. I presume that
it's not supposed to? So, I was looking around for a demo that would actually
show something that I said, and I found a user on a forum thread mention
"PS_tidigits" and I noticed that there were a lot of support files (Like the
dict and Lm for it) , but I didn't actually find an executable anywhere. I
downloaded a demo of 0.5.1 of PS_tidigits and made the appropriate soft links
where needed, but it didn't actually seem to show any digits and the cursor
didn't do anything so I suppose that it's just too old to run correctly? Is
there a demo for 0.6.1 pocket-sphinx somewhere?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, I ran PS_continuous and it appeared like it was listening because
it would shoot out a lot of statistics every time I said something, but I
didn't
find an actual interpretation anywhere.
I suppose you need to read it carefully. The output is last line before READY
000000000: uh huh (-15193)
READY....
I presume that it's not supposed to?
Your presumption is wrong. Run
pocketsphinx_continuous -logfn /dev/null
to suppress log
So, I was looking around for a demo that would actually show something
that I said, and I found a user on a forum thread mention "PS_tidigits" and
I noticed that there were a lot of support files (Like the dict and Lm for it)
, but I didn't actually find an executable anywhere.Is there a demo for 0.6.1
pocket-sphinx somewhere?
To run digits configuration you don't need any other executable, you should
just configure
different model
Thanks, once again. I had to change around a few things to get it to work with
my 0.6.1 pocketsphinx install and the following command worked for me, just in
case it might help out any other n00bs.
Its accuracy rate in my trial with a ten digit vocabulary seemed to be around
50-60%. Do the other versions of sphinx (like sphinx 4) have better accuracy?
I noticed the "WER"(Word error rate) in the tables was like .1% or .3% or some
other ridiculously low number for Sphinx 4.0, and so I'm wondering if they
really are that much better. But, on the other hand, Sphinx 4.0 seems to make
use of Java's speech API which appears to do a lot of the heavy/grunt work so
that might be where a lot of the accuracy improvement comes from.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Its accuracy rate in my trial with a ten digit vocabulary seemed to be
around 50-60%. Do the other versions of sphinx (like sphinx 4) have better
accuracy?
Given the fact you had problem with installation no wonder you can't measure
the accuracy as well. The accuracy of pocketsphinx recognizing digits is 98%,
2% word error rate. Most likely your microphone is broken some way, I suggest
you to record audio into a file and share it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, this is the error I'm getting.
So, I go into the pocketsphinx directory and looked for '.so.1' and couldn't
find one! I then searched for '.so', and it still couldn't find one. Then I
searched for 'libpocketsphinx' and it found a libpocketsphinx.la file, but
that's clearly not what I'm looking for.
So where this file at?
I'll admit I'm pretty new to linux installations, but I swore I followed the
directions verbatim and I'm positive that...
-The file/folder structure of sphinxbase and pocketsphinx is correct.
-That I did ./autogen.sh, ./configure, make, and 'sudo make install' on those two folders. required programs for sphinx base (autoconf, automake, and one other).
So I'm thinking it didn't generate the library file correctly, but I'm not
sure how I would find out.
Library is installed in default installation folder - /usr/local/bin. In many
distributions dynamic loader doesn't search in this folder. You need to
configure the loader either by editing /etc/ld.so.conf file or by exporting
the environment variable LD_LIBRARY_PATH. Just run from the terminal:
export LD_LIBRARY_PATH=/usr/local/lib
and then pocketsphinx_batch. Google for LD_LIBRARY_PATH for more details.
Thanks, that did the trick. So, I ran PS_continuous and it appeared like it
was listening because it would shoot out a lot of statistics every time I said
something, but I didn't find an actual interpretation anywhere. I presume that
it's not supposed to? So, I was looking around for a demo that would actually
show something that I said, and I found a user on a forum thread mention
"PS_tidigits" and I noticed that there were a lot of support files (Like the
dict and Lm for it) , but I didn't actually find an executable anywhere. I
downloaded a demo of 0.5.1 of PS_tidigits and made the appropriate soft links
where needed, but it didn't actually seem to show any digits and the cursor
didn't do anything so I suppose that it's just too old to run correctly? Is
there a demo for 0.6.1 pocket-sphinx somewhere?
I suppose you need to read it carefully. The output is last line before READY
000000000: uh huh (-15193)
READY....
Your presumption is wrong. Run
to suppress log
To run digits configuration you don't need any other executable, you should
just configure
different model
Thanks, once again. I had to change around a few things to get it to work with
my 0.6.1 pocketsphinx install and the following command worked for me, just in
case it might help out any other n00bs.
pocketsphinx_continuous -hmm
/usr/local/share/pocketsphinx/model/hmm/en/tidigits -lm
/usr/local/share/pocketsphinx/model/lm/en/tidigits.DMP -dict
/usr/local/share/pocketsphinx/model/lm/en/tidigits.dic -logfn /dev/null
Its accuracy rate in my trial with a ten digit vocabulary seemed to be around
50-60%. Do the other versions of sphinx (like sphinx 4) have better accuracy?
I noticed the "WER"(Word error rate) in the tables was like .1% or .3% or some
other ridiculously low number for Sphinx 4.0, and so I'm wondering if they
really are that much better. But, on the other hand, Sphinx 4.0 seems to make
use of Java's speech API which appears to do a lot of the heavy/grunt work so
that might be where a lot of the accuracy improvement comes from.
Given the fact you had problem with installation no wonder you can't measure
the accuracy as well. The accuracy of pocketsphinx recognizing digits is 98%,
2% word error rate. Most likely your microphone is broken some way, I suggest
you to record audio into a file and share it.
I just run this command export LD_LIBRARY_PATH=/usr/local/lib and only loads the
include /etc/ld.so.conf.d/*.conf
not including the /usr/local/lib