Home › Forums › OpenEars › Change vocabulary array on the fly? › Reply To: Change vocabulary array on the fly?
January 13, 2014 at 11:01 pm
#1019426
davestrand
Participant
Yeah, ‘busted’.. I was being lazy and couldn’t suss out how to keep all the other functionality of your “Change Model” example, so I forced it to “Change Model” early on. I don’t think it ever changes back after that first change command.
I’ll buckle down and try and streamline the integration by defaulting to the correct vocabulary. It’s a bit (lot) over my head, but I like to learn.
The last bit of code that may pertain is located in pocketsphinxDidReceiveHypothesis… which among other things has this inside.
[self reLoadLanguageBasedOnNewVariables];