Understanding Document Types
Understanding Document Types
- Updated on May 15, 2025
- Published on Mar 18, 2025
- 4 minute(s) read
Hyperscience extracts data from documents and converts it to a machine-readable format. We support Structured, Semi-structured, and Additional documents.
In this article, you'll learn how to differentiate between these three document types and understand how Hyperscience processes them differently.
Structured
Structured documents are those where the layout of information on the page is consistent (e.g., the information is in the same location every time you receive the same form). These documents are often printed out and filled out by hand, or they are PDFs with fields that can be completed electronically.
For example, consider a tax form issued by your local government. Each person who fills out the form will be using the same form, and that person will fill out each field with their own relevant information, but the location of each field will be consistent overall.
Essentially, documents with consistent location of data types and data fields are Structured.
Semi-structured
Semi-structured documents do not necessarily have a consistent location for information across all documents.
For example, consider a business that receives hundreds of thousands of invoices from hundreds of different vendors. Each vendor will likely place common pieces of information (e.g. the invoice identification number, the payer's address, etc.) in different places on their respective invoices. Even among documents received from a single vendor, the exact location of some pieces of information may vary due to the number of line items (e.g. "Total" may be on page 1 in some documents and page 4 in others).
Essentially, documents with consistent data types but inconsistent location of data fields are Semi-structured.
Additional
Additional documents do not have any fields for extraction. Typically, these are contextual components that belong in a submission but do not have any valuable information for downstream processes.
For example, consider an insurance claim that is composed of multiple pages meant for extraction. This claim will almost certainly be introduced with a cover page, however, this page will not likely provide any additional information than what is already contained in the document.
Essentially, these documents do not have data for extraction – just categorization for context.
Workflow differences based on document type
Layout setup
Regardless of the document type, you need to create a layout before processing a document through Hyperscience. However, the layout setup process differs among Structured, Semi-structured, and Additional documents.
For Structured layouts, the original unfilled form is uploaded to create the layout. Layout setup is complete once a user has drawn the bounding boxes for all desired fields and completed required metadata (e.g., Field Name, Data Type, etc.).
You can also create layout variations for forms that vary only slightly and share all or most of the same fields. When you create multiple variations of a layout, those variations collectively make up the layout, along with any field customizations you’ve created for releases.
For Semi-structured layouts, no document needs to be uploaded to create the layout. Layout setup consists only of defining the fields desired for extraction along with their metadata.
For Additional layouts, no document needs to be uploaded to create the layout, nor does any metadata need to be defined.
Supervision tasks
Due to the different nature of these documents, some Supervision tasks are only applicable to certain document types:
| Document Type | Document Classification | Identification | Transcription |
| Structured | X | X | |
| Semi-structured | X | X | X |
| Additional | X | * |
*Additional documents can go through Transcription if the Manual Extract workflow is enabled during layout creation.
Document Classification
Document Classification will be generated based on the system settings for Document Classification tasks.
Identification
There are two types of Identification tasks that apply exclusively to Semi-structured documents: Field Identification and Table Identification.
Field Identification tasks can be created in two cases:
- Before a model has been trained and deployed, all fields will require manual Field Identification.
- After a trained model has been deployed, and when the machine is uncertain about the location of a given field, a manual Field Identification task will be created.
Table Identification tasks will always be created for documents associated with a layout that contains tables.
Transcription
Transcription tasks are created whenever the machine is uncertain about the transcription of a specific field.
Quality Assurance
Quality Assurance (QA) serves two purposes within Hyperscience:
- To provide accuracy estimates for Field Output, Transcription, and Field Identification.
- To provide training data for the system to improve itself.
QA for Structured Documents
For Structured documents, individual fields are sampled according to a configurable sample rate and put through a consensus process to determine the "correct" answer.
QA for Semi-structured Documents
For Semi-structured documents, individual documents are sampled according to a configurable sample rate and put through a QA process to measure Field Identification accuracy.