parse_result source.
- Python
- TypeScript
- curl
Options
Result
result.units is one row per document, or per page when granularity is
page.
When every label in the unit has a DREX probability,
confidence is that
probability. A document label shared by several segments is the page-weighted
mean of the probability recorded on each segment. Labels are ordered by page
coverage. Confidence is per label, so a lower rank can carry a higher
confidence. An abstained unit’s top label is that mean. Its runner-up labels
carry DREX’s probability for that runner-up option, not a page share. When any
other label in the unit lacks a DREX probability, every such label uses the
share of the unit’s read pages or sheets assigned that class. Pages that never
entered a prompt are excluded from that share and disclosed as
classification_unread_pages.