Class PiiEntityCollection
java.lang.Object
com.azure.core.util.IterableStream<PiiEntity>
com.azure.ai.textanalytics.models.PiiEntityCollection
The
PiiEntityCollection model.-
Constructor Summary
ConstructorsConstructorDescriptionPiiEntityCollection(com.azure.core.util.IterableStream<PiiEntity> entities, String redactedText, com.azure.core.util.IterableStream<TextAnalyticsWarning> warnings) Creates aPiiEntityCollectionmodel that describes a Personally Identifiable Information entities collection including warnings. -
Method Summary
Modifier and TypeMethodDescriptionGet the property redactedText value.com.azure.core.util.IterableStream<TextAnalyticsWarning>Get theIterableStreamofText Analytics warnings.Methods inherited from class com.azure.core.util.IterableStream
iterator, of, streamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PiiEntityCollection
public PiiEntityCollection(com.azure.core.util.IterableStream<PiiEntity> entities, String redactedText, com.azure.core.util.IterableStream<TextAnalyticsWarning> warnings) Creates aPiiEntityCollectionmodel that describes a Personally Identifiable Information entities collection including warnings.- Parameters:
entities- AnIterableStreamofPersonally Identifiable Information entities.redactedText- The text of the input document with all of the PII information redacted out.warnings- AnIterableStreamofwarnings.
-
-
Method Details
-
getWarnings
Get theIterableStreamofText Analytics warnings.- Returns:
IterableStreamofTextAnalyticsWarning.
-
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 newer.- Returns:
- The text of the input document with all of the PII information redacted out.
-