Home › Forums › OpenEars plugins › [Resolved] Error in implementing RuleORama › Reply To: [Resolved] Error in implementing RuleORama
Sure thing, here’s the new output:
2014-09-13 16:22:02.291 OpenEarsTest[1289:60b] Starting OpenEars logging for OpenEars version 1.7 on 32-bit device: iPhone running iOS version: 7.100000
2014-09-13 16:22:02.465 OpenEarsTest[1289:60b] The word 10 was not found in the dictionary /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/OpenEarsTest.app/AcousticModelEnglish.bundle/LanguageModelGeneratorLookupList.text/LanguageModelGeneratorLookupList.text.
2014-09-13 16:22:02.467 OpenEarsTest[1289:60b] Now using the fallback method to look up the word 10
2014-09-13 16:22:02.468 OpenEarsTest[1289:60b] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the English phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
2014-09-13 16:22:02.474 OpenEarsTest[1289:60b] Using convertGraphemes for the word or phrase 10 which doesn’t appear in the dictionary
2014-09-13 16:22:02.579 OpenEarsTest[1289:60b] The word 20 was not found in the dictionary /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/OpenEarsTest.app/AcousticModelEnglish.bundle/LanguageModelGeneratorLookupList.text/LanguageModelGeneratorLookupList.text.
2014-09-13 16:22:02.581 OpenEarsTest[1289:60b] Now using the fallback method to look up the word 20
2014-09-13 16:22:02.582 OpenEarsTest[1289:60b] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the English phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
2014-09-13 16:22:02.584 OpenEarsTest[1289:60b] Using convertGraphemes for the word or phrase 20 which doesn’t appear in the dictionary
2014-09-13 16:22:02.678 OpenEarsTest[1289:60b] The word 30 was not found in the dictionary /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/OpenEarsTest.app/AcousticModelEnglish.bundle/LanguageModelGeneratorLookupList.text/LanguageModelGeneratorLookupList.text.
2014-09-13 16:22:02.679 OpenEarsTest[1289:60b] Now using the fallback method to look up the word 30
2014-09-13 16:22:02.681 OpenEarsTest[1289:60b] If this is happening more frequently than you would expect, the most likely cause for it is since you are using the English phonetic lookup dictionary is that your words are not in English or aren’t dictionary words, or that you are submitting the words in lowercase when they need to be entirely written in uppercase.
2014-09-13 16:22:02.682 OpenEarsTest[1289:60b] Using convertGraphemes for the word or phrase 30 which doesn’t appear in the dictionary
2014-09-13 16:22:02.776 OpenEarsTest[1289:60b] I’m done running performDictionaryLookup and it took 0.393348 seconds
2014-09-13 16:22:03.015 OpenEarsTest[1289:60b] Starting dynamic language model generation
2014-09-13 16:22:03.021 OpenEarsTest[1289:60b] Able to open /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/Library/Caches/NameIWantForMyLanguageModelFiles.corpus for reading
2014-09-13 16:22:03.023 OpenEarsTest[1289:60b] Able to open /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/Library/Caches/NameIWantForMyLanguageModelFiles_pipe.txt for writing
2014-09-13 16:22:03.024 OpenEarsTest[1289:60b] Starting text2wfreq_impl
2014-09-13 16:22:03.042 OpenEarsTest[1289:60b] Done with text2wfreq_impl
2014-09-13 16:22:03.043 OpenEarsTest[1289:60b] Able to open /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/Library/Caches/NameIWantForMyLanguageModelFiles_pipe.txt for reading.
2014-09-13 16:22:03.045 OpenEarsTest[1289:60b] Able to open /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/Library/Caches/NameIWantForMyLanguageModelFiles.vocab for reading.
2014-09-13 16:22:03.046 OpenEarsTest[1289:60b] Starting wfreq2vocab
2014-09-13 16:22:03.050 OpenEarsTest[1289:60b] Done with wfreq2vocab
2014-09-13 16:22:03.052 OpenEarsTest[1289:60b] Starting text2idngram
2014-09-13 16:22:03.072 OpenEarsTest[1289:60b] Done with text2idngram
2014-09-13 16:22:03.080 OpenEarsTest[1289:60b] Starting idngram2lm
2014-09-13 16:22:03.097 OpenEarsTest[1289:60b] Done with idngram2lm
2014-09-13 16:22:03.099 OpenEarsTest[1289:60b] Starting sphinx_lm_convert
2014-09-13 16:22:03.106 OpenEarsTest[1289:60b] Finishing sphinx_lm_convert
2014-09-13 16:22:03.112 OpenEarsTest[1289:60b] Done creating language model with CMUCLMTK in 0.096545 seconds.
2014-09-13 16:22:03.128 OpenEarsTest[1289:60b] Generating fast grammar took 0.806542 seconds
2014-09-13 16:22:03.130 OpenEarsTest[1289:60b] Starting sphinx_lm_convert
2014-09-13 16:22:03.135 OpenEarsTest[1289:60b] Finishing sphinx_lm_convert
2014-09-13 16:22:03.138 OpenEarsTest[1289:60b] Accuracy set to 10.
2014-09-13 16:22:03.147 OpenEarsTest[1289:60b] User gave mic permission for this app.
2014-09-13 16:22:03.149 OpenEarsTest[1289:60b] A sample rate was requested that isn’t one of the two supported values of 16000 or 8000 so we will use the default of 16000.
2014-09-13 16:22:03.150 OpenEarsTest[1289:60b] The audio session has never been initialized so we will do that now.
2014-09-13 16:22:03.151 OpenEarsTest[1289:60b] Checking and resetting all audio session settings.
2014-09-13 16:22:03.153 OpenEarsTest[1289:60b] audioCategory is incorrect, we will change it.
2014-09-13 16:22:03.154 OpenEarsTest[1289:60b] audioCategory is now on the correct setting of kAudioSessionCategory_PlayAndRecord.
2014-09-13 16:22:03.155 OpenEarsTest[1289:60b] bluetoothInput is incorrect, we will change it.
2014-09-13 16:22:03.156 OpenEarsTest[1289:60b] bluetooth input is now on the correct setting of 1.
2014-09-13 16:22:03.158 OpenEarsTest[1289:60b] Output Device: ReceiverAndMicrophone.
2014-09-13 16:22:03.160 OpenEarsTest[1289:60b] categoryDefaultToSpeaker is incorrect, we will change it.
2014-09-13 16:22:03.161 OpenEarsTest[1289:60b] CategoryDefaultToSpeaker is now on the correct setting of 1.
2014-09-13 16:22:03.162 OpenEarsTest[1289:60b] preferredBufferSize is incorrect, we will change it.
2014-09-13 16:22:03.163 OpenEarsTest[1289:60b] PreferredBufferSize is now on the correct setting of 0.128000.
2014-09-13 16:22:03.165 OpenEarsTest[1289:60b] preferredSampleRateCheck is incorrect, we will change it.
2014-09-13 16:22:03.166 OpenEarsTest[1289:60b] preferred hardware sample rate is now on the correct setting of 16000.000000.
2014-09-13 16:22:03.197 OpenEarsTest[1289:60b] AudioSessionManager startAudioSession has reached the end of the initialization.
2014-09-13 16:22:03.199 OpenEarsTest[1289:60b] Exiting startAudioSession.
2014-09-13 16:22:03.205 OpenEarsTest[1289:4507] setSecondsOfSilence value of 0.000000 was too large or too small or was NULL, using default of 0.700000.
2014-09-13 16:22:03.203 OpenEarsTest[1289:3a03] Audio route has changed for the following reason:
2014-09-13 16:22:03.217 OpenEarsTest[1289:4507] Project has these words or phrases in its dictionary:
DO THE FOLLOWING GO 10 FORWARD
DO THE FOLLOWING GO 10 FORWARD(2)
DO THE FOLLOWING GO 10 FORWARD THANK YOU
DO THE FOLLOWING GO 10 FORWARD THANK YOU(2)
DO THE FOLLOWING GO 10 LEFT
DO THE FOLLOWING GO 10 LEFT(2)
DO THE FOLLOWING GO 10 LEFT THANK YOU
DO THE FOLLOWING GO 10 LEFT THANK YOU(2)
DO THE FOLLOWING GO 10 RIGHT
DO THE FOLLOWING GO 10 RIGHT(2)
DO THE FOLLOWING GO 10 RIGHT THANK YOU
DO THE FOLLOWING GO 10 RIGHT THANK YOU(2)
DO THE FOLLOWING GO 20 FORWARD
DO THE FOLLOWING GO 20 FORWARD(2)
DO THE FOLLOWING GO 20 FORWARD THANK YOU
DO THE FOLLOWING GO 20 FORWARD THANK YOU(2)
DO THE FOLLOWING GO 20 LEFT
DO THE FOLLOWING GO 20 LEFT(2)
DO THE FOLLOWING GO 20 LEFT THANK YOU
DO THE FOLLOWING GO 20 LEFT THANK YOU(2)
DO THE FOLLOWING GO 20 RIGHT
DO THE FOLLOWING GO 20 RIGHT(2)
DO THE FOLLOWING GO 20 RIGHT THANK YOU
DO THE FOLLOWING GO 20 RIGHT THANK YOU(2)
DO THE FOLLOWING GO 30 FORWARD
DO THE FOLLOWING GO 30 FORWARD(2)
DO THE FOLLOWING GO 30 FORWARD THANK YOU
DO THE FOLLOWING GO 30 FORWARD THANK YOU(2)
DO THE FOLLOWING GO 30 LEFT
DO THE FOLLOWING GO 30 LEFT(2)
DO THE FOLLOWING GO 30 LEFT THANK YOU
…and 510 more.
2014-09-13 16:22:03.207 OpenEarsTest[1289:3a03] There has been a change of category
2014-09-13 16:22:03.236 OpenEarsTest[1289:3a03] The previous audio route was Speaker
2014-09-13 16:22:03.231 OpenEarsTest[1289:4507] Recognition loop has started
2014-09-13 16:22:03.248 OpenEarsTest[1289:3a03] This is not a case in which OpenEars performs a route change voluntarily. At the close of this function, the audio route is SpeakerAndMicrophone
INFO: file_omitted(0): Parsing command line:
\
-lm /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/Library/Caches/NameIWantForMyLanguageModelFiles.DMP \
-beam 1e-66 \
-bestpath yes \
-dict /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/Library/Caches/NameIWantForMyLanguageModelFiles.dic \
-hmm /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/OpenEarsTest.app/AcousticModelEnglish.bundle \
-lw 6.5 \
-samprate 16000
Current configuration:
[NAME] [DEFLT] [VALUE]
-adchdr 0 0
-adcin no no
-agc none none
-agcthresh 2.0 2.000000e+00
-align
-alpha 0.97 9.700000e-01
-arcdumpdir
-ascale 20.0 2.000000e+01
-aw 1 1
-backtrace no no
-beam 1e-48 1.000000e-66
-bestpath yes yes
-bestpathlw 9.5 9.500000e+00
-bghist no no
-cepdir
-cepext .mfc .mfc
-ceplen 13 13
-cmn current current
-cmninit 8.0 8.0
-compallsen no no
-ctl
-ctlcount -1 -1
-ctlincr 1 1
-ctloffset 0 0
-debug 0
-dict /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/Library/Caches/NameIWantForMyLanguageModelFiles.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
-fwdflatlw 8.5 8.500000e+00
-fwdflatsfwin 25 25
-fwdflatwbeam 7e-29 7.000000e-29
-fwdtree yes yes
-fwdtreelm
-hmm /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/OpenEarsTest.app/AcousticModelEnglish.bundle
-hyp
-hypprefix
-input_endian little little
-jsgf
-kdmaxbbi -1 -1
-kdmaxdepth 0 0
-kdtree
-latsize 512 512
-lda
-ldadim 0 0
-lextreedump 0 0
-lifter 0 0
-lm /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/Library/Caches/NameIWantForMyLanguageModelFiles.DMP
-lmctl
-lmname default default
-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 6.500000e+00
-maxhmmpf -1 -1
-maxnewoov 20 20
-maxsilfr -1 -1
-maxwpf 50 50
-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-5 1.000000e-05
-pl_window 0 0
-rawlogdir
-remove_dc no no
-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
-usewdphones no no
-uw 1.0 1.000000e+00
-var
-varfloor 0.0001 1.000000e-04
-varnorm no no
-verbose no no
-vm
-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-02
INFO: file_omitted(0): Parsing command line:
\
-nfilt 20 \
-lowerf 1 \
-upperf 4000 \
-wlen 0.025 \
-transform dct \
-round_filters no \
-remove_dc yes \
-svspec 0-12/13-25/26-38 \
-feat 1s_c_d_dd \
-agc none \
-cmn current \
-cmninit 47 \
-varnorm no
Current 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 47
-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 0
-logspec no no
-lowerf 133.33334 1.000000e+00
-ncep 13 13
-nfft 512 512
-nfilt 40 20
-remove_dc no yes
-round_filters yes no
-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 4.000000e+03
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wlen 0.025625 2.500000e-02
INFO: file_omitted(0): Parsed model-specific feature parameters from /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/OpenEarsTest.app/AcousticModelEnglish.bundle/feat.params
INFO: file_omitted(0): Reading HMM transition probability matrices: /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/OpenEarsTest.app/AcousticModelEnglish.bundle/transition_matrices
INFO: file_omitted(0): Loading senones from dump file /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/OpenEarsTest.app/AcousticModelEnglish.bundle/sendump
INFO: file_omitted(0): BEGIN FILE FORMAT DESCRIPTION
INFO: file_omitted(0): Using memory-mapped I/O for senones
INFO: file_omitted(0): Building PID tables for dictionary
INFO: file_omitted(0): Allocating 50^3 * 2 bytes (244 KiB) for word-initial triphones
INFO: file_omitted(0): Allocated 30200 bytes (29 KiB) for word-final triphones
INFO: file_omitted(0): Allocated 30200 bytes (29 KiB) for single-phone word triphones
ERROR: “file_omitted”, line 0: File /var/mobile/Applications/93425C65-62E1-4DA3-B72A-CB896693720E/Library/Caches/NameIWantForMyLanguageModelFiles.DMP not found
OpenEarsTest(1289,0x31b4000) malloc: *** mach_vm_map(size=4190957568) failed (error code=3)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debug
calloc(1047739392,4) failed from_re_demo file_omitted(0)