ドキュメント

Unity Engine

Unity Engine

GrammarRecognizer

Creates a grammar recognizer using specified file path and minimum confidence.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

GrammarRecognizer(string)

Creates a grammar recognizer using specified file path and minimum confidence.
public GrammarRecognizer(string grammarFilePath)

Parameters

grammarFilePath

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

grammarFilePath

Path of the grammar file.

minimumConfidence

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.