- one for optimizing extraction performance for standalone documents
- one for segmenting portfolio files into separate documents.
Standalone documents
Parameters
A fingerprint consists of an array of tests, where each test is a string, a Match object, or array of Match objects. For more information, see Match object. Behind the scenes, Sensible automatically expands this simple syntax to syntax for portfolio fingerprints using"page" : "any".
Examples
The following fingerprint tests a vendor-specific config “anyco_life_insurance_quote” in a document type “life insurance quotes”. This fingerprint tests that a document is a life insurance quote from Anyco by looking for three known key phrases.Portfolios
Parameters
A fingerprint consists of an array of tests, where each test contains a Page parameter and a Match parameter:JSON
- If you specify a Match array in a test, then Sensible must find all the matches in the array on the same page in the portfolio for the test to pass and for Sensible to identify a page as “first”, “last”, or another type. In single-file documents, matches can occur anywhere in a document.
- Sensible must find 100% of all matches in all tests to segment a document in a portfolio. In single-file documents, Sensible must find 50% of all matches anywhere in the document by default to give the document a “passing” score.
Tips
Use the following tips when you define fingerprints for portfolios:- If the first page contains unique text, Sensible recommends specifying solely a
firstpage test. - If the first page doesn’t contain unique text and the last page does, Sensible recommends specifying a
lastpage test and aneverypage test. - Avoid specifying an
anypage test unless other page types fail to segment the document. - If you want to specify fallback matches for the same page type, specify the matches in separate tests. For example, a form has revisions 1 and 2 that have slightly different wordings on the first page. Specify one test with a
firstpage type and wording A, and specify a second test with afirstpage type and wording B.

