元编程参考文档

关键短语检出

5 个节点

本页内容 5

置信度

函数

PocketSphinx's confidence in the detection, from 0 to 1: how far the phrase's score was above the best of everything else that could have been said there.

签名
置信度(Key Phrase Detection: Key Phrase Detection) -> 数字
double Confidence(KeyPhraseDetection Key Phrase Detection)

参数

名称类型默认值说明
Key Phrase DetectionKey Phrase Detection—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
关键短语检出
所属包
音频处理

时长

函数

How long it lasts, in seconds.

签名
时长(Key Phrase Detection: Key Phrase Detection) -> 数字
double Duration(KeyPhraseDetection Key Phrase Detection)

参数

名称类型默认值说明
Key Phrase DetectionKey Phrase Detection—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
关键短语检出
所属包
音频处理

短语

函数

The phrase, as it was listened for.

签名
短语(Key Phrase Detection: Key Phrase Detection) -> 文本
string Phrase(KeyPhraseDetection Key Phrase Detection)

参数

名称类型默认值说明
Key Phrase DetectionKey Phrase Detection—

返回

结果文本
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
关键短语检出
所属包
音频处理

开始

函数

When it starts, in seconds from the start of the clip.

签名
开始(Key Phrase Detection: Key Phrase Detection) -> 数字
double Start(KeyPhraseDetection Key Phrase Detection)

参数

名称类型默认值说明
Key Phrase DetectionKey Phrase Detection—

返回

结果数字
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
关键短语检出
所属包
音频处理

转为文本

函数

The phrase, its time and its confidence on one line.

签名
转为文本(Key Phrase Detection: Key Phrase Detection) -> 文本
string ToString(KeyPhraseDetection Key Phrase Detection)

参数

名称类型默认值说明
Key Phrase DetectionKey Phrase Detection—

返回

结果文本
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
关键短语检出
所属包
音频处理