Class RecognizePiiEntitiesResult

java.lang.Object
com.azure.ai.textanalytics.models.TextAnalyticsResult
com.azure.ai.textanalytics.models.RecognizePiiEntitiesResult

public final class RecognizePiiEntitiesResult extends TextAnalyticsResult
  • Constructor Details

  • Method Details

    • getEntities

      public PiiEntityCollection getEntities()
      Gets an IterableStream of PiiEntity.
      Returns:
      An IterableStream of PiiEntity.
      Throws:
      TextAnalyticsException - if result has isError equals to true and when a non-error property was accessed.
    • getDetectedLanguage

      public DetectedLanguage getDetectedLanguage()
      Get the detectedLanguage property: If 'language' is set to 'auto' for the document in the request this field will contain an object of the language detected for this document.
      Returns:
      the detectedLanguage value.