Not start Lisenting

Home Forums OpenEars Not start Lisenting

Viewing 4 posts - 1 through 4 (of 4 total)

  • Author
    Posts
  • #1030207
    sgso
    Participant

    Hi. I new using opeanear. I try an example with other version of openers and work. Now I use the last framework. Change the code like the tutorial but not work, when start the listening.

    [_pocketController startListeningWithLanguageModelAtPath:_pathToDynamicallyGeneratedGrammar dictionaryAtPath:_pathToDynamicallyGeneratedDictionary acousticModelAtPath:[OEAcousticModel pathToModel:@”AcousticModelEnglish”] languageModelIsJSGF:NO];

    The log generate:
    ## Vocab generated by v2 of the CMU-Cambridge Statistcal
    ## Language Modeling toolkit.
    ##
    ## Includes 22 words ##
    wfreq2vocab : Done.
    text2idngram
    Vocab : /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/Library/Caches/OEDynamicGrammar.vocab
    Output idngram : /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/Library/Caches/OEDynamicGrammar.idngram
    N-gram buffer size : 10
    Hash table size : 5000
    Temp directory : /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/Library/Caches/cmuclmtk-3MySdD
    Max open files : 20
    FOF size : 10
    n : 3
    Initialising hash table…
    Reading vocabulary…
    Allocating memory for the n-gram buffer…
    Reading text into the n-gram buffer…
    20,000 n-grams processed for each “.”, 1,000,000 for each line.

    Sorting n-grams…
    Writing sorted n-grams to temporary file /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/Library/Caches/cmuclmtk-3MySdD/1
    Merging 1 temporary files…

    2-grams occurring: N times > N times Sug. -spec_num value
    0 32 42
    1 31 1 11
    2 0 1 11
    3 0 1 11
    4 0 1 11
    5 0 1 11
    6 0 1 11
    7 0 1 11
    8 0 1 11
    9 0 1 11
    10 0 1 11

    3-grams occurring: N times > N times Sug. -spec_num value
    0 42 52
    1 42 0 10
    2 0 0 10
    3 0 0 10
    4 0 0 10
    5 0 0 10
    6 0 0 10
    7 0 0 10
    8 0 0 10
    9 0 0 10
    10 0 0 10
    text2idngram : Done.

    read_wlist_into_siht: a list of 22 words was read from “/var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/Library/Caches/OEDynamicGrammar.vocab”.
    read_wlist_into_array: a list of 22 words was read from “/var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/Library/Caches/OEDynamicGrammar.vocab”.
    Unigram was renormalized to absorb a mass of 0.5
    prob[UNK] = 1e-99
    ARPA-style 3-gram will be written to /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/Library/Caches/OEDynamicGrammar.arpa
    idngram2lm : Done.
    INFO: ngram_model_arpa_legacy.c(504): ngrams 1=22, 2=31, 3=20
    INFO: ngram_model_arpa_legacy.c(136): Reading unigrams
    INFO: ngram_model_arpa_legacy.c(543): 22 = #unigrams created
    INFO: ngram_model_arpa_legacy.c(196): Reading bigrams
    INFO: ngram_model_arpa_legacy.c(561): 31 = #bigrams created
    INFO: ngram_model_arpa_legacy.c(562): 3 = #prob2 entries
    INFO: ngram_model_arpa_legacy.c(570): 3 = #bo_wt2 entries
    INFO: ngram_model_arpa_legacy.c(293): Reading trigrams
    INFO: ngram_model_arpa_legacy.c(583): 20 = #trigrams created
    INFO: ngram_model_arpa_legacy.c(584): 2 = #prob3 entries
    INFO: ngram_model_dmp_legacy.c(521): Building DMP model…
    INFO: ngram_model_dmp_legacy.c(551): 22 = #unigrams created
    INFO: ngram_model_dmp_legacy.c(652): 31 = #bigrams created
    INFO: ngram_model_dmp_legacy.c(653): 3 = #prob2 entries
    INFO: ngram_model_dmp_legacy.c(660): 3 = #bo_wt2 entries
    INFO: ngram_model_dmp_legacy.c(664): 20 = #trigrams created
    INFO: ngram_model_dmp_legacy.c(665): 2 = #prob3 entries
    2016-04-27 10:21:33.090 VoiceToText[14112:907] Starting OpenEars logging for OpenEars version 2.501 on 32-bit device (or build): iPhone running iOS version: 6.100000
    2016-04-27 10:21:39.363 VoiceToText[14112:907] Creating shared instance of OEPocketsphinxController
    2016-04-27 10:21:40.613 VoiceToText[14112:907] Attempting to start listening session from startListeningWithLanguageModelAtPath:
    2016-04-27 10:21:40.622 VoiceToText[14112:907] setSecondsOfSilence wasn’t set, using default of 0.700000.
    2016-04-27 10:21:40.627 VoiceToText[14112:907] Successfully started listening session from startListeningWithLanguageModelAtPath:
    2016-04-27 10:21:40.640 VoiceToText[14112:4003] Starting listening.
    2016-04-27 10:21:40.645 VoiceToText[14112:4003] about to set up audio session
    2016-04-27 10:21:40.659 VoiceToText[14112:4003] Creating audio session with default settings.
    2016-04-27 10:21:41.450 VoiceToText[14112:4003] done starting audio unit
    INFO: pocketsphinx.c(145): Parsed model-specific feature parameters from /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/VoiceToText.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 40
    -compallsen no no
    -debug 0
    -dict /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/Library/Caches/OEDynamicGrammar.dic
    -dictcase no no
    -dither no no
    -doublebw no no
    -ds 1 1
    -fdict /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/VoiceToText.app/AcousticModelEnglish.bundle/noisedict
    -feat 1s_c_d_dd 1s_c_d_dd
    -featparams /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/VoiceToText.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 /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/VoiceToText.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
    -ldadim 0 0
    -lifter 0 22
    -lm /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/Library/Caches/OEDynamicGrammar.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 /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/VoiceToText.app/AcousticModelEnglish.bundle/mdef
    -mean /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/VoiceToText.app/AcousticModelEnglish.bundle/means
    -mfclogdir
    -min_endfr 0 0
    -mixw
    -mixwfloor 0.0000001 1.000000e-07
    -mllr
    -mmap yes yes
    -ncep 13 13
    -nfft 512 512
    -nfilt 40 25
    -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 /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/VoiceToText.app/AcousticModelEnglish.bundle/sendump
    -senlogdir
    -senmgau
    -silprob 0.005 5.000000e-03
    -smoothspec no no
    -svspec 0-12/13-25/26-38
    -tmat /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/VoiceToText.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 6.800000e+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 /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/VoiceToText.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

    dyld: lazy symbol binding failed: Symbol not found: ___exp10
    Referenced from: /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/VoiceToText.app/VoiceToText
    Expected in: /usr/lib/libSystem.B.dylib

    dyld: Symbol not found: ___exp10
    Referenced from: /var/mobile/Applications/79C127C9-F16B-4C8B-9377-1751F95235BE/VoiceToText.app/VoiceToText
    Expected in: /usr/lib/libSystem.B.dylib

    Someone can help me to solve? If need more info, tell me please.

    #1030208
    Halle Winkler
    Politepix

    Hello,

    that doesn’t really look entirely like an OpenEars issue (it looks a bit more like an issue with the development environment), but if you turn on OELogging and show the complete log from beginning to end without anything being removed, there may be some debugging information if it has a connection to OpenEars. Here is info about how to turn on and show the entire logging: https://www.politepix.com/forums/topic/install-issues-and-their-solutions/

    #1030209
    sgso
    Participant

    Hi,

    This log was generated with OElogging active, and verbosePocketSphinx active.
    I use the last version of openers, device iPhone 3G with sdk6.

    Thanks.

    #1030210
    Halle Winkler
    Politepix

    Hello,

    OELogging isn’t on in that log, it only has verbosePocketsphinx output.

    But a bigger issue is that the last iOS version which was supported by the iPhone 3G was iOS 4.2.1. OpenEars 2.5 supports iOS 7.1.1 through current versions and it hasn’t supported the 3G since version 1.5 if I recall correctly. You probably need to start your troubleshooting by looking at the issue that it seems like you are developing with the iOS 6 SDK on a device which doesn’t support iOS 6 or iOS 5. OpenEars specifically now requires the latest version of Xcode (at least 7.2) so make sure to upgrade when developing for a compatible device.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.