简体   繁体   中英

What is utteranceID parameter in Openears ios library callback?

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!

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM