다음을 통해 공유


TextTranslationClient.Transliterate Method

Definition

Overloads

Transliterate(TextTranslationTransliterateOptions, CancellationToken)

Transliterate Text.

Transliterate(String, String, String, String, CancellationToken)

Transliterate Text.

Transliterate(String, String, String, IEnumerable<String>, Guid, CancellationToken)

Transliterate Text.

Transliterate(String, String, String, IEnumerable<String>, String, CancellationToken)

Transliterate Text.

Transliterate(TextTranslationTransliterateOptions, CancellationToken)

Source:
TextTranslationClient.cs

Transliterate Text.

public virtual Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Text.TransliteratedText>> Transliterate (Azure.AI.Translation.Text.TextTranslationTransliterateOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member Transliterate : Azure.AI.Translation.Text.TextTranslationTransliterateOptions * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Text.TransliteratedText>>
override this.Transliterate : Azure.AI.Translation.Text.TextTranslationTransliterateOptions * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Text.TransliteratedText>>
Public Overridable Function Transliterate (options As TextTranslationTransliterateOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of IReadOnlyList(Of TransliteratedText))

Parameters

options
TextTranslationTransliterateOptions

The configuration options for the transliterate call.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

options is null.

Applies to

Transliterate(String, String, String, String, CancellationToken)

Source:
TextTranslationClient.cs
Source:
TextTranslationClient.cs

Transliterate Text.

public virtual Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Text.TransliteratedText>> Transliterate (string language, string fromScript, string toScript, string text, System.Threading.CancellationToken cancellationToken = default);
abstract member Transliterate : string * string * string * string * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Text.TransliteratedText>>
override this.Transliterate : string * string * string * string * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Text.TransliteratedText>>
Public Overridable Function Transliterate (language As String, fromScript As String, toScript As String, text As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of IReadOnlyList(Of TransliteratedText))

Parameters

language
String

Specifies the language of the text to convert from one script to another. Possible languages are listed in the transliteration scope obtained by querying the service for its supported languages.

fromScript
String

Specifies the script used by the input text. Look up supported languages using the transliteration scope, to find input scripts available for the selected language.

toScript
String

Specifies the output script. Look up supported languages using the transliteration scope, to find output scripts available for the selected combination of input language and input script.

text
String

Text to be transliterated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

language, fromScript, toScript or text is null.

Applies to

Transliterate(String, String, String, IEnumerable<String>, Guid, CancellationToken)

Source:
TextTranslationClient.cs

Transliterate Text.

public virtual Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Text.TransliteratedText>> Transliterate (string language, string fromScript, string toScript, System.Collections.Generic.IEnumerable<string> content, Guid clientTraceId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Transliterate : string * string * string * seq<string> * Guid * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Text.TransliteratedText>>
override this.Transliterate : string * string * string * seq<string> * Guid * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Text.TransliteratedText>>
Public Overridable Function Transliterate (language As String, fromScript As String, toScript As String, content As IEnumerable(Of String), Optional clientTraceId As Guid = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of IReadOnlyList(Of TransliteratedText))

Parameters

language
String

Specifies the language of the text to convert from one script to another. Possible languages are listed in the transliteration scope obtained by querying the service for its supported languages.

fromScript
String

Specifies the script used by the input text. Look up supported languages using the transliteration scope, to find input scripts available for the selected language.

toScript
String

Specifies the output script. Look up supported languages using the transliteration scope, to find output scripts available for the selected combination of input language and input script.

content
IEnumerable<String>

Array of the text to be transliterated.

clientTraceId
Guid

A client-generated GUID to uniquely identify the request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

language, fromScript, toScript or content is null.

Applies to

Transliterate(String, String, String, IEnumerable<String>, String, CancellationToken)

Source:
TextTranslationClient.cs

Transliterate Text.

public virtual Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Text.TransliteratedText>> Transliterate (string language, string fromScript, string toScript, System.Collections.Generic.IEnumerable<string> content, string clientTraceId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Transliterate : string * string * string * seq<string> * string * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Text.TransliteratedText>>
override this.Transliterate : string * string * string * seq<string> * string * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.AI.Translation.Text.TransliteratedText>>
Public Overridable Function Transliterate (language As String, fromScript As String, toScript As String, content As IEnumerable(Of String), Optional clientTraceId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of IReadOnlyList(Of TransliteratedText))

Parameters

language
String

Specifies the language of the text to convert from one script to another. Possible languages are listed in the transliteration scope obtained by querying the service for its supported languages.

fromScript
String

Specifies the script used by the input text. Look up supported languages using the transliteration scope, to find input scripts available for the selected language.

toScript
String

Specifies the output script. Look up supported languages using the transliteration scope, to find output scripts available for the selected combination of input language and input script.

content
IEnumerable<String>

Array of the text to be transliterated.

clientTraceId
String

A client-generated GUID to uniquely identify the request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

language, fromScript, toScript or content is null.

Applies to