How to get a file ready for PDF document splitting
First, inspect the pages themselves. Overall, PDF document splitting works well on clean input, and a clean file helps document boundary detection too. Note how the file was made, since a paper scan, a software export and a phone photo each behave differently. Indeed, mixed packs often hold all three.
Next, look for pages that appear twice. For instance, double scans are common when an operator feeds a sheet again after a jam. A repeated page can create a false boundary, because the second copy looks like the start of something new. Therefore, duplicate page removal should come before any cutting, and duplicate page removal is cheap to do by hand.
DaletParse applies duplicate page removal to pages that are not native text. It compares the first 300 characters of text on pages that sit side by side. Thus, duplicate page removal is a quick text comparison.
A page is dropped when similarity reaches 0.95, and the pages are renumbered. Notably, native pages are skipped by this step.
Also, poor scans hurt PDF document splitting and reading in different ways. The article on what OCR can supply explains what recognition gives a splitter. Finally, record the source page count before PDF document splitting starts, because you need it later. A split that gains or loses pages without a reason has failed, however tidy the output looks.
Put the pages in order before any cut is made
Boundaries need a clear page sequence first. For example, a pack scanned in the wrong order can put page 3 of a statement before page 1. Consequently, any rule that reads pagination will fire in the wrong place. Therefore, PDF document splitting should never start on unordered pages.
Thus, page order detection comes first, and page order detection also feeds every later rule.
The clearest clue is printed numbering. Specifically, page numbers, header dates and running titles show the intended order. A person can read them quickly, and software can read them too. However, software needs a fallback for pages with no number.
DaletParse runs page order detection only on scanned PDFs. First, a vision pass reads printed page numbers and dates, and Python reassembles the sequence from those hints. Next, when the hints are not enough, an LLM fallback proposes the order. Native PDFs are left as they are, because their order comes from the file.
For manual page order detection, mark any page where the number is missing or unreadable. Those pages are the most likely to sit in the wrong place, and, indeed, they deserve a second look. Careful page order detection saves time at every seam.
How to find each boundary with numbering and wording clues
Printed pagination is the strongest clue. For example, a footer that says Page 2 of 5 tells you the document continues. In contrast, Page 1 of 3 on the next sheet tells you a new one began. Read the corners and edges, since footers, headers and side margins all hold numbering.
DaletParse reads four crop zones on each page for document boundary detection. Each page is then scored against a threshold of 50. However, where numbering is absent, text patterns step in. For example, a statement period or a beginning balance usually opens a bank statement.
Similarly, a title block opens most letters. Both clues can fail during document boundary detection, though. Page numbers get cropped, and generic text repeats inside long documents. Then, when text confidence stays under 0.7, DaletParse asks a vision model to judge the page image instead.
A manual process can mirror this order: numbering first, wording second, a visual look last. Notably, some pages carry numbers that mislead. A fax cover or a scanner separator sheet has its own numbering. Instead, treat such sheets as noise to remove, not as documents to keep.
What to do with weak cuts, bundled types and annex pages
Three cases in PDF document splitting need extra care. Each one has a simple rule.
Why a cut with weak proof needs a second look
Some cuts are weak. The software may predict a start because a page looks like a known opener. However, no numbering confirms it.
Such cuts rest on weak evidence alone. Treat them as doubtful, and check each one on its own.
Its document boundary detection marks predicted or inferred boundaries as doubtful. It then runs a vision call over up to 15 surrounding pages and asks whether the pages belong together. Next, if the answer is the same document with confidence of at least 0.7, the pages merge. However, below 0.7, the boundary stays, and document boundary detection moves on.
Why big files with title blocks stay in one piece
Specifically, nine types run long and contain many internal headings. Examples are tax returns, appraisal reports, leases and credit reports. Moreover, a cut at every block would shred them. Therefore, DaletParse keeps the whole file as one document when page 1 classifies as one of these nine types.
The classification and splitting page describes this override.
For example, consider a 38-page file with a three-page statement, a photo ID and a 30-page lease. The lease holds a signature page and schedules that look like fresh starts. The bundled-type rule keeps that lease whole, while the statement and the ID are cut at numbering clues.
How an annex finds the parent file it belongs to
Annexes cause the opposite problem. For instance, schedules, exhibits and addenda often carry their own headings. A splitter that treats each as a new document leaves the parent incomplete. Instead, an annex belongs to the document before it, unless nothing precedes it.
DaletParse follows this annex rule in code. Specifically, after classification, pages typed as annexes are merged into the previous non-annex document and skip extraction on their own. There are 14 annex types, among them tax schedules, exhibits and addenda. However, with no parent available, the annex is extracted alone.
Likewise, for manual PDF document splitting, write the same rule down. Name the annex words you expect, such as Exhibit or Schedule, and say where they attach. The pipeline overview shows where annex resolution sits among the six stages.
Check the split before you trust it with real work
First, check the counts. Add up the pages in all result files. Then compare the total with the source count you noted earlier, after duplicate page removal and document boundary detection. If the numbers differ, therefore, find the missing pages before going further.
Next, look at the shape of the results. A one-page result that should be a multi-page statement points to a false cut. In contrast, a very long result that should be three documents points to a missed cut. Open the first page of each result and confirm that it looks like a real first page.
Spot-check the seams of PDF document splitting as well. For example, read the last page of one document and the first page of the next. A statement should end with its closing summary, and the next page should open something else.
DaletParse keeps page references attached to each document, so a reviewer can trace any result to its source pages. It also builds early information that lists missing and cropped pages before tables finish. In addition, for loans and onboarding, this check matters most, as shown in the loan file workflow. Finally, route doubtful cases to a person and record what they decide.
A short routine keeps the check consistent:
- Count the pages going in and the pages coming out.
- Open the first page of every result file.
- Read each seam between two neighboring results.
- List every doubtful cut for a person to review.