Menu

1 / 4

Scoring Document Parsers on Whole Documents, Not Single Pages

#hackernoon#technology#table#parser#score
Long article (2403 words) — no AI summary yet.
Reading 0:00
15s threshold

Here is a test your document parser can pass on every page and still fail.

Take a six-page bank statement with one table of 222 transactions that runs from page 1 to page 5. Many parsers return it in pieces. Each piece looks right on its own page, so a benchmark that scores one page at a time can give it good marks. But the code that adds up the transactions now gets several tables, and the pieces can carry repeated header rows or page footers between them.

Nothing throws an error. You find out when a total doesn't match.

In this article, I show the errors that only exist between pages, how to score them with plain code instead of an AI judge, what we saw when we ran 13 parsers in 19 settings on them, and a checklist you can use to test your own parser on your own documents. The short version of the results: the parser with the top score costs about a tenth as much per page as the best frontier model.

First, a disclosure. I work at Nutrient, which makes a document parsing API .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.