Hi Halle,
Thanks for responding to my forum question regarding to n-best hypothesis previously. I fully understand you might not be able to have time to write sample code. However, I would highly appreciate I could receive a little bit further guidance.
I did set the OEPocketsphinxController.sharedInstance().reterunNbest to be true and nBestNumber property to be 2.
The property is set right after the sharedinstance is set active(true) in viewcontroller. I verified this by setting verbosePocketSphinx to be true and I could receive extensive logging.
I did my best to review the documentations and double-checked the OEEventsObserver delegate and callbacks portion. It seems to be me that the sampleswift code has all set up properly (headers etc).
Therefore, I added the following delegate method of OEEventsObserver in the viewController. However, the output window report nothings when app is running.
func pocketsphinxDidReceiveNBestHypothesisArray(_ hypothesisArray: [Any]!) {
print(“Local callback test)”)
}
Thanks a lot for your support.