Class SentenceBoundaries
java.lang.Object
com.azure.ai.translation.text.models.SentenceBoundaries
An object returning sentence boundaries in the input and output texts.
-
Method Summary
Modifier and TypeMethodDescriptionGet the sourceSentencesLengths property: An integer array representing the lengths of the sentences in the input text.Get the translatedSentencesLengths property: An integer array representing the lengths of the sentences in the translated text.
-
Method Details
-
getSourceSentencesLengths
Get the sourceSentencesLengths 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 sourceSentencesLengths value.
-
getTranslatedSentencesLengths
Get the translatedSentencesLengths 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 translatedSentencesLengths value.
-