Class BreakSentenceItem
java.lang.Object
com.azure.ai.translation.text.models.BreakSentenceItem
Item containing break sentence result.
-
Method Summary
Modifier and TypeMethodDescriptionGet the detectedLanguage property: The detectedLanguage property is only present in the result object when language auto-detection is requested.Get the sentencesLengths property: An integer array representing the lengths of the sentences in the input text.
-
Method Details
-
getDetectedLanguage
Get the detectedLanguage property: The detectedLanguage property is only present in the result object when language auto-detection is requested.- Returns:
- the detectedLanguage value.
-
getSentencesLengths
Get the sentencesLengths 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 sentencesLengths value.
-