TextAnalysisModelFactory.MultiLanguageInput(String, String, String) Method
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.
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.