你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TextAnalyticsModelFactory.DetectedLanguage Method

Definition

Initializes a new instance of DetectedLanguage for mocking purposes.

public static Azure.AI.TextAnalytics.DetectedLanguage DetectedLanguage(string name, string iso6391Name, double confidenceScore, System.Collections.Generic.IList<Azure.AI.TextAnalytics.TextAnalyticsWarning> warnings = default);
static member DetectedLanguage : string * string * double * System.Collections.Generic.IList<Azure.AI.TextAnalytics.TextAnalyticsWarning> -> Azure.AI.TextAnalytics.DetectedLanguage
Public Shared Function DetectedLanguage (name As String, iso6391Name As String, confidenceScore As Double, Optional warnings As IList(Of TextAnalyticsWarning) = Nothing) As DetectedLanguage

Parameters

name
String

Sets the Name property.

iso6391Name
String

Sets the Iso6391Name property.

confidenceScore
Double

Sets the ConfidenceScore property.

warnings
IList<TextAnalyticsWarning>

Sets the Warnings property.

Returns

A new instance of DetectedLanguage for mocking purposes.

Applies to