PhraseRecognizer

class in UnityEngine.Windows.Speech

매뉴얼로 전환

설명

A common base class for both keyword recognizer and grammar recognizer.

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.

변수

IsRunningTells whether the phrase recognizer is listening for phrases.

Public 함수

DisposeDisposes the resources used by phrase recognizer.
StartMakes the phrase recognizer start listening to phrases.
StopStops the phrase recognizer from listening to phrases.

Events

OnPhraseRecognizedEvent that gets fired when the phrase recognizer recognizes a phrase.

델리게이트

PhraseRecognizedDelegateDelegate for OnPhraseRecognized event.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961