元編程參考文件

關鍵短語檢出

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—

返回

結果文字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
關鍵短語檢出
所屬包
音訊處理