Compartilhar via


SourceLanguageRecognizer Construtores

Definição

Sobrecargas

SourceLanguageRecognizer(SpeechConfig, AutoDetectSourceLanguageConfig)

Cria uma nova instância de SourceLanguageRecognizer que determina o idioma de origem de diferentes modos languageId e prioridades.

SourceLanguageRecognizer(SpeechConfig, AutoDetectSourceLanguageConfig, AudioConfig)

Cria uma nova instância de SourceLanguageRecognizer.

SourceLanguageRecognizer(SpeechConfig, AutoDetectSourceLanguageConfig)

Cria uma nova instância de SourceLanguageRecognizer que determina o idioma de origem de diferentes modos languageId e prioridades.

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)

Parâmetros

speechConfig
SpeechConfig

Configuração de fala

autoDetectSourceLanguageConfig
AutoDetectSourceLanguageConfig

Configuração que especifica os idiomas a serem buscados na fala de origem para sintetizar

Comentários

Consulte também: Detecção automática de idioma para conversão de fala em texto

Aplica-se a

SourceLanguageRecognizer(SpeechConfig, AutoDetectSourceLanguageConfig, AudioConfig)

Cria uma nova instância de 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)

Parâmetros

speechConfig
SpeechConfig

Configuração de fala

autoDetectSourceLanguageConfig
AutoDetectSourceLanguageConfig

Uma instância que especifica possíveis idiomas de origem na fala.

audioConfig
AudioConfig

Configuração de áudio

Aplica-se a