DocumentClassificationSettings

Settings for DocumentClassification. 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 boolean getAutoWeight()
Auto (reliability) weighting.
Link copied to clipboard
public final float getImageWeight()
Relative weight of the image branch in the fused prediction.
Link copied to clipboard
public final boolean getIncludePerPageScores()
Diagnostic opt-in.
Link copied to clipboard
public final boolean getMultiLabel()
Confidence mode (reporting only — does not change the predicted label or ranking).
Link copied to clipboard
public final float getPoolingTemperature()
Margin-weighted pooling temperature used by both branches to combine the per-chunk (text) and per-page (image) distributions into one.
Link copied to clipboard
public final String getText()
Document text for the text branch.
Link copied to clipboard
public final float getTextWeight()
Relative weight of the text branch in the fused prediction.
Link copied to clipboard
public final int getTopK()
Maximum number of ranked predictions to return.
Link copied to clipboard
public final void setAutoWeight(boolean value)
Auto (reliability) weighting.
Link copied to clipboard
public final void setImageWeight(float value)
Relative weight of the image branch in the fused prediction.
Link copied to clipboard
public final void setIncludePerPageScores(boolean value)
Diagnostic opt-in.
Link copied to clipboard
public final void setMultiLabel(boolean value)
Confidence mode (reporting only — does not change the predicted label or ranking).
Link copied to clipboard
public final void setPoolingTemperature(float value)
Margin-weighted pooling temperature used by both branches to combine the per-chunk (text) and per-page (image) distributions into one.
Link copied to clipboard
public final void setText(String value)
Document text for the text branch.
Link copied to clipboard
public final void setTextWeight(float value)
Relative weight of the text branch in the fused prediction.
Link copied to clipboard
public final void setTopK(int value)
Maximum number of ranked predictions to return.