I am new to linux and sphinx, I am using nightly versions of sphinxbase, sphinxtrain and sphinx3
while exxecuting the sphinx3 decoder i get the following error, can anyone direct me towards a solution, is it a problem with installation?
Thank you
"ERROR: "cmd_ln.c", line 787: Cannot open configuration file /home/Downloads/tutorial/sphinx3/model/hmm/hub4_cd_continu...8gau_1s_c_d_dd/feat.params for reading"
Yes, I read Sphinx-3 is CMU’s large vocabulary speech recognition system most accurate decoder for the large vocabulary tasks so I used sphinx-3. I am also using pocketsphinx but I don't seem to find the problem here, it could not read the featparam in sphinxbase. Is it a problem with the version? Appreciate your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I am new to linux and sphinx, I am using nightly versions of sphinxbase, sphinxtrain and sphinx3
while exxecuting the sphinx3 decoder i get the following error, can anyone direct me towards a solution, is it a problem with installation?
Thank you
"ERROR: "cmd_ln.c", line 787: Cannot open configuration file /home/Downloads/tutorial/sphinx3/model/hmm/hub4_cd_continu...8gau_1s_c_d_dd/feat.params for reading"
This is the command line:-
sphinx3_decode -adcin yes -cepdir . -cepext .wav -ctl ./temp/$mp3name/audio.listoffiles -hmm $SPHINX3_MODEL_PATH -lm model/$DICTNAME.lm.DMP -dict model/$DICTNAME.dic -fdict model/noisedict -subvqbeam -pbeam -hyp ./temp/$mp3Name.hyp -hypseg ./temp/$mp3Name.hypseg
Executed command line:-
INFO: info.c(65): Host: 'santhiya-virtual-machine'
INFO: info.c(69): Directory: '/home/santhiya/Downloads/tutorial/speech_generic'
INFO: info.c(73): sphinx3_decode Compiled on: Dec 22 2013, AT: 15:13:45
INFO: cmd_ln.c(691): Parsing command line:
sphinx3_decode \
-adcin yes \
-cepdir . \
-cepext .wav \
-ctl ./temp//audio.listoffiles \
-hmm /home/Downloads/tutorial/sphinx3/model/hmm/hub4_cd_continu...8gau_1s_c_d_dd \
-lm model/AudioKeyWords.lm.DMP \
-dict model/AudioKeyWords.dic \
-fdict model/noisedict \
-subvqbeam \
-pbeam \
-hyp ./temp/.hyp \
-hypseg ./temp/.hypseg
Current configuration:
[NAME] [DEFLT] [VALUE]
-adchdr 0 0
-adcin no yes
-agc none none
-agcthresh 2.0 2.000000e+00
-alpha 0.97 9.700000e-01
-backtrace yes yes
-beam 1.0e-55 1.000000e-55
-bestpath no no
-bestpathlw 0.000000e+00
-bestscoredir
-bestsenscrdir
-bghist no no
-bptbldir
-bptblsize 32768 32768
-cb2mllr .1cls. .1cls.
-cepdir .
-cepext .mfc .wav
-ceplen 13 13
-ci_pbeam 1e-80 1.000000e-80
-cmn current current
-cmninit 8.0 8.0
-cond_ds no no
-ctl ./temp//audio.listoffiles
-ctlcount 1000000000 1000000000
-ctloffset 0 0
-ctl_lm
-ctl_mllr
-dagfudge 2 2
-dict model/AudioKeyWords.dic
-dist_ds no no
-dither no no
-doublebw no no
-ds 1 1
-epl 3 3
-fdict model/noisedict
-feat 1s_c_d_dd 1s_c_d_dd
-featparams
-fillpen
-fillprob 0.1 1.000000e-01
-frate 100 100
-fsg
-fsgusealtpron yes yes
-fsgusefiller yes yes
-gs
-gs4gs yes yes
-hmm /home/Downloads/tutorial/sphinx3/model/hmm/hub4_cd_continu...8gau_1s_c_d_dd
-hmmdump no no
-hmmdumpef 200000000 200000000
-hmmdumpsf 200000000 200000000
-hmmhistbinsize 5000 5000
-hyp ./temp/.hyp
-hypseg ./temp/.hypseg
-hypsegscore_unscale yes yes
-inlatdir
-inlatwin 50 50
-input_endian little little
-kdmaxbbi -1 -1
-kdmaxdepth 0 0
-kdtree
-latcompress yes yes
-latext lat.gz lat.gz
-lda
-ldadim 0 0
-lextreedump 0 0
-lifter 0 0
-lm model/AudioKeyWords.lm.DMP
-lmctlfn
-lmdumpdir
-lmname
-log3table yes yes
-logbase 1.0003 1.000300e+00
-logfn
-logspec no no
-lowerf 133.33334 1.333333e+02
-lts_mismatch no no
-lw 9.5 9.500000e+00
-maxcdsenpf 100000 100000
-maxedge 2000000 2000000
-maxhistpf 100 100
-maxhmmpf 20000 20000
-maxlmop 100000000 100000000
-maxlpf 40000 40000
-maxppath 1000000 1000000
-maxwpf 20 20
-mdef
-mean
-min_endfr 3 3
-mixw
-mixwfloor 0.0000001 1.000000e-07
-mllr
-mode fwdtree fwdtree
-nbest 200 200
-nbestdir
-nbestext nbest.gz nbest.gz
-ncep 13 13
-nfft 512 512
-nfilt 40 40
-Nlextree 3 3
-Nstalextree 25 25
-op_mode -1 -1
-outlatdir
-outlatfmt s3 s3
-pbeam 1.0e-50 1.000000e-50
-pheurtype 0 0
-phonepen 1.0 1.000000e+00
-phsegdir
-pl_beam 1.0e-80 1.000000e-80
-pl_window 1 1
-ppathdebug no no
-ptranskip 0 0
-remove_dc no no
-round_filters yes yes
-samprate 16000 1.600000e+04
-seed -1 -1
-senmgau .cont. .cont.
-silprob 0.1 1.000000e-01
-smoothspec no no
-subvq
-subvqbeam 3.0e-3 0.000000e+00
-svq4svq no no
-svspec
-tighten_factor 0.5 5.000000e-01
-tmat
-tmatfloor 0.0001 1.000000e-04
-topn 4 4
-tracewhmm
-transform legacy legacy
-treeugprob yes yes
-unit_area yes yes
-upperf 6855.4976 6.855498e+03
-utt
-uw 0.7 7.000000e-01
-var
-varfloor 0.0001 1.000000e-04
-varnorm no no
-verbose no no
-vqeval 3 3
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 1.0e-35 1.000000e-35
-wend_beam 1.0e-80 1.000000e-80
-wip 0.7 7.000000e-01
-wlen 0.025625 2.562500e-02
-worddumpef 200000000 200000000
-worddumpsf 200000000 200000000
INFO: kbcore.c(439): Begin Initialization of Core Models:
ERROR: "cmd_ln.c", line 787: Cannot open configuration file /home/Downloads/tutorial/sphinx3/model/hmm/hub4_cd_continu...8gau_1s_c_d_dd/feat.params for reading
INFO: kbcore.c(459): Parsed model-specific feature parameters from /home/Downloads/tutorial/sphinx3/model/hmm/hub4_cd_continu...8gau_1s_c_d_dd/feat.params
INFO: Initialization of the log add table
INFO: Log-Add table size = 29356 x 2 >> 0
INFO:
INFO: feat.c(713): 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
INFO: kbcore.c(486): .cont.
INFO: Initialization of feat_t, report:
INFO: Feature type = 1s_c_d_dd
INFO: Cepstral size = 13
INFO: Number of streams = 1
INFO: Vector size of stream[0]: 39
INFO: Number of subvectors = 0
INFO: Whether CMN is used = 1
INFO: Whether AGC is used = 0
INFO: Whether variance is normalized = 0
INFO:
INFO: Reading HMM in Sphinx 3 Model format
INFO: Model Definition File: (null)
INFO: Mean File: (null)
INFO: Variance File: (null)
INFO: Mixture Weight File: (null)
INFO: Transition Matrices File: (null)
sphinx3_decode: symbol lookup error: /usr/local/lib/libs3decoder.so.0: undefined symbol: err_msg
Hello Santhiya, is there any special reason why you're trying to use sphinx3? it's quite outdated. Try pocketsphinx instead
Yes, I read Sphinx-3 is CMU’s large vocabulary speech recognition system most accurate decoder for the large vocabulary tasks so I used sphinx-3. I am also using pocketsphinx but I don't seem to find the problem here, it could not read the featparam in sphinxbase. Is it a problem with the version? Appreciate your help.
use pocketsphinx and generic models provided with it
it is suggested to build both sphinxbase and pocketsphinx from sources
are you sure you're using proper path?
For this command line,
sphinx3_decode -adcin yes -cepdir . -cepext .wav -ctl ./temp/$mp3name/audio.listoffiles -hmm $SPHINX3_MODEL_PATH -lm model/$DICTNAME.lm.DMP -dict model/$DICTNAME.dic -fdict model/noisedict -subvqbeam -pbeam -hyp ./temp/$mp3Name.hyp -hypseg ./temp/$mp3Name.hypseg
I spcified this path to read the feat params in this path for decoding, which i am sure it has the feat params
$SPHINX_MODEL_PATH=>/home/Downloads/tutorial/sphinx3/model/hmm/hub4_cd_continu...8gau_1s_c_d_dd
Last edit: Santhiya 2015-05-28
Thank you for your help I extracted the sphinx3 folder to usr/local/share now is working properly it could read the params but i get a new error
sphinx3_decode: symbol lookup error: /usr/local/lib/libs3decoder.so.0: undefined symbol: err_msg
Appreciate your help.
Thank you
Last edit: Santhiya 2015-05-27