Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/102.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 苹果语音API-SFTranscriptionSegment';s具有相同的置信值_Ios_Iphone_Ios11 - Fatal编程技术网

Ios 苹果语音API-SFTranscriptionSegment';s具有相同的置信值

Ios 苹果语音API-SFTranscriptionSegment';s具有相同的置信值,ios,iphone,ios11,Ios,Iphone,Ios11,我注意到使用Apple语音框架时出现了一种奇怪的行为 在我自己的应用程序中实现并使用Apple和online提供的示例后,我注意到语音框架总是在语音检测结果之后为每个转录片段返回相同的置信水平 这里是我在这个Q底部使用原始转储执行的测试的格式化数据,您会注意到,对于每个SFTranscription,按索引划分的段具有相同的置信值,尽管是具有不同转录的不同对象 我假设这是不正确的,因为文档中说结果是按信心排序的,最自信的优先 如果有人知道这个问题的解决方法,或者可以告诉我某个地方明确承认存在问题

我注意到使用Apple语音框架时出现了一种奇怪的行为

在我自己的应用程序中实现并使用Apple和online提供的示例后,我注意到语音框架总是在语音检测结果之后为每个转录片段返回相同的置信水平

这里是我在这个Q底部使用原始转储执行的测试的格式化数据,您会注意到,对于每个SFTranscription,按索引划分的段具有相同的置信值,尽管是具有不同转录的不同对象

我假设这是不正确的,因为文档中说结果是按信心排序的,最自信的优先

如果有人知道这个问题的解决方法,或者可以告诉我某个地方明确承认存在问题,这将是非常有帮助的

[
,formattedString=嘿,你今天怎么了?你在找什么东西吗,
分段=(
置信度=0.931,
置信度=0.928,
置信度=0.928,
置信度=0.924,
置信度=0.925,
置信度=0.925,
置信度=0.925,
置信度=0.925,
置信度=0.925,
置信度=0.927,
置信度=0.818349,
置信度=0.942,
置信度=0.826,
), 
,formattedString=你好,你今天怎么了,你在找什么东西吗,
分段=(
置信度=0.6732572,
置信度=0.931,
置信度=0.928,
置信度=0.924,
置信度=0.925,
置信度=0.925,
置信度=0.925,
置信度=0.925,
置信度=0.925,
置信度=0.927,
置信度=0.818349,
置信度=0.942
置信度=0.826,
), 
,formattedString=嘿,你今天怎么了,你在寻找你认为合适的东西,
分段=(
置信度=0.6732572,
置信度=0.931,
置信度=0.928,
置信度=0.928,
置信度=0.924,
置信度=0.925,
置信度=0.925,
置信度=0.925,
置信度=0.925,
置信度=0.925,
置信度=0.927,
置信度=0.818349,
置信度=0.942,
置信度=0.826,
),
,formattedString=嘿,你今天怎么了?你在寻找什么东西吗?你说得对吗=(
置信度=0.6732572,
置信度=0.931,
置信度=0.928,
置信度=0.928,
置信度=0.924,
置信度=0.925,
置信度=0.925,
置信度=0.925,
置信度=0.925,
置信度=0.925,
置信度=0.927,
置信度=0.818349,
置信度=0.942,
置信度=0.826,
)]


[,formattedString=嘿,你今天怎么了?你在找什么东西?你还好吗=(
“,substringRange={0,16},timestamp=0.28,duration=0.52,confidence=0.6732572,substring=Hey They what's,alternativeSubstrings=(\n\“Hello what's\”\n)”,
“,子字符串范围={17,5},时间戳=0.8,持续时间=0.26,置信度=0.931,子字符串=继续,交替子字符串=(\n)”,
“,子字符串范围={23,2},时间戳=1.06,持续时间=0.0999999999987,置信度=0.928,子字符串=开,交替子字符串=(\n)”,
“,子字符串范围={26,4},时间戳=1.16,持续时间=0.15000000000001,置信度=0.928,子字符串=带,交替子字符串=(\n)”,
“,substringRange={31,3},timestamp=1.31,duration=0.109999999999,confidence=0.924,substring=you,alternativeSubstrings=(\n)”,
“,substringRange={35,5},timestamp=1.42,duration=0.32000000001,confidence=0.925,substring=today,alternativesubstring=(\n)”,
“,子字符串范围={41,3},时间戳=1.74,持续时间=0.160000000000001,置信度=0.925,子字符串=如何,可选子字符串=(\n)”,
“,子字符串范围={45,3},时间戳=1.9,持续时间=0.1100000000000001,置信度=0.925,子字符串=are,可选子字符串=(\n)”,
“,substringRange={49,3},timestamp=2.01,duration=0.169999999999,confidence=0.925,substring=you,alternativeSubstrings=(\n)”,
“,子字符串范围={53,7},时间戳=2.18,持续时间=0.330000000000001,置信度=0.925,子字符串=查找,交替子字符串=(\n)”,
“,substringRange={61,3},timestamp=2.51,duration=0.119999999997,confidence=0.927,substring=for,alternativesubstring=(\n)”,
“,substringRange={65,10},timestamp=2.63,duration=0.3800000000000003,confidence=0.818349,substring=things is,alternativesubstring=(\n\“things that\”\n)”,
“,substringRange={76,3},timestamp=3.01,duration=0.14999999999999,confidence=0.942,substring=you,alternativeSubstrings=(\n)”,
,子字符串范围={80,7},时间戳=3.16,持续时间=1.62,置信度=0.826,子字符串=正确,交替子字符串=(\n\“正确\”\n)
),formattedString=你好,你今天怎么了?你在找什么东西吗?你还好吗=(
“,substringRange={0,12},timestamp=0.28,duration=0.52,confidence=0.6732572,substring=Hello what's,alternativeSubstrings=(\n\“嘿,这是什么””\n)”,
“,substringRange={13,5},timestamp=0.8,duration=0.26,confidence=0.931,substring=go,alternativesubstring=(\n)”,
“,子字符串范围={19,2},时间戳=1.06,持续时间=0.0999999999987,置信度=0.928,子字符串=开,交替子字符串=(\n)”,
“,子字符串范围={22,4},时间戳=1.16,持续时间=0.15000000000001,置信度=0.928,子字符串=带,交替子字符串=(\n)”,
“,substringRange={27,3},timestamp=1.31,duration=0.109999999999,confidence=0.924,substring=you,alternativeSubstrings=(\n)”,
“,substringRange={31,5},timestamp=1.42,duration=0.32000000001,confidence=0.925,substring=today,alternativesubstring=(\n)”,
“,子字符串范围={37,3},时间戳=1.74,持续时间=0.160000000000001,置信度=0.925,子字符串=如何,可选子字符串=(\n)”,
,substringRange={41,3},timestamp=1