Forum Replies Created
-
AuthorPosts
-
pigginsParticipant
Hi,
I’ve tested with runRecognitionOnWavFileAtPath and it works much better, but I’m not sure if the Rejecto plugin is working with that method. Do the Open Ears plugins work when using runRecognitionOnWavFileAtPath? In addition, can the VAD threshold be manually set when using the aforementioned method? Thanks.
pigginsParticipantHi Halle,
I’m not sure if this would affect anything, but I needed functionality such that the user could end speech recognition at will, instead of the normal OpenEars functionality where it will detect when the user has finished speaking. To do this, I used an instance of AVAudioRecorder to record the file and save it to a local directory. When initializing the instance of AVAudioRecorder, I used the following settings:
NSMutableDictionary *settings = [NSMutableDictionary dictionary];
[settings setValue: [NSNumber numberWithInt:kAudioFormatLinearPCM] forKey:AVFormatIDKey];
[settings setValue: [NSNumber numberWithFloat:16000.0] forKey:AVSampleRateKey];
[settings setValue: [NSNumber numberWithInt:1] forKey:AVNumberOfChannelsKey];
[settings setValue: [NSNumber numberWithInt:16] forKey:AVLinearPCMBitDepthKey];
[settings setValue: [NSNumber numberWithInt: AVAudioQualityMax] forKey:AVEncoderAudioQualityKey];
self.recorder = [[AVAudioRecorder alloc]initWithURL:[NSURL fileURLWithPath:filePath] settings:settings error:&error];After recording, I would use setPathToTestFile to test the file I’d just recorded, and then call startListening with the Spanish acoustic model. The majority of the time, no words were recognized, but sometimes very short words would be recognized. Could you tell me if the settings I used are correct to work with setPathToTestFile or if there are any other red flags? I looked through the verbosePocketSphix/OELogging logs and there weren’t any errors or warnings with both English and Spanish recognition, even though the recognition in English worked perfectly but Spanish was less accurate. Would there be any ways, other than recording the file and then testing it, to achieve the desired functionality? Thanks so much for your help Halle.
pigginsParticipantI’m using setPathToTestFile to run recognition on the test file, not runRecognitionOnWavFileAtPath. I tested with the VAD setting at 4.3 but didn’t get any improvements, and I am using the newest versions of OpenEars and the plugins. I also confirmed that the file format is correct. Thanks again for the help and prompt reply.
pigginsParticipantHi Halle,
I don’t believe the file format is incorrect because recognition in English on the same type of test file is working properly; only Spanish is giving problems. I’m currently using standard Open Ears recognition with PocketSphinx and no plugins, although I received similar results when trying with the Rejecto plugin as well.
July 16, 2014 at 12:59 am in reply to: Changing Lang. Model Dynamically with Rejecto Couldn't Get Attributes of LM #1021972pigginsParticipantThis fix worked perfectly! Thanks for all the help Halle!
July 15, 2014 at 5:48 pm in reply to: Changing Lang. Model Dynamically with Rejecto Couldn't Get Attributes of LM #1021970pigginsParticipantAbsolutely! If there’s any possible fix I’d love to hear it.
July 15, 2014 at 5:43 pm in reply to: Changing Lang. Model Dynamically with Rejecto Couldn't Get Attributes of LM #1021968pigginsParticipantIs this a known issue that can be fixed, given the fact that the situation you previously described is exactly what’s happening to me? Thanks again!
July 15, 2014 at 5:08 pm in reply to: Changing Lang. Model Dynamically with Rejecto Couldn't Get Attributes of LM #1021967pigginsParticipantThe issue only occurs the second and later times. That is exactly the behavior. The first time I try it, after starting the app, it works perfectly. I can change the language model once, and it works perfectly again. Any further changes, however, cause this error to occur. Also, thanks a lot for the prompt replies!
July 14, 2014 at 10:32 pm in reply to: Changing Lang. Model Dynamically with Rejecto Couldn't Get Attributes of LM #1021954pigginsParticipantAlso, I was testing on iOS 7.1 with Xcode 5.1.1
I’m really sorry about the length of the logging. It might be helpful to isolate the lines that seem to show the error:
2014-07-14 11:54:35.151 Flashcards[23135:3c03] Error: couldn’t get attributes of language model file.
ERROR: “file_omitted”, line 0: File /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.DMP not foundIt says that the file can’t be found, but I’m fairly sure I created the file using:
NSError *err = [lmGenerator generateRejectingLanguageModelFromArray:vocab withFilesNamed:name withOptionalExclusions:nil usingVowelsOnly:FALSE withWeight:nil forAcousticModelAtPath:[AcousticModel pathToModel:@”AcousticModelEnglish”]];
NSDictionary *languageGeneratorResults = [err userInfo];
if([err code] == noErr) {
lmPath = [languageGeneratorResults objectForKey:@”LMPath”];
dicPath = [languageGeneratorResults objectForKey:@”DictionaryPath”];
}Thanks for any help!
July 14, 2014 at 7:49 pm in reply to: Changing Lang. Model Dynamically with Rejecto Couldn't Get Attributes of LM #1021953pigginsParticipantThis is the full logging output with OpenEarsLogging and verbosePocketsphinx set on. Does anything jump out to you?
2014-07-14 11:53:57.198 Flashcards[23135:613] Starting OpenEars logging for OpenEars version 1.7 on 64-bit device: iPhone Simulator running iOS version: 7.100000
2014-07-14 11:53:57.345 Flashcards[23135:613] SHAMEFUL
2014-07-14 11:53:57.347 Flashcards[23135:613] Vocabulary1
2014-07-14 11:53:57.473 Flashcards[23135:613] I’m done running performDictionaryLookup and it took 0.051119 seconds
2014-07-14 11:53:57.521 Flashcards[23135:613] Starting dynamic language model generation
2014-07-14 11:53:57.539 Flashcards[23135:613] Able to open /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary1.corpus for reading
2014-07-14 11:53:57.539 Flashcards[23135:613] Able to open /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary1_pipe.txt for writing
2014-07-14 11:53:57.540 Flashcards[23135:613] Starting text2wfreq_impl
2014-07-14 11:53:57.606 Flashcards[23135:613] Done with text2wfreq_impl
2014-07-14 11:53:57.606 Flashcards[23135:613] Able to open /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary1_pipe.txt for reading.
2014-07-14 11:53:57.677 Flashcards[23135:613] Able to open /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary1.vocab for reading.
2014-07-14 11:53:57.678 Flashcards[23135:613] Starting wfreq2vocab
2014-07-14 11:53:57.679 Flashcards[23135:613] Done with wfreq2vocab
2014-07-14 11:53:57.680 Flashcards[23135:613] Starting text2idngram
2014-07-14 11:53:57.687 Flashcards[23135:613] Done with text2idngram
2014-07-14 11:53:57.689 Flashcards[23135:613] Starting idngram2lm2014-07-14 11:53:57.787 Flashcards[23135:613] Done with idngram2lm
2014-07-14 11:53:57.788 Flashcards[23135:613] Starting sphinx_lm_convert
2014-07-14 11:53:57.821 Flashcards[23135:613] Finishing sphinx_lm_convert
2014-07-14 11:53:57.823 Flashcards[23135:613] Done creating language model with CMUCLMTK in 0.300977 seconds.
2014-07-14 11:53:57.823 Flashcards[23135:613] Starting sphinx_lm_convert
2014-07-14 11:53:57.828 Flashcards[23135:613] Finishing sphinx_lm_convert
2014-07-14 11:53:57.829 Flashcards[23135:613] I’m done running dynamic language model generation and it took 427056837.829542 seconds
2014-07-14 11:53:57.832 Flashcards[23135:613] User gave mic permission for this app.
2014-07-14 11:53:57.833 Flashcards[23135:613] Leaving sample rate at the default of 16000.
2014-07-14 11:53:57.834 Flashcards[23135:613] The audio session has already been initialized but we will override its properties.
2014-07-14 11:53:57.834 Flashcards[23135:613] Checking and resetting all audio session settings.
2014-07-14 11:53:57.835 Flashcards[23135:613] audioCategory is incorrect, we will change it.
2014-07-14 11:53:57.835 Flashcards[23135:613] audioCategory is now on the correct setting of kAudioSessionCategory_PlayAndRecord.
2014-07-14 11:53:57.836 Flashcards[23135:613] bluetoothInput is incorrect, we will change it.
2014-07-14 11:53:57.836 Flashcards[23135:613] bluetooth input is now on the correct setting of 1.
2014-07-14 11:53:57.837 Flashcards[23135:613] Output Device: Speaker.
2014-07-14 11:53:57.837 Flashcards[23135:613] categoryDefaultToSpeaker is incorrect, we will change it.
2014-07-14 11:53:57.874 Flashcards[23135:613] CategoryDefaultToSpeaker is now on the correct setting of 1.
2014-07-14 11:53:57.893 Flashcards[23135:613] preferredBufferSize is incorrect, we will change it.
2014-07-14 11:53:57.893 Flashcards[23135:613] PreferredBufferSize is now on the correct setting of 0.128000.
2014-07-14 11:53:57.894 Flashcards[23135:613] preferredSampleRateCheck is incorrect, we will change it.
2014-07-14 11:53:57.894 Flashcards[23135:613] preferred hardware sample rate is now on the correct setting of 16000.000000.
2014-07-14 11:53:57.895 Flashcards[23135:613] AudioSessionManager startAudioSession has reached the end of the initialization.
2014-07-14 11:53:57.895 Flashcards[23135:613] Exiting startAudioSession.
2014-07-14 11:53:57.896 Flashcards[23135:3c03] setSecondsOfSilence value of 0.000000 was too large or too small or was NULL, using default of 0.700000.
2014-07-14 11:53:57.897 Flashcards[23135:3c03] Project has these words or phrases in its dictionary:
___REJ_AA
___REJ_AE
___REJ_AH
___REJ_AO
___REJ_AW
___REJ_AY
___REJ_B
___REJ_CH
___REJ_D
___REJ_DH
___REJ_EH
___REJ_ER
___REJ_EY
___REJ_F
___REJ_G
___REJ_HH
___REJ_IH
___REJ_IY
___REJ_JH
___REJ_K
___REJ_L
___REJ_M
___REJ_N
___REJ_NG
___REJ_OW
___REJ_OY
___REJ_P
___REJ_R
___REJ_S
___REJ_SH
___REJ_T
…and 10 more.
2014-07-14 11:53:57.898 Flashcards[23135:3c03] Recognition loop has started
INFO: file_omitted(0): Parsing command line:
\
-lm /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary1.DMP \
-beam 1e-96 \
-bestpath no \
-dict /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary1.dic \
-fwdflatbeam 1e-128 \
-hmm /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Flashcards.app/AcousticModelEnglish.bundle \
-lw 6.500000 \
-samprate 16000Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-alpha 0.97 9.700000e-01
-argfile
-ascale 20.0 2.000000e+01
-aw 1 1
-backtrace no no
-beam 1e-48 1.000000e-96
-bestpath yes no
-bestpathlw 9.5 9.500000e+00
-bghist no no
-ceplen 13 13
-cmn current current
-cmninit 8.0 8.0
-compallsen no no
-debug 0
-dict /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary1.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-128
-fwdflatefwid 4 4
-fwdflatlw 8.5 8.500000e+00
-fwdflatsfwin 25 25
-fwdflatwbeam 7e-29 7.000000e-29
-fwdtree yes yes
-hmm /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Flashcards.app/AcousticModelEnglish.bundle
-input_endian little little
-jsgf
-kdmaxbbi -1 -1
-kdmaxdepth 0 0
-kdtree
-latsize 5000 5000
-lda
-ldadim 0 0
-lextreedump 0 0
-lifter 0 0
-lm /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary1.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
-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-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
-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: 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 noCurrent 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-02INFO: file_omitted(0): Parsed model-specific feature parameters from /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Flashcards.app/AcousticModelEnglish.bundle/feat.params
INFO: file_omitted(0): Initializing feature stream to type: ‘1s_c_d_dd’, ceplen=13, CMN=’current’, VARNORM=’no’, AGC=’none’
INFO: file_omitted(0): mean[0]= 12.00, mean[1..12]= 0.0
INFO: file_omitted(0): Using subvector specification 0-12/13-25/26-38
INFO: file_omitted(0): Reading model definition: /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Flashcards.app/AcousticModelEnglish.bundle/mdef
INFO: file_omitted(0): Found byte-order mark BMDF, assuming this is a binary mdef file
INFO: file_omitted(0): Reading binary model definition: /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Flashcards.app/AcousticModelEnglish.bundle/mdef
INFO: file_omitted(0): 50 CI-phone, 143047 CD-phone, 3 emitstate/phone, 150 CI-sen, 5150 Sen, 27135 Sen-Seq
INFO: file_omitted(0): Reading HMM transition probability matrices: /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Flashcards.app/AcousticModelEnglish.bundle/transition_matrices
INFO: file_omitted(0): Attempting to use SCHMM computation module
INFO: file_omitted(0): Reading mixture gaussian parameter: /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Flashcards.app/AcousticModelEnglish.bundle/means
INFO: file_omitted(0): 1 codebook, 3 feature, size:
INFO: file_omitted(0): 256×13
INFO: file_omitted(0): 256×13
INFO: file_omitted(0): 256×13
INFO: file_omitted(0): Reading mixture gaussian parameter: /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Flashcards.app/AcousticModelEnglish.bundle/variances
INFO: file_omitted(0): 1 codebook, 3 feature, size:
INFO: file_omitted(0): 256×13
INFO: file_omitted(0): 256×13
INFO: file_omitted(0): 256×13
INFO: file_omitted(0): 0 variance values floored
INFO: file_omitted(0): Loading senones from dump file /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Flashcards.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): Maximum top-N: 4 Top-N beams: 0 0 0
INFO: file_omitted(0): Allocating 4147 * 32 bytes (129 KiB) for word entries
INFO: file_omitted(0): Reading main dictionary: /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary1.dic
INFO: file_omitted(0): Allocated 0 KiB for strings, 0 KiB for phones
INFO: file_omitted(0): 40 words read
INFO: file_omitted(0): Reading filler dictionary: /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Flashcards.app/AcousticModelEnglish.bundle/noisedict
INFO: file_omitted(0): Allocated 0 KiB for strings, 0 KiB for phones
INFO: file_omitted(0): 11 words read
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 60400 bytes (58 KiB) for word-final triphones
INFO: file_omitted(0): Allocated 60400 bytes (58 KiB) for single-phone word triphones
ERROR: “file_omitted”, line 0: File /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary1.DMP not found
INFO: file_omitted(0): Will use memory-mapped I/O for LM file
INFO: file_omitted(0): ngrams 1=42, 2=80, 3=40
INFO: file_omitted(0): 42 = LM.unigrams(+trailer) read
INFO: file_omitted(0): 80 = LM.bigrams(+trailer) read
INFO: file_omitted(0): 40 = LM.trigrams read
INFO: file_omitted(0): 3 = LM.prob2 entries read
INFO: file_omitted(0): 3 = LM.bo_wt2 entries read
INFO: file_omitted(0): 2 = LM.prob3 entries read
INFO: file_omitted(0): 1 = LM.tseg_base entries read
INFO: file_omitted(0): 42 = ascii word strings read
INFO: file_omitted(0): 1 unique initial diphones
INFO: file_omitted(0): 0 root, 0 non-root channels, 51 single-phone words
INFO: file_omitted(0): Creating search tree
INFO: file_omitted(0): before: 0 root, 0 non-root channels, 51 single-phone words
INFO: file_omitted(0): after: max nonroot chan increased to 132
INFO: file_omitted(0): after: 1 root, 4 non-root channels, 50 single-phone words
INFO: file_omitted(0): fwdflat: min_ef_width = 4, max_sf_win = 25
2014-07-14 11:53:58.252 Flashcards[23135:3c03] Starting openAudioDevice on the simulator. This Simulator-compatible audio driver is only provided to you as a convenience so you can use the Simulator to test recognition logic, however, its audio driver is not supported and bug reports for it will be circular-filed.
2014-07-14 11:53:58.287 Flashcards[23135:3c03] Restoring SmartCMN value of 35.114819
2014-07-14 11:53:59.131 Flashcards[23135:3c03] Calibration has started
2014-07-14 11:54:01.332 Flashcards[23135:3c03] Calibration has completed
2014-07-14 11:54:01.333 Flashcards[23135:3c03] Listening.
2014-07-14 11:54:01.333 Flashcards[23135:613] Started Listening
2014-07-14 11:54:34.916 Flashcards[23135:613] SPASMODIC
2014-07-14 11:54:34.917 Flashcards[23135:613] Vocabulary2
2014-07-14 11:54:35.017 Flashcards[23135:613] I’m done running performDictionaryLookup and it took 0.048521 seconds
2014-07-14 11:54:35.020 Flashcards[23135:613] Starting dynamic language model generation
2014-07-14 11:54:35.021 Flashcards[23135:613] Able to open /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.corpus for reading
2014-07-14 11:54:35.049 Flashcards[23135:613] Able to open /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2_pipe.txt for writing
2014-07-14 11:54:35.049 Flashcards[23135:613] Starting text2wfreq_impl
2014-07-14 11:54:35.070 Flashcards[23135:613] Done with text2wfreq_impl
2014-07-14 11:54:35.070 Flashcards[23135:613] Able to open /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2_pipe.txt for reading.
2014-07-14 11:54:35.071 Flashcards[23135:613] Able to open /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.vocab for reading.
2014-07-14 11:54:35.071 Flashcards[23135:613] Starting wfreq2vocab
2014-07-14 11:54:35.088 Flashcards[23135:613] Done with wfreq2vocab
2014-07-14 11:54:35.089 Flashcards[23135:613] Starting text2idngram
2014-07-14 11:54:35.110 Flashcards[23135:613] Done with text2idngram
2014-07-14 11:54:35.112 Flashcards[23135:613] Starting idngram2lm2014-07-14 11:54:35.115 Flashcards[23135:613] Done with idngram2lm
2014-07-14 11:54:35.115 Flashcards[23135:613] Starting sphinx_lm_convert
INFO: file_omitted(0): Parsing command line:
sphinx_lm_convert \
-i /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.arpa \
-o /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.DMPCurrent configuration:
[NAME] [DEFLT] [VALUE]
-case
-debug 0
-help no no
-i /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.arpa
-ienc
-ifmt
-logbase 1.0001 1.000100e+00
-mmap no no
-o /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.DMP
-oenc utf8 utf8
-ofmtINFO: file_omitted(0): ngrams 1=42, 2=80, 3=40
INFO: file_omitted(0): Reading unigrams
INFO: file_omitted(0): 42 = #unigrams created
INFO: file_omitted(0): Reading bigrams
INFO: file_omitted(0): 80 = #bigrams created
INFO: file_omitted(0): 3 = #prob2 entries
INFO: file_omitted(0): 3 = #bo_wt2 entries
INFO: file_omitted(0): Reading trigrams
INFO: file_omitted(0): 40 = #trigrams created
INFO: file_omitted(0): 2 = #prob3 entries
INFO: file_omitted(0): Building DMP model…
INFO: file_omitted(0): 42 = #unigrams created
INFO: file_omitted(0): 80 = #bigrams created
INFO: file_omitted(0): 3 = #prob2 entries
INFO: file_omitted(0): 3 = #bo_wt2 entries
INFO: file_omitted(0): 40 = #trigrams created
INFO: file_omitted(0): 2 = #prob3 entries
2014-07-14 11:54:35.119 Flashcards[23135:613] Finishing sphinx_lm_convert
2014-07-14 11:54:35.120 Flashcards[23135:613] Done creating language model with CMUCLMTK in 0.099981 seconds.
2014-07-14 11:54:35.120 Flashcards[23135:613] Starting sphinx_lm_convert
INFO: file_omitted(0): Parsing command line:
sphinx_lm_convert \
-i /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.arpa \
-o /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.DMPCurrent configuration:
[NAME] [DEFLT] [VALUE]
-case
-debug 0
-help no no
-i /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.arpa
-ienc
-ifmt
-logbase 1.0001 1.000100e+00
-mmap no no
-o /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.DMP
-oenc utf8 utf8
-ofmtINFO: file_omitted(0): ngrams 1=42, 2=80, 3=40
INFO: file_omitted(0): Reading unigrams
INFO: file_omitted(0): 42 = #unigrams created
INFO: file_omitted(0): Reading bigrams
INFO: file_omitted(0): 80 = #bigrams created
INFO: file_omitted(0): 3 = #prob2 entries
INFO: file_omitted(0): 3 = #bo_wt2 entries
INFO: file_omitted(0): Reading trigrams
INFO: file_omitted(0): 40 = #trigrams created
INFO: file_omitted(0): 2 = #prob3 entries
INFO: file_omitted(0): Building DMP model…
INFO: file_omitted(0): 42 = #unigrams created
INFO: file_omitted(0): 80 = #bigrams created
INFO: file_omitted(0): 3 = #prob2 entries
INFO: file_omitted(0): 3 = #bo_wt2 entries
INFO: file_omitted(0): 40 = #trigrams created
INFO: file_omitted(0): 2 = #prob3 entries
2014-07-14 11:54:35.124 Flashcards[23135:613] Finishing sphinx_lm_convert
2014-07-14 11:54:35.125 Flashcards[23135:613] I’m done running dynamic language model generation and it took 427056875.125829 seconds
2014-07-14 11:54:35.126 Flashcards[23135:613] setSecondsOfSilence value of 0.000000 was too large or too small or was NULL, using default of 0.700000.
2014-07-14 11:54:35.149 Flashcards[23135:3c03] there is a request to change to the language model file /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.DMP
2014-07-14 11:54:35.150 Flashcards[23135:3c03] A request has been made to change an ARPA grammar on the fly. The language model to change to is /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.DMP
2014-07-14 11:54:35.151 Flashcards[23135:3c03] Error: couldn’t get attributes of language model file.
ERROR: “file_omitted”, line 0: File /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.DMP not found
INFO: file_omitted(0): Will use memory-mapped I/O for LM file
INFO: file_omitted(0): ngrams 1=42, 2=80, 3=40
INFO: file_omitted(0): 42 = LM.unigrams(+trailer) read
INFO: file_omitted(0): 80 = LM.bigrams(+trailer) read
INFO: file_omitted(0): 40 = LM.trigrams read
INFO: file_omitted(0): 3 = LM.prob2 entries read
INFO: file_omitted(0): 3 = LM.bo_wt2 entries read
INFO: file_omitted(0): 2 = LM.prob3 entries read
INFO: file_omitted(0): 1 = LM.tseg_base entries read
INFO: file_omitted(0): 42 = ascii word strings read
2014-07-14 11:54:35.173 Flashcards[23135:3c03] languageModelID is 999
INFO: file_omitted(0): 1 unique initial diphones
INFO: file_omitted(0): 0 root, 0 non-root channels, 51 single-phone words
INFO: file_omitted(0): Creating search tree
INFO: file_omitted(0): before: 0 root, 0 non-root channels, 51 single-phone words
ERROR: “file_omitted”, line 0: No word from the language model has pronunciation in the dictionary
INFO: file_omitted(0): after: 0 root, 0 non-root channels, 50 single-phone words
INFO: file_omitted(0): Parsing command line:Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-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
-bghist no no
-ceplen 13 13
-cmn current current
-cmninit 8.0 8.0
-compallsen no no
-debug 0
-dict
-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
-input_endian little little
-jsgf
-kdmaxbbi -1 -1
-kdmaxdepth 0 0
-kdtree
-latsize 5000 5000
-lda
-ldadim 0 0
-lextreedump 0 0
-lifter 0 0
-lm
-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
-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-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
-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: file_omitted(0): Allocating 4147 * 32 bytes (129 KiB) for word entries
INFO: file_omitted(0): Reading main dictionary: /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.dic
INFO: file_omitted(0): Allocated 0 KiB for strings, 0 KiB for phones
INFO: file_omitted(0): 40 words read
INFO: file_omitted(0): Reading filler dictionary: /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Flashcards.app/AcousticModelEnglish.bundle/noisedict
INFO: file_omitted(0): Allocated 0 KiB for strings, 0 KiB for phones
INFO: file_omitted(0): 11 words read
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 60400 bytes (58 KiB) for word-final triphones
INFO: file_omitted(0): Allocated 60400 bytes (58 KiB) for single-phone word triphones
INFO: file_omitted(0): 1 unique initial diphones
INFO: file_omitted(0): 0 root, 0 non-root channels, 51 single-phone words
INFO: file_omitted(0): Creating search tree
INFO: file_omitted(0): before: 0 root, 0 non-root channels, 51 single-phone words
INFO: file_omitted(0): after: 1 root, 7 non-root channels, 50 single-phone words
2014-07-14 11:54:35.290 Flashcards[23135:3c03] Success loading the dictionary file /Users/SameerVijay/Library/Application Support/iPhone Simulator/7.1-64/Applications/8D531DE6-BD29-44C8-8DC1-7FC9EB62BAED/Library/Caches/Vocabulary2.dic.
2014-07-14 11:54:35.291 Flashcards[23135:3c03] There were too many errors to switch the language model or grammar, please search the console for the word ‘error’ to investigate the issues.
2014-07-14 11:54:35.291 Flashcards[23135:3c03] Listening.
2014-07-14 11:54:35.292 Flashcards[23135:613] Started Listening -
AuthorPosts