Class SentenceLength
java.lang.Object
com.azure.ai.translation.text.models.SentenceLength
An object returning sentence boundaries in the input and output texts.
-
Method Summary
Modifier and TypeMethodDescriptionGet the srcSentLen property: An integer array representing the lengths of the sentences in the input text.Get the transSentLen property: An integer array representing the lengths of the sentences in the translated text.
-
Method Details
-
getSrcSentLen
Get the srcSentLen property: An integer array representing the lengths of the sentences in the input text. The length of the array is the number of sentences, and the values are the length of each sentence.- Returns:
- the srcSentLen value.
-
getTransSentLen
Get the transSentLen property: An integer array representing the lengths of the sentences in the translated text. The length of the array is the number of sentences, and the values are the length of each sentence.- Returns:
- the transSentLen value.
-