Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


KeywordRecognizer

Create a KeywordRecognizer which listens to specified keywords with the specified minimum confidence. Phrases under the specified minimum level will be ignored.
Read time 1 minuteLast updated 9 days ago

Definition

KeywordRecognizer(string[])

Create a KeywordRecognizer which listens to specified keywords with the specified minimum confidence. Phrases under the specified minimum level will be ignored.
public KeywordRecognizer(string[] keywords)

Parameters

keywords

The keywords that the recognizer will listen to.

Remarks

If no minimum confidence level is specified, then the confidence level is assumed to be Medium.

KeywordRecognizer(string[], ConfidenceLevel)

Create a KeywordRecognizer which listens to specified keywords with the specified minimum confidence. Phrases under the specified minimum level will be ignored.
public KeywordRecognizer(string[] keywords, ConfidenceLevel minimumConfidence)

Parameters

keywords

The keywords that the recognizer will listen to.

minimumConfidence

The minimum confidence level of speech recognition that the recognizer will accept.

Remarks

If no minimum confidence level is specified, then the confidence level is assumed to be Medium.