If log says that command not found it usually means you don't have some
software installed. In this particular case you need to install swig package,
which you can find in your distribution package manager.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-01-29
Thanks for the reply. I downloaded and installed the swig package and tried to
run the makefile from the 'swig' folder but it gave the following error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-02-21
Thanks, I finally removed all the errors and warnings and compiled and ran the
project in Eclipse. However, while I tried to launch the application on the
emulator it showed a blank screen rather than the activity and stopped
running. I did some research and found out that a mock sdcard has to be
created and the files that are given in the RecognizerTask.java file has to be
uploaded, but where can I get those dictionary files ??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Model files and dictionaries are part of pocketsphinx archive. For example
pocketsphinx/model/acoustic/hmm/en_US/hub4wsj_sc_8k
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-03-01
Hi, I have some similar problems to the ones listed above. I got these errors:
pocketsphinx_wrap.c:757:26: error: pocketsphinx.h: No such file or directory pocketsphinx_wrap.c:758:28: error: sphinxbase/err.h: No such file or directory
but I managed to resolve them by changing all of the LOCAL_C_INCLUDES to the
following:
Any ideas what I need to do to link iconf.h properly? I have been using
Eclipse and the external builders defined in the project. Nobody else that's
tried to compile PocketSphinxAndroidDemo seems to have had these problems.
(BTW, I'm not a C/C++ developer)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-03-01
Since I was missing the sphinxbase/include/android folder, I decided to grab
it from the "bleeding edge" version of the sphinxbase code. I originally
downloaded the 0.6.1 version, but I've noticed that there are some missing
folders. Were these supposed to be created by swig somehow?
Anyway, I fixed my Android.mk file to reference the local C libraries at
sphinxbase/include/android as well. I no longer have the error about iconf.h.
Now, I have some errors related to ARM registers:
I suggest you to start a new thread where you can freely discuss your issues
without hurting others.
selected processor does not support
For fast computation sphinxbase uses assembler functions which you can find in
sphinxbase/include/sphinxbase/fixpoint.h. It seems your processor does not
support those instructions (btw, that's exactly what you've been told). You
need to select another target processor or to edit corresponding source code
in forementioned header.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-03-01
Hi there !
I did what you said and its up and running this time :D Thanks a lot. I want
to ask a few other questions which may be unrelated to this thread, but I
would really appreciate if you could help. I want to build on this project on
Android and make a speech recognizer for a different language to recognize
simple commands like Calling a person, searching a contact list etc.. Can you
please tell me how should I go about (like I can build the language models but
how can I integrate it to this project) and what are the basic steps that
should be followed. Thanks a lot again.
Bikrito
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded the package and tried to run it in Eclipse but got the following
error
So I did a bit of research and downloaded the pocketsphinx snapshot and tried
out swig but got the following error
Can anyone please help me out with this ?
Thanks
If log says that command not found it usually means you don't have some
software installed. In this particular case you need to install swig package,
which you can find in your distribution package manager.
Thanks for the reply. I downloaded and installed the swig package and tried to
run the makefile from the 'swig' folder but it gave the following error.
is it because of the PKG_CONFIG_PATH variable or something else ?
Yes, it's also missing jni.h
Thanks, I finally removed all the errors and warnings and compiled and ran the
project in Eclipse. However, while I tried to launch the application on the
emulator it showed a blank screen rather than the activity and stopped
running. I did some research and found out that a mock sdcard has to be
created and the files that are given in the RecognizerTask.java file has to be
uploaded, but where can I get those dictionary files ??
Hello
Model files and dictionaries are part of pocketsphinx archive. For example
pocketsphinx/model/acoustic/hmm/en_US/hub4wsj_sc_8k
Hi, I have some similar problems to the ones listed above. I got these errors:
but I managed to resolve them by changing all of the LOCAL_C_INCLUDES to the
following:
For some reason, I didn't have a $(SPHINX_PATH)/sphinxbase/include/android
directory. I also had to change the following line in pocketsphinx.i:
Again, for some reason, swig wasn't able to recognize err.h. My latest problem
is this:
I have iconv installed. I tried the following:
Any ideas what I need to do to link iconf.h properly? I have been using
Eclipse and the external builders defined in the project. Nobody else that's
tried to compile PocketSphinxAndroidDemo seems to have had these problems.
(BTW, I'm not a C/C++ developer)
Since I was missing the sphinxbase/include/android folder, I decided to grab
it from the "bleeding edge" version of the sphinxbase code. I originally
downloaded the 0.6.1 version, but I've noticed that there are some missing
folders. Were these supposed to be created by swig somehow?
Anyway, I fixed my Android.mk file to reference the local C libraries at
sphinxbase/include/android as well. I no longer have the error about iconf.h.
Now, I have some errors related to ARM registers:
Thanks again for your help.
Hello
I suggest you to start a new thread where you can freely discuss your issues
without hurting others.
For fast computation sphinxbase uses assembler functions which you can find in
sphinxbase/include/sphinxbase/fixpoint.h. It seems your processor does not
support those instructions (btw, that's exactly what you've been told). You
need to select another target processor or to edit corresponding source code
in forementioned header.
Hi there !
I did what you said and its up and running this time :D Thanks a lot. I want
to ask a few other questions which may be unrelated to this thread, but I
would really appreciate if you could help. I want to build on this project on
Android and make a speech recognizer for a different language to recognize
simple commands like Calling a person, searching a contact list etc.. Can you
please tell me how should I go about (like I can build the language models but
how can I integrate it to this project) and what are the basic steps that
should be followed. Thanks a lot again.
Bikrito