Sdílet prostřednictvím


EmbeddedSpeechConfig Class

Definition

Class that defines embedded (offline) speech configuration.

public sealed class EmbeddedSpeechConfig
type EmbeddedSpeechConfig = class
Public NotInheritable Class EmbeddedSpeechConfig
Inheritance
EmbeddedSpeechConfig

Properties

KeywordRecognitionModelName

Gets the model name for keyword recognition.

SpeechRecognitionModelName

Gets the model name for speech recognition.

SpeechRecognitionOutputFormat

Gets/sets the speech recognition output format (simple or detailed).

SpeechSynthesisOutputFormat

Gets the output format of synthesized speech. Example value: riff-16khz-16bit-mono-pcm

SpeechSynthesisVoiceName

Gets the voice name for embedded speech synthesis.

SpeechTranslationModelName

Gets the model name for speech translation.

Methods

FromPath(String)

Creates an instance of the embedded speech config with a specified offline model path.

FromPaths(String[])

Creates an instance of the embedded speech config with specified offline model paths.

GetProperty(PropertyId)

Gets a property value by ID.

GetProperty(String)

Gets a property value by name.

GetSpeechRecognitionModels()

Gets a list of available speech recognition models.

GetSpeechTranslationModels()

Gets a list of available speech translation models.

SetKeywordRecognitionModel(String, String)

Sets the model for keyword recognition. This is for customer specific models that are tailored for detecting wake words and direct commands.

SetProfanity(ProfanityOption)

Sets the profanity option. This can be used to remove profane words or mask them.

SetProperty(PropertyId, String)

Sets a property value by ID.

SetProperty(String, String)

Sets a property value by name.

SetSpeechRecognitionModel(String, String)

Sets the model for speech recognition.

SetSpeechSynthesisOutputFormat(SpeechSynthesisOutputFormat)

Sets the speech synthesis audio output format.

SetSpeechSynthesisVoice(String, String)

Sets the voice for embedded speech synthesis.

SetSpeechTranslationModel(String, String)

Sets the model for speech translation.

Applies to