Tagged: WavFile
- This topic has 5 replies, 2 voices, and was last updated 7 years ago by Halle Winkler.
-
AuthorPosts
-
April 1, 2017 at 1:57 am #1031716kmlong1183Participant
I am interested in recording wav file with AVAudioRecorder and then doing recognition on it with the runRecognitionOnWavFile method. If I record the wav file and save it to the Documents folder or the Temp folder, OE can’t do recognition on it – it returns a null hypothesis. If I take that same file and put it in the bundle and rebuild the app, OE can do recognition on it just fine.
Thoughts on what the issue may be?
Thanks in advance!
April 1, 2017 at 8:35 am #1031717Halle WinklerPolitepixWelcome,
This is very likely to be a path issue. Make sure you turn on logging to see the errors OpenEars is giving you so you can troubleshoot or share them with me; here is a post about logging and related: https://www.politepix.com/forums/topic/install-issues-and-their-solutions/
April 3, 2017 at 7:34 pm #1031721kmlong1183ParticipantHalle,
See the output below. I’m guessing it’s a path issue too, but not sure how to resolve it. Obviously the path to the bundle and the path to the documents folder are in different places.
[spoiler]
INFO: cmd_ln.c(703): Parsing command line:
\
-jsgf /var/mobile/Containers/Data/Application/89CFD6B0-51F7-4BD6-B033-9C2FF9BE85F9/Library/Caches/READBACK.gram \
-vad_prespeech 10 \
-vad_postspeech 69 \
-vad_threshold 2.000000 \
-remove_noise yes \
-remove_silence yes \
-bestpath yes \
-lw 1.000000 \
-dict /var/mobile/Containers/Data/Application/89CFD6B0-51F7-4BD6-B033-9C2FF9BE85F9/Library/Caches/READBACK.dic \
-hmm /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundleCurrent configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-allphone
-allphone_ci no no
-alpha 0.97 9.700000e-01
-argfile
-ascale 20.0 2.000000e+01
-aw 1 1
-backtrace no no
-beam 1e-48 1.000000e-48
-bestpath yes yes
-bestpathlw 9.5 9.500000e+00
-ceplen 13 13
-cmn current current
-cmninit 8.0 8.0
-compallsen no no
-debug 0
-dict /var/mobile/Containers/Data/Application/89CFD6B0-51F7-4BD6-B033-9C2FF9BE85F9/Library/Caches/READBACK.dic
-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-08
-frate 100 100
-fsg
-fsgusealtpron yes yes
-fsgusefiller yes yes
-fwdflat yes yes
-fwdflatbeam 1e-64 1.000000e-64
-fwdflatefwid 4 4
-fwdflatlw 8.5 8.500000e+00
-fwdflatsfwin 25 25
-fwdflatwbeam 7e-29 7.000000e-29
-fwdtree yes yes
-hmm /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle
-input_endian little little
-jsgf /var/mobile/Containers/Data/Application/89CFD6B0-51F7-4BD6-B033-9C2FF9BE85F9/Library/Caches/READBACK.gram
-keyphrase
-kws
-kws_delay 10 10
-kws_plp 1e-1 1.000000e-01
-kws_threshold 1 1.000000e+00
-latsize 5000 5000
-lda
-ldadim 0 0
-lifter 0 0
-lm
-lmctl
-lmname
-logbase 1.0001 1.000100e+00
-logfn
-logspec no no
-lowerf 133.33334 1.333333e+02
-lpbeam 1e-40 1.000000e-40
-lponlybeam 7e-29 7.000000e-29
-lw 6.5 1.000000e+00
-maxhmmpf 30000 30000
-maxwpf -1 -1
-mdef
-mean
-mfclogdir
-min_endfr 0 0
-mixw
-mixwfloor 0.0000001 1.000000e-07
-mllr
-mmap yes yes
-ncep 13 13
-nfft 512 512
-nfilt 40 40
-nwpen 1.0 1.000000e+00
-pbeam 1e-48 1.000000e-48
-pip 1.0 1.000000e+00
-pl_beam 1e-10 1.000000e-10
-pl_pbeam 1e-10 1.000000e-10
-pl_pip 1.0 1.000000e+00
-pl_weight 3.0 3.000000e+00
-pl_window 5 5
-rawlogdir
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-samprate 16000 1.600000e+04
-seed -1 -1
-sendump
-senlogdir
-senmgau
-silprob 0.005 5.000000e-03
-smoothspec no no
-svspec
-tmat
-tmatfloor 0.0001 1.000000e-04
-topn 4 4
-topn_beam 0 0
-toprule
-transform legacy legacy
-unit_area yes yes
-upperf 6855.4976 6.855498e+03
-uw 1.0 1.000000e+00
-vad_postspeech 50 69
-vad_prespeech 20 10
-vad_startspeech 10 10
-vad_threshold 2.0 2.000000e+00
-var
-varfloor 0.0001 1.000000e-04
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 7e-29 7.000000e-29
-wip 0.65 6.500000e-01
-wlen 0.025625 2.562500e-02INFO: cmd_ln.c(703): Parsing command line:
\
-nfilt 25 \
-lowerf 130 \
-upperf 6800 \
-feat 1s_c_d_dd \
-svspec 0-12/13-25/26-38 \
-agc none \
-cmn current \
-varnorm no \
-transform dct \
-lifter 22 \
-cmninit 40Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-alpha 0.97 9.700000e-01
-ceplen 13 13
-cmn current current
-cmninit 8.0 40
-dither no no
-doublebw no no
-feat 1s_c_d_dd 1s_c_d_dd
-frate 100 100
-input_endian little little
-lda
-ldadim 0 0
-lifter 0 22
-logspec no no
-lowerf 133.33334 1.300000e+02
-ncep 13 13
-nfft 512 512
-nfilt 40 25
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-samprate 16000 1.600000e+04
-seed -1 -1
-smoothspec no no
-svspec 0-12/13-25/26-38
-transform legacy dct
-unit_area yes yes
-upperf 6855.4976 6.800000e+03
-vad_postspeech 50 69
-vad_prespeech 20 10
-vad_startspeech 10 10
-vad_threshold 2.0 2.000000e+00
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wlen 0.025625 2.562500e-02INFO: acmod.c(252): Parsed model-specific feature parameters from /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/feat.params
INFO: feat.c(715): Initializing feature stream to type: ‘1s_c_d_dd’, ceplen=13, CMN=’current’, VARNORM=’no’, AGC=’none’
INFO: cmn.c(143): mean[0]= 12.00, mean[1..12]= 0.0
INFO: acmod.c(171): Using subvector specification 0-12/13-25/26-38
INFO: mdef.c(518): Reading model definition: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/mdef
INFO: mdef.c(531): Found byte-order mark BMDF, assuming this is a binary mdef file
INFO: bin_mdef.c(336): Reading binary model definition: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/mdef
INFO: bin_mdef.c(516): 46 CI-phone, 168344 CD-phone, 3 emitstate/phone, 138 CI-sen, 6138 Sen, 32881 Sen-Seq
INFO: tmat.c(206): Reading HMM transition probability matrices: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/transition_matrices
INFO: acmod.c(124): Attempting to use PTM computation module
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/means
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/variances
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(354): 0 variance values floored
INFO: ptm_mgau.c(805): Number of codebooks doesn’t match number of ciphones, doesn’t look like PTM: 1 != 46
INFO: acmod.c(126): Attempting to use semi-continuous computation module
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/means
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/variances
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(354): 0 variance values floored
INFO: s2_semi_mgau.c(904): Loading senones from dump file /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/sendump
INFO: s2_semi_mgau.c(928): BEGIN FILE FORMAT DESCRIPTION
INFO: s2_semi_mgau.c(991): Rows: 512, Columns: 6138
INFO: s2_semi_mgau.c(1023): Using memory-mapped I/O for senones
INFO: s2_semi_mgau.c(1294): Maximum top-N: 4 Top-N beams: 0 0 0
INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
INFO: dict.c(320): Allocating 4106 * 32 bytes (128 KiB) for word entries
INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/89CFD6B0-51F7-4BD6-B033-9C2FF9BE85F9/Library/Caches/READBACK.dic
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(336): 1 words read
INFO: dict.c(358): Reading filler dictionary: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/noisedict
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(361): 9 words read
INFO: dict2pid.c(396): Building PID tables for dictionary
INFO: dict2pid.c(406): Allocating 46^3 * 2 bytes (190 KiB) for word-initial triphones
INFO: dict2pid.c(132): Allocated 51152 bytes (49 KiB) for word-final triphones
INFO: dict2pid.c(196): Allocated 51152 bytes (49 KiB) for single-phone word triphones
INFO: jsgf.c(691): Defined rule: <READBACK.g00000>
INFO: jsgf.c(691): Defined rule: PUBLIC <READBACK.rule_0>
INFO: fsg_model.c(215): Computing transitive closure for null transitions
INFO: fsg_model.c(277): 0 null transitions added
INFO: fsg_search.c(227): FSG(beam: -1080, pbeam: -1080, wbeam: -634; wip: -5, pip: 0)
INFO: fsg_model.c(428): Adding silence transitions for <sil> to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_model.c(428): Adding silence transitions for <sil> to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_model.c(428): Adding silence transitions for [BREATH] to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_model.c(428): Adding silence transitions for [COUGH] to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_model.c(428): Adding silence transitions for [NOISE] to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_model.c(428): Adding silence transitions for [SMACK] to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_model.c(428): Adding silence transitions for [UH] to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_search.c(173): Added 0 alternate word transitions
INFO: fsg_lextree.c(110): Allocated 188 bytes (0 KiB) for left and right context phones
INFO: fsg_lextree.c(256): 18 HMM nodes in lextree (13 leaves)
INFO: fsg_lextree.c(259): Allocated 2592 bytes (2 KiB) for all lextree nodes
INFO: fsg_lextree.c(262): Allocated 1872 bytes (1 KiB) for lextree leafnodes
INFO: fsg_search.c(843): 0 frames, 0 HMMs (0/fr), 0 senones (0/fr), 1 history entries (0/fr)2017-04-03 13:30:19.314536 <APP NAME>[1069:462875] Pocketsphinx heard “” with a score of (0) and an utterance ID of 5.
2017-04-03 13:30:19.314659 <APP NAME>[1069:462875] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
INFO: cmd_ln.c(703): Parsing command line:
\
-jsgf /var/mobile/Containers/Data/Application/89CFD6B0-51F7-4BD6-B033-9C2FF9BE85F9/Library/Caches/READBACK.gram \
-vad_prespeech 10 \
-vad_postspeech 69 \
-vad_threshold 2.000000 \
-remove_noise yes \
-remove_silence yes \
-bestpath yes \
-lw 1.000000 \
-dict /var/mobile/Containers/Data/Application/89CFD6B0-51F7-4BD6-B033-9C2FF9BE85F9/Library/Caches/READBACK.dic \
-hmm /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundleCurrent configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-allphone
-allphone_ci no no
-alpha 0.97 9.700000e-01
-argfile
-ascale 20.0 2.000000e+01
-aw 1 1
-backtrace no no
-beam 1e-48 1.000000e-48
-bestpath yes yes
-bestpathlw 9.5 9.500000e+00
-ceplen 13 13
-cmn current current
-cmninit 8.0 8.0
-compallsen no no
-debug 0
-dict /var/mobile/Containers/Data/Application/89CFD6B0-51F7-4BD6-B033-9C2FF9BE85F9/Library/Caches/READBACK.dic
-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-08
-frate 100 100
-fsg
-fsgusealtpron yes yes
-fsgusefiller yes yes
-fwdflat yes yes
-fwdflatbeam 1e-64 1.000000e-64
-fwdflatefwid 4 4
-fwdflatlw 8.5 8.500000e+00
-fwdflatsfwin 25 25
-fwdflatwbeam 7e-29 7.000000e-29
-fwdtree yes yes
-hmm /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle
-input_endian little little
-jsgf /var/mobile/Containers/Data/Application/89CFD6B0-51F7-4BD6-B033-9C2FF9BE85F9/Library/Caches/READBACK.gram
-keyphrase
-kws
-kws_delay 10 10
-kws_plp 1e-1 1.000000e-01
-kws_threshold 1 1.000000e+00
-latsize 5000 5000
-lda
-ldadim 0 0
-lifter 0 0
-lm
-lmctl
-lmname
-logbase 1.0001 1.000100e+00
-logfn
-logspec no no
-lowerf 133.33334 1.333333e+02
-lpbeam 1e-40 1.000000e-40
-lponlybeam 7e-29 7.000000e-29
-lw 6.5 1.000000e+00
-maxhmmpf 30000 30000
-maxwpf -1 -1
-mdef
-mean
-mfclogdir
-min_endfr 0 0
-mixw
-mixwfloor 0.0000001 1.000000e-07
-mllr
-mmap yes yes
-ncep 13 13
-nfft 512 512
-nfilt 40 40
-nwpen 1.0 1.000000e+00
-pbeam 1e-48 1.000000e-48
-pip 1.0 1.000000e+00
-pl_beam 1e-10 1.000000e-10
-pl_pbeam 1e-10 1.000000e-10
-pl_pip 1.0 1.000000e+00
-pl_weight 3.0 3.000000e+00
-pl_window 5 5
-rawlogdir
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-samprate 16000 1.600000e+04
-seed -1 -1
-sendump
-senlogdir
-senmgau
-silprob 0.005 5.000000e-03
-smoothspec no no
-svspec
-tmat
-tmatfloor 0.0001 1.000000e-04
-topn 4 4
-topn_beam 0 0
-toprule
-transform legacy legacy
-unit_area yes yes
-upperf 6855.4976 6.855498e+03
-uw 1.0 1.000000e+00
-vad_postspeech 50 69
-vad_prespeech 20 10
-vad_startspeech 10 10
-vad_threshold 2.0 2.000000e+00
-var
-varfloor 0.0001 1.000000e-04
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 7e-29 7.000000e-29
-wip 0.65 6.500000e-01
-wlen 0.025625 2.562500e-02INFO: cmd_ln.c(703): Parsing command line:
\
-nfilt 25 \
-lowerf 130 \
-upperf 6800 \
-feat 1s_c_d_dd \
-svspec 0-12/13-25/26-38 \
-agc none \
-cmn current \
-varnorm no \
-transform dct \
-lifter 22 \
-cmninit 40Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-alpha 0.97 9.700000e-01
-ceplen 13 13
-cmn current current
-cmninit 8.0 40
-dither no no
-doublebw no no
-feat 1s_c_d_dd 1s_c_d_dd
-frate 100 100
-input_endian little little
-lda
-ldadim 0 0
-lifter 0 22
-logspec no no
-lowerf 133.33334 1.300000e+02
-ncep 13 13
-nfft 512 512
-nfilt 40 25
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-samprate 16000 1.600000e+04
-seed -1 -1
-smoothspec no no
-svspec 0-12/13-25/26-38
-transform legacy dct
-unit_area yes yes
-upperf 6855.4976 6.800000e+03
-vad_postspeech 50 69
-vad_prespeech 20 10
-vad_startspeech 10 10
-vad_threshold 2.0 2.000000e+00
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wlen 0.025625 2.562500e-02INFO: acmod.c(252): Parsed model-specific feature parameters from /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/feat.params
INFO: feat.c(715): Initializing feature stream to type: ‘1s_c_d_dd’, ceplen=13, CMN=’current’, VARNORM=’no’, AGC=’none’
INFO: cmn.c(143): mean[0]= 12.00, mean[1..12]= 0.0
INFO: acmod.c(171): Using subvector specification 0-12/13-25/26-38
INFO: mdef.c(518): Reading model definition: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/mdef
INFO: mdef.c(531): Found byte-order mark BMDF, assuming this is a binary mdef file
INFO: bin_mdef.c(336): Reading binary model definition: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/mdef
INFO: bin_mdef.c(516): 46 CI-phone, 168344 CD-phone, 3 emitstate/phone, 138 CI-sen, 6138 Sen, 32881 Sen-Seq
INFO: tmat.c(206): Reading HMM transition probability matrices: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/transition_matrices
INFO: acmod.c(124): Attempting to use PTM computation module
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/means
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/variances
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(354): 0 variance values floored
INFO: ptm_mgau.c(805): Number of codebooks doesn’t match number of ciphones, doesn’t look like PTM: 1 != 46
INFO: acmod.c(126): Attempting to use semi-continuous computation module
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/means
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/variances
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size:
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(294): 512×13
INFO: ms_gauden.c(354): 0 variance values floored
INFO: s2_semi_mgau.c(904): Loading senones from dump file /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/sendump
INFO: s2_semi_mgau.c(928): BEGIN FILE FORMAT DESCRIPTION
INFO: s2_semi_mgau.c(991): Rows: 512, Columns: 6138
INFO: s2_semi_mgau.c(1023): Using memory-mapped I/O for senones
INFO: s2_semi_mgau.c(1294): Maximum top-N: 4 Top-N beams: 0 0 0
INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
INFO: dict.c(320): Allocating 4106 * 32 bytes (128 KiB) for word entries
INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/89CFD6B0-51F7-4BD6-B033-9C2FF9BE85F9/Library/Caches/READBACK.dic
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(336): 1 words read
INFO: dict.c(358): Reading filler dictionary: /var/containers/Bundle/Application/C6E927C6-8178-4430-A05D-EDD25C6F9582/<APP NAME>/AcousticModelEnglish.bundle/noisedict
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(361): 9 words read
INFO: dict2pid.c(396): Building PID tables for dictionary
INFO: dict2pid.c(406): Allocating 46^3 * 2 bytes (190 KiB) for word-initial triphones
INFO: dict2pid.c(132): Allocated 51152 bytes (49 KiB) for word-final triphones
INFO: dict2pid.c(196): Allocated 51152 bytes (49 KiB) for single-phone word triphones
INFO: jsgf.c(691): Defined rule: <READBACK.g00000>
INFO: jsgf.c(691): Defined rule: PUBLIC <READBACK.rule_0>
INFO: fsg_model.c(215): Computing transitive closure for null transitions
INFO: fsg_model.c(277): 0 null transitions added
INFO: fsg_search.c(227): FSG(beam: -1080, pbeam: -1080, wbeam: -634; wip: -5, pip: 0)
INFO: fsg_model.c(428): Adding silence transitions for <sil> to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_model.c(428): Adding silence transitions for <sil> to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_model.c(428): Adding silence transitions for [BREATH] to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_model.c(428): Adding silence transitions for [COUGH] to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_model.c(428): Adding silence transitions for [NOISE] to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_model.c(428): Adding silence transitions for [SMACK] to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_model.c(428): Adding silence transitions for [UH] to FSG
INFO: fsg_model.c(448): Added 2 silence word transitions
INFO: fsg_search.c(173): Added 0 alternate word transitions
INFO: fsg_lextree.c(110): Allocated 188 bytes (0 KiB) for left and right context phones
INFO: fsg_lextree.c(256): 18 HMM nodes in lextree (13 leaves)
INFO: fsg_lextree.c(259): Allocated 2592 bytes (2 KiB) for all lextree nodes
INFO: fsg_lextree.c(262): Allocated 1872 bytes (1 KiB) for lextree leafnodes
INFO: cmn_prior.c(131): cmn_prior_update: from < 40.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 >
INFO: cmn_prior.c(149): cmn_prior_update: to < 27.23 -18.19 -8.47 -2.18 -3.10 -7.49 -14.06 -1.38 -4.07 -7.71 -0.31 -3.02 -6.64 >
INFO: fsg_search.c(843): 142 frames, 921 HMMs (6/fr), 3833 senones (26/fr), 131 history entries (0/fr)2017-04-03 13:31:10.797693 <APP NAME>[1069:462875] Pocketsphinx heard “TESTING” with a score of (0) and an utterance ID of 6.[/spoiler]
- This reply was modified 7 years ago by Halle Winkler. Reason: spoiler tags on logs
April 3, 2017 at 7:51 pm #1031723kmlong1183ParticipantHalle,
Problem resolved. It seems the path issue was that I was taking the absoluteString from the AVAudioRecord.url (prefixed with a file://) and not path (not prefixed).
Using .path instead of .absoluteString resolved the issue.
April 3, 2017 at 7:51 pm #1031724Halle WinklerPolitepixHi,
That is the verbosePocketsphinx logging, but the more important logging output you need is the OELogging output – turning it on is also covered in the post linked earlier.
April 3, 2017 at 7:52 pm #1031725Halle WinklerPolitepixGreat to hear – for future troubleshooting, make sure to turn on OELogging since it will give you output that will make it easier to discover that kind of issue.
-
AuthorPosts
- The topic ‘Recognition for WAV file not in Bundle’ is closed to new replies.