Skip to main content
Split finds logical documents inside one file. PDFs become page-range segments. Spreadsheets become one segment per worksheet, then each sheet is classified against your classes.

Options

Blank pages

A range of blank pages in a page document gets its own page state instead of a class. Worksheets and JSON sections have no page state. They still fail error when nothing fits.
  • Blank means every page in the range has no letter or digit in the text that path uses. The standard path trusts the Parse page text it was given. Parse can route a PDF of only born-digital pages and empty pages as born-digital, so an empty page there may never have been OCR’d.
  • A confirmed blank range comes back as status: "unclassified" with warnings: ["blank_page"].
  • Under include and error a confirmed blank range is kept. It never fails error.
  • Under force page states are off on both paths.
  • On the standard path a blank range the model classed keeps that class. A blank range the model left without a class gets the first class in classes.
  • On the fast DREX lane a blank range has no class vote. force gives it the first class in classes.
  • An unreadable page is not a page state. It comes back as a plain unclassified range, so error still fails on it.
How each path confirms a blank page:
  • The standard path, under include and error, checks the Parse text of each page, whatever class the model gave the range.
  • The fast DREX split lane counts a page as blank only when a full-page OCR read found no text on it. A text layer with no text, a read of only part of the page, or a page the lane did not read is not confirmed. The lane leaves a range of such pages without a class. Under error the job then runs on the standard path. Under include that range comes back as a plain unclassified range.
A blank page inside a document, such as the empty back of a scanned page, usually stays part of that document’s segment on the fast DREX lane. On the standard path it stays only when the model includes the page in that document’s range. A blank page the model gives a range of its own becomes a blank range.

Sideways scans

The default parse_mode="low" uses native OCR without a dedicated scan-orientation correction pass. A page scanned sideways may lose text or receive the wrong class. Low mode can still read some sideways pages; it does not guarantee rotation correction. If a sideways page is misread, use parse_mode="high" on the original file. High mode adds page-image verification and correction, which can increase latency; check the resulting classes against the source. A parse_result source reuses its existing text, so changing parse_mode cannot repair that earlier parse.

Result

result.segments is the ordered cut list.

Where confidence comes from

  • Scores come only from the fast DREX split lane.
  • A job answered by the standard path reports every band unavailable. So do a spreadsheet, a JSON file, and every job where the DREX lane fell back to the standard path.
  • An unclassified segment has no class score.
  • A segment that got the first class only because unknown_policy is force has no class score either.
  • The class score is the share of the model’s probability that went to this class, out of the options it chose from. By default those are only the classes you sent. The lane then has no “none of these fit” option, so a page unlike every class can still score high.
  • boundary_confidence scores the cut before the segment. Under shared_boundary_page the segment’s start_page can move back one page onto the shared page, but the score is still for that cut.
A parse_result source is supported. After split, extract or ground each segment (or its materialized file) separately.