AutoDetectSourceLanguageConfig Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. AutoDetectSourceLanguageConfig
- com.
Implements
public final class AutoDetectSourceLanguageConfig
implements java.lang.AutoCloseable
Represents auto detect source language configuration used for specifying the possible source language candidates Note: close() must be called in order to release underlying resources held by the object. Updated in version 1.13.0
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
close()
Explicitly frees any external resource attached to the object |
static
Auto |
fromLanguages(List<String> languages)
Creates an instance of the Auto |
static
Auto |
fromOpenRange()
Creates an instance of the Auto |
static
Auto |
fromSourceLanguageConfigs(List<SourceLanguageConfig> sourceLanguageConfigs)
Creates an instance of the Auto |
Safe |
getImpl()
Returns the Auto |
Methods inherited from java.lang.Object
Method Details
close
public void close()
Explicitly frees any external resource attached to the object
fromLanguages
public static AutoDetectSourceLanguageConfig fromLanguages(List
Creates an instance of the AutoDetectSourceLanguageConfig
Parameters:
Returns:
fromOpenRange
public static AutoDetectSourceLanguageConfig fromOpenRange()
Creates an instance of the AutoDetectSourceLanguageConfig with open range. Only
Returns:
fromSourceLanguageConfigs
public static AutoDetectSourceLanguageConfig fromSourceLanguageConfigs(List
Creates an instance of the AutoDetectSourceLanguageConfig with a list of SourceLanguageConfig
Parameters:
Returns:
getImpl
public SafeHandle getImpl()
Returns the AutoDetectSourceLanguageConfig
Returns:
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應