Home › Forums › OpenEars plugins › After installing RapidEars, words in the vocabulary are not recognized any more
- This topic has 5 replies, 2 voices, and was last updated 9 years, 3 months ago by Halle Winkler.
-
AuthorPosts
-
January 18, 2015 at 4:26 am #1024382zhouseanParticipant
My app started with the core OpenEars 2.0. And it recognize the words in the vocabulary. I then purchased Rejecto to ignore words that are not in the vocabulary. This worked as well.
As sometimes I feel there are some delays before OpenEars recognizes words, I purchased RapidEars. Therefore my app is running with Core OpenEars + Rejecto + RapidEars. The logs show much faster activities but the app doesn’t recognize any words in the vocabulary.
I copied a segment of my logs and pasted below:
2015-01-17 22:25:08.508 MaydayApp[8523:3490110] Speech detected…
2015-01-17 22:25:08.509 MaydayApp[8523:3487930] Pocketsphinx has detected speech.
2015-01-17 22:25:08.510 MaydayApp[8523:3490110] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-17 22:25:08.510 MaydayApp[8523:3490110] End of speech detected…
2015-01-17 22:25:08.511 MaydayApp[8523:3487930] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-17 22:25:08.524 MaydayApp[8523:3489587] Pocketsphinx heard ” ” with a score of (-2105) and an utterance ID of 1417.
2015-01-17 22:25:08.523 MaydayApp[8523:3490110] Pocketsphinx heard ” ” with a score of (-2105) and an utterance ID of 1416.
2015-01-17 22:25:08.525 MaydayApp[8523:3490110] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-17 22:25:12.990 MaydayApp[8523:3488880] Speech detected…
2015-01-17 22:25:12.991 MaydayApp[8523:3487930] Pocketsphinx has detected speech.
2015-01-17 22:25:12.993 MaydayApp[8523:3488880] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-17 22:25:12.993 MaydayApp[8523:3488880] End of speech detected…
2015-01-17 22:25:12.994 MaydayApp[8523:3487930] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-17 22:25:13.006 MaydayApp[8523:3488880] Pocketsphinx heard ” ” with a score of (-2517) and an utterance ID of 1418.
2015-01-17 22:25:13.007 MaydayApp[8523:3488880] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-17 22:25:13.008 MaydayApp[8523:3490110] Pocketsphinx heard ” ” with a score of (0) and an utterance ID of 1419.
2015-01-17 22:25:13.012 MaydayApp[8523:3490110] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-17 22:25:18.243 MaydayApp[8523:3488880] Speech detected…
2015-01-17 22:25:18.244 MaydayApp[8523:3487930] Pocketsphinx has detected speech.
2015-01-17 22:25:18.245 MaydayApp[8523:3488880] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-17 22:25:18.246 MaydayApp[8523:3488880] End of speech detected…January 18, 2015 at 8:57 am #1024384Halle WinklerPolitepixWelcome,
There isn’t any known issue with RapidEars and recognizing a standard vocabulary, so I’d need a bit more information. Can you show me your complete logging (not a segment) with OELogging and verbosePocketsphinx turned on? I would also need to know what your RapidEars settings are (which RapidEars properties you have set to which values, and which delegate methods you are receiving hypotheses in).
January 19, 2015 at 2:36 am #1024408zhouseanParticipantHere is a more complete log file. I didn’t see any RapidEars settings. Delegate methods I used the following two:
– (void) rapidEarsDidReceiveLiveSpeechHypothesis:(NSString *)hypothesis recognitionScore:(NSString *)recognitionScore {
NSLog(@”rapidEarsDidReceiveLiveSpeechHypothesis: %@”,hypothesis);
}– (void) rapidEarsDidReceiveFinishedSpeechHypothesis:(NSString *)hypothesis recognitionScore:(NSString *)recognitionScore {
NSLog(@”rapidEarsDidReceiveFinishedSpeechHypothesis: %@”,hypothesis);
}============== log starts here =================
Jan 18 20:32:53 Salsa6 MaydayApp[8876] <Notice>: Debugger is attached. Unhandled Crash Reporting is disabled!
2015-01-18 20:32:53.136 MaydayApp[8876:3610405] Starting OpenEars logging for OpenEars version 2.0 on 64-bit device (or build): iPhone running iOS version: 8.100000
2015-01-18 20:32:53.228 MaydayApp[8876:3610405] I’m done running performDictionaryLookup and it took 0.044007 seconds
2015-01-18 20:32:53.238 MaydayApp[8876:3610405] Starting dynamic language model generation2015-01-18 20:32:53.306 MaydayApp[8876:3610405] Done creating language model with CMUCLMTK in 0.067565 seconds.
2015-01-18 20:32:53.310 MaydayApp[8876:3610405] I’m done running dynamic language model generation and it took 0.169273 seconds
2015-01-18 20:32:53.311 MaydayApp[8876:3610405] Creating shared instance of OEPocketsphinxController
2015-01-18 20:32:53.335 MaydayApp[8876:3610405] Attempting to start listening session from startRealtimeListeningWithLanguageModelAtPath:
2015-01-18 20:32:53.349 MaydayApp[8876:3610405] User gave mic permission for this app.
2015-01-18 20:32:53.350 MaydayApp[8876:3610405] setSecondsOfSilence wasn’t set, using default of 0.700000.
2015-01-18 20:32:53.351 MaydayApp[8876:3610405] Successfully started listening session from startRealtimeListeningWithLanguageModelAtPath:
2015-01-18 20:32:53.352 MaydayApp[8876:3610515] Starting listening.
2015-01-18 20:32:53.352 MaydayApp[8876:3610515] about to set up audio session
2015-01-18 20:32:53.710 MaydayApp[8876:3610519] Audio route has changed for the following reason:
2015-01-18 20:32:53.714 MaydayApp[8876:3610519] There was a category change. The new category is AVAudioSessionCategoryPlayAndRecord
2015-01-18 20:32:53.955 MaydayApp[8876:3610515] done starting audio unit
2015-01-18 20:32:53.959 MaydayApp[8876:3610519] This is not a case in which OpenEars notifies of a route change. At the close of this function, the new audio route is —SpeakerMicrophoneBuiltIn—. The previous route before changing to this route was <AVAudioSessionRouteDescription: 0x170217b10,
inputs = (null);
outputs = (
“<AVAudioSessionPortDescription: 0x170217970, type = Speaker; name = Speaker; UID = Speaker; selectedDataSource = (null)>”
)>.
2015-01-18 20:32:54.069 MaydayApp[8876:3610515] There was no previous CMN value in the plist so we are using the fresh CMN value 42.000000.
2015-01-18 20:32:54.069 MaydayApp[8876:3610515] Listening.
2015-01-18 20:32:54.070 MaydayApp[8876:3610515] 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 16 more.
2015-01-18 20:32:54.071 MaydayApp[8876:3610515] Recognition loop has started
2015-01-18 20:32:54.326 MaydayApp[8876:3610405] Pocketsphinx is now listening.
2015-01-18 20:32:54.346 MaydayApp[8876:3610509] Entering Open
2015-01-18 20:32:54.348 MaydayApp[8876:3610509] [ENTRY] -[ELM327 initScanTool] (97)
2015-01-18 20:32:54.349 MaydayApp[8876:3610509] [INFO] -[ELM327 initScanTool] (99): Initializing ELM327
2015-01-18 20:32:54.351 MaydayApp[8876:3610509] [DEBUG] -[ELM327 initScanTool] (108): _inputStream status = 00000001
2015-01-18 20:32:54.352 MaydayApp[8876:3610509] [DEBUG] -[ELM327 initScanTool] (109): _outputStream status = 00000001
2015-01-18 20:32:54.484 MaydayApp[8876:3610405] [INFO] -[FirstViewController scanDidStart:] (365): STARTED SCAN
2015-01-18 20:32:57.953 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:32:57.953 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:32:57.953 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:32:57.953 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:32:57.954 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:32:57.955 MaydayApp[8876:3610478] Pocketsphinx heard ” ” with a score of (-2151) and an utterance ID of 0.
2015-01-18 20:32:57.955 MaydayApp[8876:3610478] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:32:57.968 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-2601) and an utterance ID of 1.
2015-01-18 20:32:57.968 MaydayApp[8876:3610515] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:32:58.248 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:32:58.251 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:32:58.252 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-4130) and an utterance ID of 2.
2015-01-18 20:32:58.252 MaydayApp[8876:3610497] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:32:58.253 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:32:58.253 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:32:58.254 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:32:58.269 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-4753) and an utterance ID of 3.
2015-01-18 20:32:58.270 MaydayApp[8876:3610515] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:32:58.413 MaydayApp[8876:3610497] Speech detected…
2015-01-18 20:32:58.414 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:32:58.414 MaydayApp[8876:3610497] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:32:58.414 MaydayApp[8876:3610497] End of speech detected…
2015-01-18 20:32:58.414 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:32:58.414 MaydayApp[8876:3610478] Pocketsphinx heard ” ” with a score of (-2502) and an utterance ID of 4.
2015-01-18 20:32:58.415 MaydayApp[8876:3610478] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:32:58.420 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-3210) and an utterance ID of 5.
2015-01-18 20:32:58.420 MaydayApp[8876:3610497] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:00.739 MaydayApp[8876:3610497] Speech detected…
2015-01-18 20:33:00.739 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:00.739 MaydayApp[8876:3610497] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:00.740 MaydayApp[8876:3610497] End of speech detected…
2015-01-18 20:33:00.740 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:00.742 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-2353) and an utterance ID of 6.
2015-01-18 20:33:00.744 MaydayApp[8876:3610515] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:00.751 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-2973) and an utterance ID of 7.
2015-01-18 20:33:00.751 MaydayApp[8876:3610497] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:00.982 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:33:00.982 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:00.982 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:00.982 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:33:00.983 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:00.983 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-1715) and an utterance ID of 8.
2015-01-18 20:33:00.983 MaydayApp[8876:3610497] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:00.991 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-2474) and an utterance ID of 9.
2015-01-18 20:33:00.992 MaydayApp[8876:3610515] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:01.238 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:33:01.239 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:01.239 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:01.240 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:33:01.241 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:01.242 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-2075) and an utterance ID of 10.
2015-01-18 20:33:01.242 MaydayApp[8876:3610497] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:01.249 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-2515) and an utterance ID of 11.
2015-01-18 20:33:01.249 MaydayApp[8876:3610515] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:01.506 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:33:01.506 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:01.507 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:01.507 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:33:01.507 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:01.509 MaydayApp[8876:3610478] Pocketsphinx heard ” ” with a score of (-3662) and an utterance ID of 12.
2015-01-18 20:33:01.514 MaydayApp[8876:3610478] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:01.526 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-5026) and an utterance ID of 13.
2015-01-18 20:33:01.527 MaydayApp[8876:3610515] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:02.918 MaydayApp[8876:3610497] Speech detected…
2015-01-18 20:33:02.921 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:02.926 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-1907) and an utterance ID of 14.
2015-01-18 20:33:02.926 MaydayApp[8876:3610515] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:02.931 MaydayApp[8876:3610497] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:02.936 MaydayApp[8876:3610497] End of speech detected…
2015-01-18 20:33:02.938 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:02.957 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-2471) and an utterance ID of 15.
2015-01-18 20:33:02.965 MaydayApp[8876:3610497] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:03.166 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:33:03.166 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:03.167 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:03.167 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:33:03.167 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:03.168 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (-1430) and an utterance ID of 16.
2015-01-18 20:33:03.168 MaydayApp[8876:3610497] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:03.176 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-1780) and an utterance ID of 17.
2015-01-18 20:33:03.176 MaydayApp[8876:3610515] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:03.410 MaydayApp[8876:3610515] Speech detected…
2015-01-18 20:33:03.411 MaydayApp[8876:3610405] Pocketsphinx has detected speech.
2015-01-18 20:33:03.411 MaydayApp[8876:3610515] An utterance appears to be stuck in listening mode. Exiting stuck utterance.
2015-01-18 20:33:03.411 MaydayApp[8876:3610515] End of speech detected…
2015-01-18 20:33:03.411 MaydayApp[8876:3610405] Pocketsphinx has detected a period of silence, concluding an utterance.
2015-01-18 20:33:03.416 MaydayApp[8876:3610515] Pocketsphinx heard ” ” with a score of (-1808) and an utterance ID of 18.
2015-01-18 20:33:03.416 MaydayApp[8876:3610515] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.
2015-01-18 20:33:03.417 MaydayApp[8876:3610497] Pocketsphinx heard ” ” with a score of (0) and an utterance ID of 19.
2015-01-18 20:33:03.417 MaydayApp[8876:3610497] Hypothesis was null so we aren’t returning it. If you want null hypotheses to also be returned, set OEPocketsphinxController’s property returnNullHypotheses to TRUE before starting OEPocketsphinxController.January 19, 2015 at 8:29 am #1024412Halle WinklerPolitepixOK, please update OpenEars and your plugins to the newest versions: https://www.politepix.com/openears/changelog
https://www.politepix.com/rapidears-changelog
https://www.politepix.com/rejecto-changelogJanuary 20, 2015 at 4:18 am #1024439zhouseanParticipantAfter upgrading to OpenEars 2.03, the problem disappeared. Thanks Halle!
January 20, 2015 at 8:08 am #1024444Halle WinklerPolitepixGreat to hear! You’re welcome.
-
AuthorPosts
- You must be logged in to reply to this topic.