Class BreakSentenceItem

java.lang.Object
com.azure.ai.translation.text.models.BreakSentenceItem

public final class BreakSentenceItem extends Object
Item containing break sentence result.
  • Method Details

    • getDetectedLanguage

      public DetectedLanguage 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.
    • getSentLen

      public List<Integer> getSentLen()
      Get the sentLen 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 sentLen value.