简体   繁体   English

Openears ios库回调中的utteranceID参数是什么?

[英]What is utteranceID parameter in Openears ios library callback?

the callback of openears is openears的回调是

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

hypothesis is the text itself and score is self explained. 假设是文本本身,分数是自我解释。 what is utteranceID? 什么是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. 它只是非常古老的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. 最初,在Pocketsphinx中,API允许为它开始识别的每种话语设置ID,因此,在Pocketsphinx日志中,识别出的结果将归因于特定的wav文件。 Now there is no much need in that and this parameter will be removed from pocketsphinx API most likely. 现在不再需要此参数,并且很可能会从Pocketsphinx API中删除此参数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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