Reply To: Proper way to start/stop OE?

Home Forums OpenEars Proper way to start/stop OE? Reply To: Proper way to start/stop OE?

#1033106
ming
Participant

Hi Halle,

I have a related question or issue also. The issue that I am encountering is when the app is resuming (after it was interrupted with a phone call), which it will try to start the RapidEars controller (during the OnActivate(UIApplication) for iOS), but then I will get the following error and IsListening == False:

2020-03-10 15:07:48.437 KiioMobileiOS[25951:5081298] couldn’t initialize AURemoteIO instance: ‘!pri’

Any help or suggestion is greatly appreciated! Thanks a lot!

The full log is copied below (please note that the last four lines of the log is where the issue occurred):

——-Rapid Ears Before Calling Start Recognition – isListening = False, 03:07:24.470
INFO: pocketsphinx.c(145): Parsed model-specific feature parameters from /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/feat.params
Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-allphone
-allphone_ci no no
-alpha 0.97 9.700000e-01
-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/658F9477-3604-4D96-8803-05FD8B0184E8/Library/Caches/-2039687996.dic
-dictcase no no
-dither no no
-doublebw no no
-ds 1 1
-fdict /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/noisedict
-feat 1s_c_d_dd 1s_c_d_dd
-featparams /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/feat.params
-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 /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle
-input_endian little little
-jsgf
-keyphrase
-kws
-kws_delay 10 10
-kws_plp 1e-1 1.000000e-01
-kws_threshold 1 1.000000e+00
-latsize 5000 5000
-lda /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/feature_transform
-ldadim 0 0
-lifter 0 22
-lm /var/mobile/Containers/Data/Application/658F9477-3604-4D96-8803-05FD8B0184E8/Library/Caches/-2039687996.DMP
-lmctl
-lmname
-logbase 1.0001 1.000100e+00
-logfn
-logspec no no
-lowerf 133.33334 1.300000e+02
-lpbeam 1e-40 1.000000e-40
-lponlybeam 7e-29 7.000000e-29
-lw 6.5 6.500000e+00
-maxhmmpf 30000 30000
-maxwpf -1 -1
-mdef /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/mdef
-mean /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/means
-mfclogdir
-min_endfr 0 0
-mixw /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/mixture_weights
-mixwfloor 0.0000001 1.000000e-07
-mllr
-mmap yes yes
-ncep 13 13
-nfft 512 512
-nfilt 40 20
-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 /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/transition_matrices
-tmatfloor 0.0001 1.000000e-04
-topn 4 4
-topn_beam 0 0
-toprule
-transform legacy dct
-unit_area yes yes
-upperf 6855.4976 3.700000e+03
-uw 1.0 1.000000e+00
-vad_postspeech 50 69
-vad_prespeech 20 10
-vad_startspeech 10 10
-vad_threshold 2.0 2.300000e+00
-var /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/variances
-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-02

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(154): Reading linear feature transformation from /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/feature_transform
INFO: mdef.c(518): Reading model definition: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/mdef
INFO: bin_mdef.c(181): Allocating 142108 * 8 bytes (1110 KiB) for CD tree
INFO: tmat.c(206): Reading HMM transition probability matrices: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/transition_matrices
INFO: acmod.c(117): Attempting to use PTM computation module
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/means
INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
INFO: ms_gauden.c(294): 32×36
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/variances
INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
INFO: ms_gauden.c(294): 32×36
INFO: ms_gauden.c(354): 0 variance values floored
INFO: ptm_mgau.c(801): Number of codebooks exceeds 256: 5126
INFO: acmod.c(119): Attempting to use semi-continuous computation module
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/means
INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
INFO: ms_gauden.c(294): 32×36
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/variances
INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
INFO: ms_gauden.c(294): 32×36
INFO: ms_gauden.c(354): 0 variance values floored
INFO: acmod.c(121): Falling back to general multi-stream GMM computation
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/means
INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
INFO: ms_gauden.c(294): 32×36
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/variances
INFO: ms_gauden.c(292): 5126 codebook, 1 feature, size:
INFO: ms_gauden.c(294): 32×36
INFO: ms_gauden.c(354): 0 variance values floored
INFO: ms_senone.c(149): Reading senone mixture weights: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/mixture_weights
INFO: ms_senone.c(200): Truncating senone logs3(pdf) values by 10 bits
INFO: ms_senone.c(207): Not transposing mixture weights in memory
INFO: ms_senone.c(268): Read mixture weights for 5126 senones: 1 features x 32 codewords
INFO: ms_senone.c(320): Mapping senones to individual codebooks
INFO: ms_mgau.c(141): The value of topn: 4
INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
INFO: dict.c(320): Allocating 4144 * 32 bytes (129 KiB) for word entries
INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/658F9477-3604-4D96-8803-05FD8B0184E8/Library/Caches/-2039687996.dic
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(336): 43 words read
INFO: dict.c(358): Reading filler dictionary: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/noisedict
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(361): 5 words read
INFO: dict2pid.c(396): Building PID tables for dictionary
INFO: dict2pid.c(406): Allocating 42^3 * 2 bytes (144 KiB) for word-initial triphones
INFO: dict2pid.c(132): Allocated 42672 bytes (41 KiB) for word-final triphones
INFO: dict2pid.c(196): Allocated 42672 bytes (41 KiB) for single-phone word triphones
INFO: ngram_model_trie.c(424): Trying to read LM in bin format
INFO: ngram_model_trie.c(457): Header doesn’t match
INFO: ngram_model_trie.c(180): Trying to read LM in arpa format
INFO: ngram_model_trie.c(71): No \data\ mark in LM file
INFO: ngram_model_trie.c(537): Trying to read LM in DMP format
INFO: ngram_model_trie.c(632): ngrams 1=45, 2=86, 3=43
INFO: lm_trie.c(317): Training quantizer
INFO: lm_trie.c(323): Building LM trie
INFO: ngram_search_fwdtree.c(99): 1 unique initial diphones
INFO: ngram_search_fwdtree.c(148): 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(186): Creating search tree
INFO: ngram_search_fwdtree.c(192): before: 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(326): after: max nonroot chan increased to 135
INFO: ngram_search_fwdtree.c(339): after: 1 root, 7 non-root channels, 44 single-phone words
INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
——-STARTED LISTENING 03:07:25:6387
——-Rapid Ears After Calling Start Recognition – isListening = True, 03:07:25.640
——-SPEECH DETECTED
INFO: ngram_search.c(465): Resized backpointer table to 10000 entries
INFO: cmn_prior.c(131): cmn_prior_update: from < 37.11 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 SPEECH NO LONGER DETECTED
0.00 >
INFO: cmn_prior.c(149): cmn_prior_update: to < 31.79 -0.57 4.34 7.46 4.74 5.69 4.18 3.89 -0.09 2.33 1.46 -1.27 0.22 >
INFO: ngram_search_fwdtree.c(1553): 6970 words recognized (37/fr)
INFO: ngram_search_fwdtree.c(1555): 26214 senones evaluated (140/fr)
INFO: ngram_search_fwdtree.c(1559): 8964 channels searched (47/fr), 183 1st, 7948 last
INFO: ngram_search_fwdtree.c(1562): 7948 words for which last channels evaluated (42/fr)
INFO: ngram_search_fwdtree.c(1564): 8 candidate words for entering last phone (0/fr)
INFO: ngram_search_fwdtree.c(1567): fwdtree 0.42 CPU 0.223 xRT
INFO: ngram_search_fwdtree.c(1570): fwdtree 1.94 wall 1.037 xRT
INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 38 words
INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.000 xRT
INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.000 xRT
——-SPEECH DETECTED
——-PARTIAL RESULT: (HEY_KIIO); Score: (-1395)
——-Rapid Ears Before Calling Suspend Recognition IsSuspended = False – on thread 1
——-Rapid Ears After Calling Suspend Recognition IsSuspended = True – on thread 1
——-FINAL RESULT: HEY KIIO
——-SUSPEND LISTENING 03:07:28:5235
——-Rapid Ears Before Calling Resumed Recognition – IsListening = True, 03:07:28.562.
——-Rapid Ears After Calling Resumed Recognition – IsListening = True, 03:07:28.564.
——-RESUME LISTENING 03:07:28:5661
INFO: cmn_prior.c(131): cmn_prior_update: from < 31.79 -0.57 4.34 7.46 4.74 5.69 4.18 3.89 -0.09 2.33 1.46 -1.27 0.22 >
INFO: cmn_prior.c(149): cmn_prior_update: to < 36.94 -0.42 6.28 7.58 2.38 3.33 2.66 2.16 0.09 2.01 0.38 -1.58 0.82 >
INFO: ngram_search_fwdtree.c(1553): 960 words recognized (16/fr)
INFO: ngram_search_fwdtree.c(1555): 6316 senones evaluated (107/fr)
INFO: ngram_search_fwdtree.c(1559): 3408 channels searched (57/fr), 38 1st, 3183 last
INFO: ngram_search_fwdtree.c(1562): 1603 words for which last channels evaluated (27/fr)
INFO: ngram_search_fwdtree.c(1564): 54 candidate words for entering last phone (0/fr)
INFO: ngram_search_fwdtree.c(1567): fwdtree 0.24 CPU 0.401 xRT
INFO: ngram_search_fwdtree.c(1570): fwdtree 1.06 wall 1.791 xRT
INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 32 words
INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.000 xRT
INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.000 xRT
INFO: dict.c(320): Allocating 4154 * 32 bytes (129 KiB) for word entries
INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/658F9477-3604-4D96-8803-05FD8B0184E8/Library/Caches/-1913019128.dic
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(336): 53 words read
INFO: dict.c(358): Reading filler dictionary: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/noisedict
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(361): 5 words read
INFO: dict2pid.c(396): Building PID tables for dictionary
INFO: dict2pid.c(406): Allocating 42^3 * 2 bytes (144 KiB) for word-initial triphones
INFO: dict2pid.c(132): Allocated 42672 bytes (41 KiB) for word-final triphones
INFO: dict2pid.c(196): Allocated 42672 bytes (41 KiB) for single-phone word triphones
INFO: ngram_search_fwdtree.c(99): 9 unique initial diphones
INFO: ngram_search_fwdtree.c(148): 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(186): Creating search tree
INFO: ngram_search_fwdtree.c(192): before: 0 root, 0 non-root channels, 45 single-phone words
ERROR: “ngram_search_fwdtree.c”, line 336: No word from the language model has pronunciation in the dictionary
INFO: ngram_search_fwdtree.c(339): after: 0 root, 0 non-root channels, 44 single-phone words
INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
INFO: ngram_model_trie.c(424): Trying to read LM in bin format
INFO: ngram_model_trie.c(457): Header doesn’t match
INFO: ngram_model_trie.c(180): Trying to read LM in arpa format
INFO: ngram_model_trie.c(71): No \data\ mark in LM file
INFO: ngram_model_trie.c(537): Trying to read LM in DMP format
INFO: ngram_model_trie.c(632): ngrams 1=49, 2=94, 3=47
INFO: lm_trie.c(317): Training quantizer
INFO: lm_trie.c(323): Building LM trie
INFO: ngram_search_fwdtree.c(99): 9 unique initial diphones
INFO: ngram_search_fwdtree.c(148): 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(186): Creating search tree
INFO: ngram_search_fwdtree.c(192): before: 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(326): after: max nonroot chan increased to 151
INFO: ngram_search_fwdtree.c(339): after: 9 root, 23 non-root channels, 44 single-phone words
INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
INFO: cmn_prior.c(131): cmn_prior_update: from < 36.94 -0.42 6.28 7.58 2.38 3.33 2.66 2.16 0.09 2.01 0.38 -1.58 0.82 >
INFO: cmn_prior.c(149): cmn_prior_update: to < 36.94 -0.42 6.28 7.58 2.38 3.33 2.66 2.16 0.09 2.01 0.38 -1.58 0.82 >
INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
——-SPEECH DETECTED
——-SPEECH NO LONGER DETECTED
INFO: cmn_prior.c(131): cmn_prior_update: from < 36.94 -0.42 6.28 7.58 2.38 3.33 2.66 2.16 0.09 2.01
0.38 -1.58 0.82 >
INFO: cmn_prior.c(149): cmn_prior_update: to < 38.11 -3.27 -0.11 1.11 11.64 12.66 -6.00 -4.04 -1.43 17.44 -2.37 -7.84 -3.30 >
INFO: ngram_search_fwdtree.c(1553): 459 words recognized (6/fr)
INFO: ngram_search_fwdtree.c(1555): 10852 senones evaluated (136/fr)
INFO: ngram_search_fwdtree.c(1559): 3882 channels searched (48/fr), 684 1st, 2866 last
INFO: ngram_search_fwdtree.c(1562): 2866 words for which last channels evaluated (35/fr)
INFO: ngram_search_fwdtree.c(1564): 0 candidate words for entering last phone (0/fr)
INFO: ngram_search_fwdtree.c(1567): fwdtree 0.22 CPU 0.273 xRT
INFO: ngram_search_fwdtree.c(1570): fwdtree 1.01 wall 1.265 xRT
INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 10 words
INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.000 xRT
INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.000 xRT
——-SPEECH DETECTED
——-PARTIAL RESULT: (CANCEL); Score: (-2496)
——-SPEECH NO LONGER DETECTED
INFO: cmn_prior.c(131): cmn_prior_update: from < 38.11 -3.27 -0.11 1.11 11.64 12.66 -6.00 -4.04 -1.43 17.44 -2.37 -7.84 -3.30 >
INFO: cmn_prior.c(149): cmn_prior_update: to < 39.21 -2.42 -0.12 2.01 9.06 9.53 -3.62 -0.80 -0.99 14.51 -2.13 -6.25 -1.72 >
INFO: ngram_search_fwdtree.c(1553): 3619 words recognized (35/fr)
INFO: ngram_search_fwdtree.c(1555): 23937 senones evaluated (230/fr)
INFO: ngram_search_fwdtree.c(1559): 10534 channels searched (101/fr), 898 1st, 7620 last
INFO: ngram_search_fwdtree.c(1562): 4373 words for which last channels evaluated (42/fr)
INFO: ngram_search_fwdtree.c(1564): 640 candidate words for entering last phone (6/fr)
INFO: ngram_search_fwdtree.c(1567): fwdtree 0.61 CPU 0.584 xRT
INFO: ngram_search_fwdtree.c(1570): fwdtree 2.52 wall 2.423 xRT
INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 41 words
INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.005 xRT
INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.001 xRT
——-Rapid Ears Before Calling Suspend Recognition IsSuspended = False – on thread 13
——-Rapid Ears After Calling Suspend Recognition IsSuspended = True – on thread 13
——-SUSPEND LISTENING 03:07:32:3223
——-FINAL RESULT: CANCEL
——-Rapid Ears Before Calling Resumed Recognition – IsListening = True, 03:07:32.367.
——-Rapid Ears After Calling Resumed Recognition – IsListening = True, 03:07:32.368.
——-RESUME LISTENING 03:07:32:3690
INFO: cmn_prior.c(131): cmn_prior_update: from < 39.21 -2.42 -0.12 2.01 9.06 9.53 -3.62 -0.80 -0.99 14.51 -2.13 -6.25 -1.72 >
INFO: cmn_prior.c(149): cmn_prior_update: to < 39.21 -2.42 -0.12 2.01 9.06 9.53 -3.62 -0.80 -0.99 14.51 -2.13 -6.25 -1.72 >
INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
INFO: dict.c(320): Allocating 4144 * 32 bytes (129 KiB) for word entries
INFO: dict.c(333): Reading main dictionary: /var/mobile/Containers/Data/Application/658F9477-3604-4D96-8803-05FD8B0184E8/Library/Caches/-2039687996.dic
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(336): 43 words read
INFO: dict.c(358): Reading filler dictionary: /private/var/containers/Bundle/Application/E65B8A4E-E4C2-4C37-BC26-F613E1862EB8/KiioMobileiOS.app/AcousticModelEnglish.bundle/noisedict
INFO: dict.c(213): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(361): 5 words read
INFO: dict2pid.c(396): Building PID tables for dictionary
INFO: dict2pid.c(406): Allocating 42^3 * 2 bytes (144 KiB) for word-initial triphones
INFO: dict2pid.c(132): Allocated 42672 bytes (41 KiB) for word-final triphones
INFO: dict2pid.c(196): Allocated 42672 bytes (41 KiB) for single-phone word triphones
INFO: ngram_search_fwdtree.c(99): 1 unique initial diphones
INFO: ngram_search_fwdtree.c(148): 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(186): Creating search tree
INFO: ngram_search_fwdtree.c(192): before: 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(339): after: 1 root, 7 non-root channels, 44 single-phone words
INFO: ngram_search_fwdtree.c(99): 1 unique initial diphones
INFO: ngram_search_fwdtree.c(148): 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(186): Creating search tree
INFO: ngram_search_fwdtree.c(192): before: 0 root, 0 non-root channels, 45 single-phone words
ERROR: “ngram_search_fwdtree.c”, line 336: No word from the language model has pronunciation in the dictionary
INFO: ngram_search_fwdtree.c(339): after: 0 root, 0 non-root channels, 44 single-phone words
INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
INFO: ngram_model_trie.c(424): Trying to read LM in bin format
INFO: ngram_model_trie.c(457): Header doesn’t match
INFO: ngram_model_trie.c(180): Trying to read LM in arpa format
INFO: ngram_model_trie.c(71): No \data\ mark in LM file
INFO: ngram_model_trie.c(537): Trying to read LM in DMP format
INFO: ngram_model_trie.c(632): ngrams 1=45, 2=86, 3=43
INFO: lm_trie.c(317): Training quantizer
INFO: lm_trie.c(323): Building LM trie
INFO: ngram_search_fwdtree.c(99): 1 unique initial diphones
INFO: ngram_search_fwdtree.c(148): 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(186): Creating search tree
INFO: ngram_search_fwdtree.c(192): before: 0 root, 0 non-root channels, 45 single-phone words
INFO: ngram_search_fwdtree.c(326): after: max nonroot chan increased to 135
INFO: ngram_search_fwdtree.c(339): after: 1 root, 7 non-root channels, 44 single-phone words
INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
INFO: cmn_prior.c(131): cmn_prior_update: from < 39.21 -2.42 -0.12 2.01 9.06 9.53 -3.62 -0.80 -0.99 14.51 -2.13 -6.25 -1.72 >
INFO: cmn_prior.c(149): cmn_prior_update: to < 39.21 -2.42 -0.12 2.01 9.06 9.53 -3.62 -0.80 -0.99 14.51 -2.13 -6.25 -1.72 >
INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
——-SPEECH DETECTED
INFO: ngram_search.c(465): Resized backpointer table to 10000 entries
INFO: ngram_search.c(465): Resized backpointer table to 20000 entries
INFO: cmn_prior.c(99): cmn_prior_update: from < 39.21 -2.42 -0.12 2.01 9.06 9.53 -3.62 -0.80 -0.99 14.51 -2.13 -6.25 -1.72 >
INFO: cmn_prior.c(116): cmn_prior_update: to < 36.92 -3.28 1.57 3.80 7.53 8.36 1.49 2.78 1.60 9.70 -0.48 -3.97 -1.50 >
——-SPEECH NO LONGER DETECTED
INFO: cmn_prior.c(131): cmn_prior_update: from < 36.92 -3.28 1.57 3.80 7.53 8.36 1.49 2.78 1.60 9.70 -0.48 -3.97 -1.50 >
INFO: cmn_prior.c(149): cmn_prior_update: to < 35.66 -3.16 1.86 3.91 7.15 7.60 2.01 2.97 1.75 8.87 -0.13 -3.27 -1.42 >
INFO: ngram_search_fwdtree.c(1553): 17315 words recognized (39/fr)
INFO: ngram_search_fwdtree.c(1555): 64095 senones evaluated (144/fr)
INFO: ngram_search_fwdtree.c(1559): 21853 channels searched (49/fr), 440 1st, 18972 last
INFO: ngram_search_fwdtree.c(1562): 18972 words for which last channels evaluated (42/fr)
INFO: ngram_search_fwdtree.c(1564): 68 candidate words for entering last phone (0/fr)
INFO: ngram_search_fwdtree.c(1567): fwdtree 1.53 CPU 0.344 xRT
INFO: ngram_search_fwdtree.c(1570): fwdtree 4.83 wall 1.087 xRT
INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 40 words
INFO: ngram_search_fwdflat.c(948): 0 words recognized (0/fr)
INFO: ngram_search_fwdflat.c(950): 0 senones evaluated (0/fr)
INFO: ngram_search_fwdflat.c(952): 0 channels searched (0/fr)
INFO: ngram_search_fwdflat.c(954): 0 words searched (0/fr)
INFO: ngram_search_fwdflat.c(957): 0 word transitions (0/fr)
INFO: ngram_search_fwdflat.c(960): fwdflat 0.00 CPU 0.000 xRT
INFO: ngram_search_fwdflat.c(963): fwdflat 0.00 wall 0.000 xRT
——-Rapid Ears Before Calling Suspend Recognition IsSuspended = False – on thread 19
——-SUSPEND LISTENING 03:07:40:3306
——-Rapid Ears After Calling Suspend Recognition IsSuspended = True – on thread 19
——-Rapid Ears Before Calling Stop Recognition. IsListening – True – on thread 17
INFO: cmn_prior.c(131): cmn_prior_update: from < 35.66 -3.16 1.86 3.91 7.15 7.60 2.01 2.97 1.75 8.87 -0.13 -3.27 -1.42 >
INFO: cmn_prior.c(149): cmn_prior_update: to < 35.66 -3.16 1.86 3.91 7.15 7.60 2.01 2.97 1.75 8.87 -0.13 -3.27 -1.42 >
INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 0 words
INFO: ngram_search_fwdtree.c(432): TOTAL fwdtree 1.98 CPU 0.447 xRT
INFO: ngram_search_fwdtree.c(435): TOTAL fwdtree 7.88 wall 1.778 xRT
INFO: ngram_search_fwdflat.c(176): TOTAL fwdflat 0.00 CPU 0.000 xRT
INFO: ngram_search_fwdflat.c(179): TOTAL fwdflat 0.00 wall 0.001 xRT
INFO: ngram_search.c(308): TOTAL bestpath 0.00 CPU 0.000 xRT
INFO: ngram_search.c(311): TOTAL bestpath 0.00 wall 0.000 xRT
INFO: ngram_search_fwdtree.c(432): TOTAL fwdtree 0.65 CPU 0.268 xRT
INFO: ngram_search_fwdtree.c(435): TOTAL fwdtree 3.00 wall 1.228 xRT
INFO: ngram_search_fwdflat.c(176): TOTAL fwdflat 0.00 CPU 0.000 xRT
INFO: ngram_search_fwdflat.c(179): TOTAL fwdflat 0.00 wall 0.000 xRT
INFO: ngram_search.c(308): TOTAL bestpath 0.00 CPU 0.000 xRT
INFO: ngram_search.c(311): TOTAL bestpath 0.00 wall 0.000 xRT
INFO: ngram_search_fwdtree.c(432): TOTAL fwdtree 0.91 CPU 0.501 xRT
INFO: ngram_search_fwdtree.c(435): TOTAL fwdtree 3.82 wall 2.098 xRT
INFO: ngram_search_fwdflat.c(176): TOTAL fwdflat 0.00 CPU 0.003 xRT
INFO: ngram_search_fwdflat.c(179): TOTAL fwdflat 0.00 wall 0.000 xRT
INFO: ngram_search.c(308): TOTAL bestpath 0.00 CPU 0.000 xRT
INFO: ngram_search.c(311): TOTAL bestpath 0.00 wall 0.000 xRT
——-Rapid Ears After Calling Stop Recognition. IsListening – False – on thread 17
——-LISTENER CLOSED 03:07:40:4035
—–> This is where the StartRealtimeListeningWithLanguageModelAtPath(string, string, string) is called during OnActivated(UIApplication) for iOS <——
——-Rapid Ears Before Calling Start Recognition – IsListening = False, 03:07:48.418
2020-03-10 15:07:48.437 KiioMobileiOS[25951:5081298] couldn’t initialize AURemoteIO instance: ‘!pri’
——-Rapid Ears After Calling Start Recognition – IsListening = False, 03:07:48.437