DocumentPiiSettings

public final class DocumentPiiSettings

Settings for DocumentPii. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document's settings, otherwise the SDK globally when set on SdkSettings.

Functions

Link copied to clipboard
public final Array<String> getCategories()
The entity categories to return, for example PERSON, EMAIL or GOV_ID.
Link copied to clipboard
public final float getConfidenceThreshold()
The lowest model confidence, from 0 to 1, at which an entity is returned.
Link copied to clipboard
public final boolean getIncludeText()
When true (the default), each entity also carries the text it covers, so the output shows what was found.
Link copied to clipboard
public final void setCategories(Array<String> value)
The entity categories to return, for example PERSON, EMAIL or GOV_ID.
Link copied to clipboard
public final void setConfidenceThreshold(float value)
The lowest model confidence, from 0 to 1, at which an entity is returned.
Link copied to clipboard
public final void setIncludeText(boolean value)
When true (the default), each entity also carries the text it covers, so the output shows what was found.