What is utteranceID parameter in Openears ios library callback?

347 Views Asked by At

the callback of openears is

- (void) pocketsphinxDidReceiveHypothesis:(NSString *)hypothesis recognitionScore:(NSString *)recognitionScore utteranceID:(NSString *)utteranceID 

hypothesis is the text itself and score is self explained. what is utteranceID?

thanks allot!

1

There are 1 best solutions below

1
On BEST ANSWER

It doesn't mean anything significant, you can ignore this parameter. It is just an artifact of a very old pocketsphinx API.

Originally in pocketsphinx the API allowed to set the ID for every utterance it starts recognizing, so that in pocketsphinx log the recognized results are attributed to a certain wav file. Now there is no much need in that and this parameter will be removed from pocketsphinx API most likely.