hey.. i compiled sphinxbase and pocketsphinx on VS2008 and compiled, build
successfully. however, when i try to compile pocketsphinx_continuous, it
compiled and produced the .exe but when i try to run it, it just exit. What
could be wrong? debug log said that tha native program exit with code 1
tahnks for the reply admin :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i finally compiled, built all the project files in pocketsphinx0.6 as well as
sphinxbase0.6.
however, when i try to run pocketsphinx_continuous.exe on command prompt (i'm
using windows xp), i got this errors...
Microsoft Windows XP
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\PC22>cd desktop
C:\Documents and Settings\PC22\Desktop>cd pc
C:\Documents and Settings\PC22\Desktop\pc>cd pocketsphinx
C:\Documents and Settings\PC22\Desktop\pc\pocketsphinx>pocketsphinx_continuous
INFO: cmd_ln.c(512): Parsing command line:
pocketsphinx_continuous
Current configuration:
-adcdev
-agc none none
-agcthresh 2.0 2.000000e+000
-alpha 0.97 9.700000e-001
-argfile
-ascale 20.0 2.000000e+001
-backtrace no no
-beam 1e-48 1.000000e-048
-bestpath yes yes
-bestpathlw 9.5 9.500000e+000
-bghist no no
-ceplen 13 13
-cmn current current
-cmninit 8.0 8.0
-compallsen no no
-debug 0
-dict
-dictcase no no
-dither no no
-doublebw no no
-ds 1 1
-fdict
-feat 1s_c_d_dd 1s_c_d_dd
-featparams
-fillprob 1e-8 1.000000e-008
-frate 100 100
-fsg
-fsgusealtpron yes yes
-fsgusefiller yes yes
-fwdflat yes yes
-fwdflatbeam 1e-64 1.000000e-064
-fwdflatefwid 4 4
-fwdflatlw 8.5 8.500000e+000
-fwdflatsfwin 25 25
-fwdflatwbeam 7e-29 7.000000e-029
-fwdtree yes yes
-hmm
-input_endian little little
-jsgf
-kdmaxbbi -1 -1
-kdmaxdepth 0 0
-kdtree
-latsize 5000 5000
-lda
-ldadim 0 0
-lextreedump 0 0
-lifter 0 0
-lm
-lmctl
-lmname default default
-logbase 1.0001 1.000100e+000
-logfn
-logspec no no
-lowerf 133.33334 1.333333e+002
-lpbeam 1e-40 1.000000e-040
-lponlybeam 7e-29 7.000000e-029
-lw 6.5 6.500000e+000
-maxhmmpf -1 -1
-maxnewoov 20 20
-maxwpf -1 -1
-mdef
-mean
-mfclogdir
-mixw
-mixwfloor 0.0000001 1.000000e-007
-mllr
-mmap yes yes
-ncep 13 13
-nfft 512 512
-nfilt 40 40
-nwpen 1.0 1.000000e+000
-pbeam 1e-48 1.000000e-048
-pip 1.0 1.000000e+000
-pl_beam 1e-10 1.000000e-010
-pl_pbeam 1e-5 1.000000e-005
-pl_window 0 0
-rawlogdir
-remove_dc no no
-round_filters yes yes
-samprate 16000 1.600000e+004
-seed -1 -1
-sendump
-senmgau
-silprob 0.005 5.000000e-003
-smoothspec no no
-svspec
-tmat
-tmatfloor 0.0001 1.000000e-004
-topn 4 4
-topn_beam 0 0
-toprule
-transform legacy legacy
-unit_area yes yes
-upperf 6855.4976 6.855498e+003
-usewdphones no no
-uw 1.0 1.000000e+000
-var
-varfloor 0.0001 1.000000e-004
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 7e-29 7.000000e-029
-wip 0.65 6.500000e-001
-wlen 0.025625 2.562500e-002
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= 12.00, mean= 0.0
ERROR: "acmod.c", line 84: Must specify -mdef or -hmm
can you help me out? thanks for the reply admin :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
C:\Documents and
Settings\borbi\Desktop\tug\pocketsphinx\bin\Debug>pocketsphinx_
continuous -hmm
ERROR: "cmd_ln.c", line 724: Cannot open configuration file hmm for reading
C:\Documents and
Settings\borbi\Desktop\tug\pocketsphinx\bin\Debug>pocketsphinx_
continuous -hmm
ERROR: "cmd_ln.c", line 724: Cannot open configuration file -hmm for reading
-- what is the correct way of specifying hmm?
Please help..
-- thanks for the reply admin nshmyrev :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Option "-hmm" takes model folder as an argument. It points the decoder where
to search for the acoustic model. Some other important options are "-lm" to
point to the language model and "-dict" to point to the dictionary.
i want to build, run pocketsphinx on pocketpc, specifically on windows mobile
2003 2nd edition.
is that possible?
thanks for the reply admin :)
Yes, it's possible. You just need to choose appropriate configuration of
solution in Visual Studio.
Yes, it's possible. You just need to choose appropriate configuration of
solution in Visual Studio.
after that, what's next? compile sphinxbase and pocketsphinx like in the
README file?
thanks for the reply admin.. :)
Yes, you need to compile dlls, then you need to write your application using
them
can i use the dll's that you uploaded to sourceforge.net? the one with the
windows binary version?
thanks for the reply admin :)
hey.. i compiled sphinxbase and pocketsphinx on VS2008 and compiled, build
successfully. however, when i try to compile pocketsphinx_continuous, it
compiled and produced the .exe but when i try to run it, it just exit. What
could be wrong? debug log said that tha native program exit with code 1
tahnks for the reply admin :)
No, they are for Win32, not for WinCE
It fails to find sphinxbase.dll it seems
how can i produce the dll's for WINCE version? i have downloaded eVC++, eVC++
sp3 and pocketpc 2003 sdk
thaks for your reply admin
what am i going to do?
thanks for your help admin :)
i finally compiled, built all the project files in pocketsphinx0.6 as well as
sphinxbase0.6.
however, when i try to run pocketsphinx_continuous.exe on command prompt (i'm
using windows xp), i got this errors...
Microsoft Windows XP
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\PC22>cd desktop
C:\Documents and Settings\PC22\Desktop>cd pc
C:\Documents and Settings\PC22\Desktop\pc>cd pocketsphinx
C:\Documents and Settings\PC22\Desktop\pc\pocketsphinx>pocketsphinx_continuous
INFO: cmd_ln.c(512): Parsing command line:
pocketsphinx_continuous
Current configuration:
-adcdev
-agc none none
-agcthresh 2.0 2.000000e+000
-alpha 0.97 9.700000e-001
-argfile
-ascale 20.0 2.000000e+001
-backtrace no no
-beam 1e-48 1.000000e-048
-bestpath yes yes
-bestpathlw 9.5 9.500000e+000
-bghist no no
-ceplen 13 13
-cmn current current
-cmninit 8.0 8.0
-compallsen no no
-debug 0
-dict
-dictcase no no
-dither no no
-doublebw no no
-ds 1 1
-fdict
-feat 1s_c_d_dd 1s_c_d_dd
-featparams
-fillprob 1e-8 1.000000e-008
-frate 100 100
-fsg
-fsgusealtpron yes yes
-fsgusefiller yes yes
-fwdflat yes yes
-fwdflatbeam 1e-64 1.000000e-064
-fwdflatefwid 4 4
-fwdflatlw 8.5 8.500000e+000
-fwdflatsfwin 25 25
-fwdflatwbeam 7e-29 7.000000e-029
-fwdtree yes yes
-hmm
-input_endian little little
-jsgf
-kdmaxbbi -1 -1
-kdmaxdepth 0 0
-kdtree
-latsize 5000 5000
-lda
-ldadim 0 0
-lextreedump 0 0
-lifter 0 0
-lm
-lmctl
-lmname default default
-logbase 1.0001 1.000100e+000
-logfn
-logspec no no
-lowerf 133.33334 1.333333e+002
-lpbeam 1e-40 1.000000e-040
-lponlybeam 7e-29 7.000000e-029
-lw 6.5 6.500000e+000
-maxhmmpf -1 -1
-maxnewoov 20 20
-maxwpf -1 -1
-mdef
-mean
-mfclogdir
-mixw
-mixwfloor 0.0000001 1.000000e-007
-mllr
-mmap yes yes
-ncep 13 13
-nfft 512 512
-nfilt 40 40
-nwpen 1.0 1.000000e+000
-pbeam 1e-48 1.000000e-048
-pip 1.0 1.000000e+000
-pl_beam 1e-10 1.000000e-010
-pl_pbeam 1e-5 1.000000e-005
-pl_window 0 0
-rawlogdir
-remove_dc no no
-round_filters yes yes
-samprate 16000 1.600000e+004
-seed -1 -1
-sendump
-senmgau
-silprob 0.005 5.000000e-003
-smoothspec no no
-svspec
-tmat
-tmatfloor 0.0001 1.000000e-004
-topn 4 4
-topn_beam 0 0
-toprule
-transform legacy legacy
-unit_area yes yes
-upperf 6855.4976 6.855498e+003
-usewdphones no no
-uw 1.0 1.000000e+000
-var
-varfloor 0.0001 1.000000e-004
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 7e-29 7.000000e-029
-wip 0.65 6.500000e-001
-wlen 0.025625 2.562500e-002
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= 12.00, mean= 0.0
ERROR: "acmod.c", line 84: Must specify -mdef or -hmm
can you help me out? thanks for the reply admin :)
It tells you what to do
i tired this and returned an error
C:\Documents and
Settings\borbi\Desktop\tug\pocketsphinx\bin\Debug>pocketsphinx_
continuous -hmm
ERROR: "cmd_ln.c", line 724: Cannot open configuration file hmm for reading
C:\Documents and
Settings\borbi\Desktop\tug\pocketsphinx\bin\Debug>pocketsphinx_
continuous -hmm
ERROR: "cmd_ln.c", line 724: Cannot open configuration file -hmm for reading
-- what is the correct way of specifying hmm?
Please help..
-- thanks for the reply admin nshmyrev :)
Option "-hmm" takes model folder as an argument. It points the decoder where
to search for the acoustic model. Some other important options are "-lm" to
point to the language model and "-dict" to point to the dictionary.
The command line must be
i see.. i'll try it.. thanks admin nshmyrev :)
I get the same error message under Windows Vista and compiled with Visual
Studio 2008.
Sorry, didn't see this entire thread on the solution. Trying the solution now.
Thanks!