Building a Structured Use Case

Building a Structured Use Case

Hyperscience extracts data from documents and converts them into a machine-readable format. We support Structured, Semi-structured, and Additional documents. To learn how to differentiate between the document types, see Understanding Document Types.

Structured use cases

Use Structured layouts for documents that follow a consistent, predefined format. The pages in these documents have a clear visual design with fixed fields and standardized, repetitive patterns.

Key aspects of Structured layouts

In this article, you’ll learn how to build and evaluate your Structured models in Hyperscience for efficient document processing.

Step 1 - Sample your documents

Reviewing your documents is the first step in creating a robust, structured model.

Layout variations

Sometimes, your documents have small differences in their visual design. In Hyperscience, these differences are handled seamlessly by using layout variations within Structured layouts.

Example

Step 2 - Upload a blank form

To process filled documents with the same visual design through Hyperscience, you need to create a Structured layout based on a non-filled (blank) form.

Upload a blank form

To upload a blank form:

  1. Go to Library > Layouts.
  2. Click Add Layout.
  3. Click Structured Layout, and then click Next.
  4. Upload a PDF, TIFF, JPG, or PNG file in one of the following ways:
    • Drag and drop the image file in the dialog box, or
    • click Choose File to upload from your machine.
  5. Click Next.
  6. Enter a name for your layout in the Layout Name field.
  7. Choose the language you expect people to use when filling out the documents from the Language drop-down menu.
  8. Click Create.

Once the blank form is added, you need to create a Structured layout in the Layout Editor. The Layout Editor is where you define what information Hyperscience should extract from the document. Learn more in Step 3 - Create a Structured Layout section of this article.

Step 3 - Create a Structured layout

Field types

Create a layout that shows Hyperscience where to find the data you need in the Layout Editor. It helps you map fields on the form to the information you want to extract. You can extract data from the following data points:

Data types

Data types help the system understand what kind of information to expect in a specific field. It allows the system to process your documents more accurately. For example:

Creating a Structured layout

To access the Layout Editor:

  1. Go to Library > Layouts and click on the name of your layout.
  2. Once in the Layout Variations tab, click on the name of the variation.

Layout Editor best practices

Drawing bounding boxes

Field names and data types

Step 5 - Commit changes and deploy

Step 6 - Evaluate Structured models

After you’ve committed changes and deployed your Structured layout, it is Live and ready to process documents. The next step is to upload your filled documents and monitor the model’s performance.

Upload your completed documents

Upload your documents as submissions by following the steps below.

  1. Go to Submissions.
  2. Click Create Submission.
  3. Upload the filled documents.
  4. Select the flow you’re using for the model from the Flow drop-down list.
  5. Select the layout used for the model from the Layout drop-down list.
  6. Click Upload.

Using QA to improve accuracy

Use the Documents tab to review the extracted data and identify potential issues. This step is key to ensuring the quality of your model's predictions.

Field Transcription QA allows you to sample and review individual fields from submitted documents.