GrammarRecognizer
Creates a grammar recognizer using specified file path and minimum confidence.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Constructor
- Namespace: UnityEngine.Windows.Speech
- Assembly: UnityEngine.CoreModule
GrammarRecognizer(string)
Creates a grammar recognizer using specified file path and minimum confidence.
public GrammarRecognizer(string grammarFilePath)
Parameters
Path of the grammar file.
Remarks
Note: only one grammar recognizer can be created at a time with the same grammar file.
GrammarRecognizer(string, ConfidenceLevel)
Creates a grammar recognizer using specified file path and minimum confidence.
public GrammarRecognizer(string grammarFilePath, ConfidenceLevel minimumConfidence)
Parameters
Path of the grammar file.
The confidence level at which the recognizer will begin accepting phrases.
Remarks
Note: only one grammar recognizer can be created at a time with the same grammar file.