public final class PiiEntityCollection extends com.azure.core.util.IterableStream<PiiEntity>
PiiEntityCollection
model.Constructor and Description |
---|
PiiEntityCollection(com.azure.core.util.IterableStream<PiiEntity> entities,
String redactedText,
com.azure.core.util.IterableStream<TextAnalyticsWarning> warnings)
Creates a
PiiEntityCollection model that describes a entities collection including warnings. |
Modifier and Type | Method and Description |
---|---|
String |
getRedactedText()
Get the property redactedText value.
|
com.azure.core.util.IterableStream<TextAnalyticsWarning> |
getWarnings()
Get the
IterableStream of Text Analytics warnings . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public PiiEntityCollection(com.azure.core.util.IterableStream<PiiEntity> entities, String redactedText, com.azure.core.util.IterableStream<TextAnalyticsWarning> warnings)
PiiEntityCollection
model that describes a entities collection including warnings.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
.public com.azure.core.util.IterableStream<TextAnalyticsWarning> getWarnings()
IterableStream
of Text Analytics warnings
.IterableStream
of TextAnalyticsWarning
.public String getRedactedText()
Copyright © 2021 Microsoft Corporation. All rights reserved.