Reply To: Performance information when using wav file

Home Forums OpenEars Performance information when using wav file Reply To: Performance information when using wav file

#1017439
nh3500
Participant

This the log showed with wav file:

2013-06-07 21:03:47.928 OpenEarsSampleApp[1758:907] The received hypothesis is 床 with a score of -305 and an ID of 000000000
2013-06-07 21:03:49.395 OpenEarsSampleApp[1758:907] Flite has started speaking
2013-06-07 21:03:50.732 OpenEarsSampleApp[1758:907] Flite has finished speaking

And this is the log with continuous recognition:

2013-06-07 21:05:03.054 OpenEarsSampleApp[1770:907] Pocketsphinx has detected speech.
2013-06-07 21:05:04.330 OpenEarsSampleApp[1770:907] Pocketsphinx has detected a second of silence, concluding an utterance.
INFO: cmn_prior.c(121): cmn_prior_update: from < 8.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(139): cmn_prior_update: to < 11.95 -0.01 -0.16 0.08 -0.27 -0.20 -0.07 -0.31 -0.24 -0.19 -0.23 -0.10 -0.24 >
INFO: ngram_search_fwdtree.c(1549): 468 words recognized (5/fr)
INFO: ngram_search_fwdtree.c(1551): 9619 senones evaluated (98/fr)
INFO: ngram_search_fwdtree.c(1553): 3634 channels searched (37/fr), 188 1st, 3446 last
INFO: ngram_search_fwdtree.c(1557): 849 words for which last channels evaluated (8/fr)
INFO: ngram_search_fwdtree.c(1560): 175 candidate words for entering last phone (1/fr)
INFO: ngram_search_fwdtree.c(1562): fwdtree 0.88 CPU 0.896 xRT
INFO: ngram_search_fwdtree.c(1565): fwdtree 1.78 wall 1.821 xRT
INFO: ngram_search_fwdflat.c(302): Utterance vocabulary contains 4 words
INFO: ngram_search_fwdflat.c(937): 410 words recognized (4/fr)
INFO: ngram_search_fwdflat.c(939): 11448 senones evaluated (117/fr)
INFO: ngram_search_fwdflat.c(941): 4525 channels searched (46/fr)
INFO: ngram_search_fwdflat.c(943): 968 words searched (9/fr)
INFO: ngram_search_fwdflat.c(945): 237 word transitions (2/fr)
INFO: ngram_search_fwdflat.c(948): fwdflat 0.75 CPU 0.763 xRT
INFO: ngram_search_fwdflat.c(951): fwdflat 0.75 wall 0.765 xRT
INFO: ngram_search.c(1214): </s> not found in last frame, using <sil>.96 instead
INFO: ngram_search.c(1266): lattice start node <s>.0 end node <sil>.46
INFO: ngram_search.c(1294): Eliminated 23 nodes before end node
INFO: ngram_search.c(1399): Lattice has 62 nodes, 35 links
INFO: ps_lattice.c(1367): Normalizer P(O) = alpha(<sil>:46:96) = -252498
INFO: ps_lattice.c(1405): Joint P(O,S) = -252548 P(S|O) = -50
INFO: ngram_search.c(888): bestpath 0.01 CPU 0.007 xRT
INFO: ngram_search.c(891): bestpath 0.00 wall 0.002 xRT
2013-06-07 21:05:05.254 OpenEarsSampleApp[1770:907] The received hypothesis is 起 with a score of -50 and an ID of 000000000
2013-06-07 21:05:05.620 OpenEarsSampleApp[1770:907] Pocketsphinx is now listening.
2013-06-07 21:05:05.625 OpenEarsSampleApp[1770:907] Flite has started speaking
2013-06-07 21:05:07.418 OpenEarsSampleApp[1770:907] Flite has finished speaking

And I checked the code of PocketsphinxController.mm. I found in the method runRecognitionOnWavFileAtPath, there is no following line of code:
if(self.verbosePocketSphinx == 1) verbose_pocketsphinx = 1;

May this be the reason why there is no log from pocketsphinx? However, I have no idea how to change and test it directly in OpenEarsSampleApp project…I found the code from OpenEars project, but in OpenEarsSampleApp project, it seems working with one complicated object named OpenEars in following path OpenEarsDistributionPreview/Framework/OpenEars.framework/Versions/A/OpenEars