The document type — structured, semi-structured, or unstructured — determines which extraction model Document Automation uses. Identifying your document type before configuring a learning instance improves extraction accuracy.
The following table provides document type comparison:
| Document type | Layout | Extraction method | Examples |
|---|---|---|---|
| Structured | Consistent, fixed layout | OCR with template-based model | Application forms, passports, tax forms |
| Semi-structured | Predictable format with layout variations | OCR with keyword extraction, regular expressions, and validation feedback | Invoices, purchase orders, bill of lading |
| Unstructured | No fixed layout; natural language | OCR with NLP and generative AI for semantic analysis | Legal documents, correspondence, reports |
Structured documents
Structured documents follow a consistent structure and clear layout where data is typed or written, making it easier for automated systems to extract and process data. Data extraction model used for such documents uses a combination of optical character recognition (OCR) capabilities with template-based model to extract key-value pairs and table data from structured documents.
The following are some of the examples of structured documents:
- Application forms
- Surveys
- Passports
- Tax forms
Semi-structured documents
Semi-structured documents have a predictable format similar to structured documents, but with variations in the layout or content. Some documents might contain common data elements, but the data might be in different locations in different documents. Data extraction model used for such documents uses a combination of OCR capabilities with keyword-based extraction, regular expressions, and validation feedback to extract key-value pairs and table data from semi-structured documents.
The following are some of the examples of semi-structured documents:
- Invoices
- Purchase orders (PO)
- Bill of lading
- Explanations of benefits (EOB)
Unstructured documents
Unstructured documents lack a standard format, fixed layout, or data appears without labels in natural language. The data extraction model uses a combination of OCR capabilities with natural language processing (NLP) and generative AI technologies to perform semantic analysis and to extract key-value pairs and table data from unstructured documents.
The following are some of the examples of unstructured documents:
- Legal documents
- Correspondence (including emails)
- Reports