v4

latestSwagger 2.02026-07-1371563.0 KB
BreakSentence

Identifies the position of sentence boundaries in a piece of text.

post/BreakSentence

Query parameters

api-versionstring required

Version of the API requested by the client. Value must be 3.0.

Languagestring

Language tag of the language of the input text. If not specified, Translator will apply automatic language detection.

Scriptstring

Script identifier of the script used by the input text. If a script is not specified, the default script of the language will be assumed.

Headers

X-ClientTraceIdstring

A client-generated GUID to uniquely identify the request. Note that you can omit this header if you include the trace ID in the query string using a query parameter named ClientTraceId.

Request body

textstring

Example request

[
  {
    "text": "Today is a good day."
  }
]

Response

Success

sentLeninteger[]