Adding the existing model directory to my iPhone project

9 views
Skip to first unread message

Larry

unread,
Oct 5, 2010, 4:13:21 PM10/5/10
to VocalKit
Hello,
I have been trying to add VocalKit to an existing iPhone project.
When I copy the model folder into my project,
the compilation crashes with the 'lex' command being run against
0407.lm. I looked at the compilation of the
VocalKitTest project and it doesn't do that. Also, the folder in that
project is in blue while mine is beige colored.
Is there some way I can set an option to ignore the model folder
during compilation, if that is what I need to do?

Thanks for the help.

Larry

Larry

unread,
Oct 6, 2010, 4:14:13 PM10/6/10
to VocalKit
Well, I have added VocalKit to my own project and am trying to get it
to work. Unfortunately, I get the following error, when I press the
stop listening
button and the application tries to recognize what was said:

INFO: feat.c(848): Initializing feature stream to type: '1s_c_d_dd',
ceplen=13, CMN='current', VARNORM='no', AGC='none'
INFO: cmn.c(142): mean[0]= 12.00, mean[1..12]= 0.0
ERROR: "acmod.c", line 83: Must specify -mdef or -hmm
Program received signal: “EXC_BAD_ACCESS”.
Xcode could not locate source file: pocketsphinx.c (line: 508)


Any ideas what I am doing wrong? Someone else said that this was due
to a
build configuration problem but I don't know about that.

By the way, I am trying to get this working on OS 4.1, with XCode SDK
3.2.4.

Thanks for the help.

Regards,

Larry
Reply all
Reply to author
Forward
0 new messages