你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

KeywordRecognitionModel Class

Definition

Represents keyword recognition model that can trigger an event when pre-defined keywords are spoken.

public sealed class KeywordRecognitionModel : IDisposable
type KeywordRecognitionModel = class
    interface IDisposable
Public NotInheritable Class KeywordRecognitionModel
Implements IDisposable
Inheritance
KeywordRecognitionModel
Implements

Remarks

See also: Get started with Custom Keyword

Methods

Dispose()

Dispose of associated resources.

FromConfig(EmbeddedSpeechConfig, String[])

Creates a keyword recognition model using the specified embedded speech config and user-defined wake words.

FromConfig(EmbeddedSpeechConfig)

Creates a keyword recognition model using the specified embedded speech config.

FromFile(String)

Creates a keyword recognition model using the specified .table file.

Applies to