EmbeddedSpeechConfig Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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: |
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應