共用方式為


TextAnalysisModelFactory.MultiLanguageInput(String, String, String) Method

Definition

Initializes a new instance of MultiLanguageInput.

public static Azure.AI.Language.Text.MultiLanguageInput MultiLanguageInput (string id = default, string text = default, string language = default);
static member MultiLanguageInput : string * string * string -> Azure.AI.Language.Text.MultiLanguageInput
Public Shared Function MultiLanguageInput (Optional id As String = Nothing, Optional text As String = Nothing, Optional language As String = Nothing) As MultiLanguageInput

Parameters

id
String

A unique, non-empty document identifier.

text
String

The input text to process.

language
String

(Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use "en" for English; "es" for Spanish etc. If not set, use "en" for English as default. (Following only applies to 2023-04-15-preview and above) For Auto Language Detection, use "auto". If not set, use "en" for English as default.

Returns

A new MultiLanguageInput instance for mocking.

Applies to