AITranslationTextModelFactory.TransliterationLanguage 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 TransliterationLanguage.
public static Azure.AI.Translation.Text.TransliterationLanguage TransliterationLanguage (string name = default, string nativeName = default, System.Collections.Generic.IEnumerable<Azure.AI.Translation.Text.TransliterableScript> scripts = default);
static member TransliterationLanguage : string * string * seq<Azure.AI.Translation.Text.TransliterableScript> -> Azure.AI.Translation.Text.TransliterationLanguage
Public Shared Function TransliterationLanguage (Optional name As String = Nothing, Optional nativeName As String = Nothing, Optional scripts As IEnumerable(Of TransliterableScript) = Nothing) As TransliterationLanguage
Parameters
- name
- String
Display name of the language in the locale requested via Accept-Language header.
- nativeName
- String
Display name of the language in the locale native for this language.
- scripts
- IEnumerable<TransliterableScript>
List of scripts to convert from.
Returns
A new TransliterationLanguage instance for mocking.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET