PhraseRecognizer

class in UnityEngine.Windows.Speech

Switch to Manual

Description

一个关键字识别器和语法识别器的通用基类。

Phrase recognizer is the smallest speech recognition unit that can be individually started and stopped. Typically, you should create all your phrase recognizers at the start of the Scene, and the start and stop them on demand as needed.

Variables

IsRunning判断短语识别器是否在监听短语。

Public Functions

Dispose处置短语识别器使用的资源。
Start使短语识别器开始监听短语。
Stop使短语识别器停止监听短语。

Events

OnPhraseRecognized当短语识别器识别短语时触发的事件。

Delegates

PhraseRecognizedDelegateOnPhraseRecognized 事件的委托。