Compartir a través de


TextTranslationClient.FindSentenceBoundaries Method

Definition

Overloads

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

Break Sentence.

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

Break Sentence.

FindSentenceBoundaries(String, Guid, String, String, CancellationToken)

Break Sentence.

FindSentenceBoundaries(String, String, String, String, CancellationToken)

Break Sentence.

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

Source:
TextTranslationClient.cs

Break Sentence.

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

Parameters

content
IEnumerable<String>

Array of the text for which values the sentence boundaries will be calculated.

clientTraceId
Guid

A client-generated GUID to uniquely identify the request.

language
String

Language tag identifying the language of the input text. If a code isn't specified, automatic language detection will be applied.

script
String

Script tag identifying the script used by the input text. If a script isn't specified, the default script of the language will be assumed.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to

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

Source:
TextTranslationClient.cs

Break Sentence.

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

Parameters

content
IEnumerable<String>

Array of the text for which values the sentence boundaries will be calculated.

clientTraceId
String

A client-generated GUID to uniquely identify the request.

language
String

Language tag identifying the language of the input text. If a code isn't specified, automatic language detection will be applied.

script
String

Script tag identifying the script used by the input text. If a script isn't specified, the default script of the language will be assumed.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to

FindSentenceBoundaries(String, Guid, String, String, CancellationToken)

Source:
TextTranslationClient.cs

Break Sentence.

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

Parameters

text
String

Array of the text for which values the sentence boundaries will be calculated.

clientTraceId
Guid

A client-generated GUID to uniquely identify the request.

language
String

Language tag identifying the language of the input text. If a code isn't specified, automatic language detection will be applied.

script
String

Script tag identifying the script used by the input text. If a script isn't specified, the default script of the language will be assumed.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

text is null.

Applies to

FindSentenceBoundaries(String, String, String, String, CancellationToken)

Source:
TextTranslationClient.cs

Break Sentence.

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

Parameters

text
String

Array of the text for which values the sentence boundaries will be calculated.

clientTraceId
String

A client-generated GUID to uniquely identify the request.

language
String

Language tag identifying the language of the input text. If a code isn't specified, automatic language detection will be applied.

script
String

Script tag identifying the script used by the input text. If a script isn't specified, the default script of the language will be assumed.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

text is null.

Applies to