Examples
Parameters
The following global parameters available to all methods:Examples
Sort Lines example
PROBLEM In the following example, the handwritten text “Nash” is slightly taller than the text “Steve”, so Sensible interprets “Nash” as preceding “Steve” (reversing the order interpreted by a human reader) and outputs"Nash Steve" as the name:
SOLUTION
To reliably capture the first and last name in their left-to-right order, set "sortLines": "readingOrderLeftToRight".
Config
JSON
To run this example, verify the document type uses Google OCR (click the gear icon for the Document Type and select Google):
Output
JSON
Type Filters example
The following example shows using the Type Filters parameter to extract delivery notes from a box. ConfigJSON
The following image shows the example document used with this example config:
Output
JSON
X Range Filter example
In combination with the Document Range method, the X Range Filter parameter defines a “column” that’s bounded at the top and bottom by text. The following image shows using this parameter to extract a “cell” of text:
In this example, the X Range Filter parameter is an alternative to:
- The Document Range method without the X Range Filter parameter. Without the parameter, this method extracts unwanted information such as the address of the importer.
- The Fixed Table method. This method doesn’t recognize the table’s formatting.
- The Text Table method with
"detectMultipleLinesPerRow": trueconfigured. - LLM-based methods, such as the NLP Table method.
This example uses the following config:
JSON

