SourceLanguageRecognizer Constructors
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.
Overloads
SourceLanguageRecognizer(SpeechConfig, AutoDetectSourceLanguageConfig) |
Creates a new instance of SourceLanguageRecognizer that determines the source language from a different languageId modes and priorities. |
SourceLanguageRecognizer(SpeechConfig, AutoDetectSourceLanguageConfig, AudioConfig) |
Creates a new instance of SourceLanguageRecognizer. |
SourceLanguageRecognizer(SpeechConfig, AutoDetectSourceLanguageConfig)
Creates a new instance of SourceLanguageRecognizer that determines the source language from a different languageId modes and priorities.
public SourceLanguageRecognizer (Microsoft.CognitiveServices.Speech.SpeechConfig speechConfig, Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig autoDetectSourceLanguageConfig);
new Microsoft.CognitiveServices.Speech.SourceLanguageRecognizer : Microsoft.CognitiveServices.Speech.SpeechConfig * Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig -> Microsoft.CognitiveServices.Speech.SourceLanguageRecognizer
Public Sub New (speechConfig As SpeechConfig, autoDetectSourceLanguageConfig As AutoDetectSourceLanguageConfig)
Parameters
- speechConfig
- SpeechConfig
Speech configuration
- autoDetectSourceLanguageConfig
- AutoDetectSourceLanguageConfig
Configuration that specifies the language(s) to look for in the source speech to synthesize
Remarks
See also: Automatic language detection for speech to text
Applies to
SourceLanguageRecognizer(SpeechConfig, AutoDetectSourceLanguageConfig, AudioConfig)
Creates a new instance of SourceLanguageRecognizer.
public SourceLanguageRecognizer (Microsoft.CognitiveServices.Speech.SpeechConfig speechConfig, Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig autoDetectSourceLanguageConfig, Microsoft.CognitiveServices.Speech.Audio.AudioConfig audioConfig);
new Microsoft.CognitiveServices.Speech.SourceLanguageRecognizer : Microsoft.CognitiveServices.Speech.SpeechConfig * Microsoft.CognitiveServices.Speech.AutoDetectSourceLanguageConfig * Microsoft.CognitiveServices.Speech.Audio.AudioConfig -> Microsoft.CognitiveServices.Speech.SourceLanguageRecognizer
Public Sub New (speechConfig As SpeechConfig, autoDetectSourceLanguageConfig As AutoDetectSourceLanguageConfig, audioConfig As AudioConfig)
Parameters
- speechConfig
- SpeechConfig
Speech configuration
- autoDetectSourceLanguageConfig
- AutoDetectSourceLanguageConfig
An instance that specifies possible source languages in the speech.
- audioConfig
- AudioConfig
Audio configuration
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기