2

openears 的回调是

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

假设是文本本身,分数是自我解释的。什么是 utteranceID?

谢谢分配!

4

1 回答 1

3

这并不意味着什么重要的,你可以忽略这个参数。它只是一个非常古老的 pocketsphinx API 的产物。

最初在 pocketsphinx 中,API 允许为它开始识别的每个话语设置 ID,以便在 pocketsphinx 日志中识别的结果归因于某个 wav 文件。现在没有太多需要了,这个参数很可能会从 pocketsphinx API 中删除。

于 2014-05-28T13:34:12.203 回答