I'm going to read the source code of the project. as it comes with unit test
and regression test files. hoe do I setup an environment to debug(in order to
read the source) the source code. i hav installed those libs. but i want to it
from this source... In nutshell i want to know the software test environment
for an open-source project provided their source is available.
I have installed pocketsphix and sphinxbase packages, but I want use the
source code for learning thro debuggging. I hope unit test will provide some
insight into the source. In return I'm going to join the developer
community... help me please.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have ordered the book. It might arrive 3days from now. Oh man its just costs
Rs.5000. and I'm using Emacs. Which u ppl use? and I tried compiling
test_ps_init.c bu I got the error
along reading the source, I'd first like to draw a structure for the source.
in <pocketsphinx.h> it is mentioned that it depends upon <cmd_ln.h> ,
<logmath.h> <fe.h> <feat.h> <ngram_model.h>. May I assume that these are
independent of each other? </ngram_model.h></feat.h></fe.h></logmath.h></cmd_ln.h></pocketsphinx.h>
I'm a git fan. and I'm trying to merge sphinxbase and pocketsphinx into single
tree, and fork it into my git repo so that my work doesn't interfere with
master-trunk. No offense in that. right??
and what is the roadmap of pocketsphinx. I'd first create documentation for
it. hopefully I'd need some help from developers.
I'm not native to english, sorry for horrible language.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
May I assume that these are independent of each other?
no, ngram_model includes logmath.h. Please make sure that it's "includes" not
"depends"
and what is the roadmap of pocketsphinx. I'd first create documentation for
it. hopefully I'd need some help from developers. I'm not native to english,
sorry for horrible language.
Roadmap is available on the wiki
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm going to read the source code of the project. as it comes with unit test
and regression test files. hoe do I setup an environment to debug(in order to
read the source) the source code. i hav installed those libs. but i want to it
from this source... In nutshell i want to know the software test environment
for an open-source project provided their source is available.
I have installed pocketsphix and sphinxbase packages, but I want use the
source code for learning thro debuggging. I hope unit test will provide some
insight into the source. In return I'm going to join the developer
community... help me please.
It depends on your IDE preference. For Eclipse you can find a tutorial in the
Eclipse documentation
http://www.ibm.com/developerworks/opensource/library/os-eclipse-
stlcdt/
It's better to read the theory first. For example this book:
Spoken Language Processing: A Guide to Theory, Algorithm and System
Development
http://www.amazon.com/dp/0130226165/
Otherwise you will not understand the concepts from the code
Pocketsphinx tests are just executables. You can run them as any other
executables. You can find it out just by reading their code.
I have ordered the book. It might arrive 3days from now. Oh man its just costs
Rs.5000. and I'm using Emacs. Which u ppl use? and I tried compiling
test_ps_init.c bu I got the error
make test_ps_init
gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\"
-DPACKAGE_VERSION=\"0.7\" -DPACKAGE_STRING=\"pocketsphinx\ 0.7\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LONG_LONG=1
-DSIZEOF_LONG_LONG=8 -DHAVE_DUP2=1 -I. -I../../include
-I../../src/libpocketsphinx -I../../include -I. -DMODELDIR=\"../../model\"
-DDATADIR=\"../../test/data\" -I/usr/local/include
-I/usr/local/include/sphinxbase -g -O2 -Wall -MT test_ps_init.o -MD -MP -MF
.deps/test_ps_init.Tpo -c -o test_ps_init.o test_ps_init.c
mv -f .deps/test_ps_init.Tpo .deps/test_ps_init.Po
make: *** No rule to make target
../../src/libpocketsphinx/libpocketsphinx.la', needed bytest_ps_init'.Stop.
If compilation is successful can I debug thro the whole tree? and how to
enable debugging option for gcc or it's enabled by default??
Emacs is ok
You need to run make in a top folder first
Just by using debugger
-g compilation option is enabled by default, you can find it in a command line.
"You need to run make in a top folder first"
I don understand.
along reading the source, I'd first like to draw a structure for the source.
in <pocketsphinx.h> it is mentioned that it depends upon <cmd_ln.h> ,
<logmath.h> <fe.h> <feat.h> <ngram_model.h>. May I assume that these are
independent of each other? </ngram_model.h></feat.h></fe.h></logmath.h></cmd_ln.h></pocketsphinx.h>
I'm a git fan. and I'm trying to merge sphinxbase and pocketsphinx into single
tree, and fork it into my git repo so that my work doesn't interfere with
master-trunk. No offense in that. right??
and what is the roadmap of pocketsphinx. I'd first create documentation for
it. hopefully I'd need some help from developers.
I'm not native to english, sorry for horrible language.
no, ngram_model includes logmath.h. Please make sure that it's "includes" not
"depends"
Roadmap is available on the wiki
I really hope to see your documentation too.