Class PiiEntityCollection

    • Constructor Detail

      • PiiEntityCollection

        public PiiEntityCollection​(com.azure.core.util.IterableStream<PiiEntity> entities,
                                   String redactedText,
                                   com.azure.core.util.IterableStream<TextAnalyticsWarning> warnings)
        Creates a PiiEntityCollection model that describes a Personally Identifiable Information entities collection including warnings.
        Parameters:
        entities - An IterableStream of Personally Identifiable Information entities.
        redactedText - The text of the input document with all of the PII information redacted out.
        warnings - An IterableStream of warnings.
    • Method Detail

      • getRedactedText

        public String getRedactedText()
        Get the property redactedText value. The text of the input document with all of the PII information redacted out. Only returned for API version v3.1 and up.
        Returns:
        The text of the input document with all of the PII information redacted out.