Patent ID: 11954139
Assignee: ACCENTURE GLOBAL SOLUTIONS LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method of processing documents comprising:
generating images corresponding to one or more documents wherein each image corresponds to one of the one or more documents that include forms with fields associated with predetermined structures having input data including one or more of typewritten and handwritten text therewithin;
classifying each document of the one or more documents as at least one of a structured document and an unstructured document;
selecting an optical character recognition (OCR) tool from a plurality of OCR tools for each document of the one or more documents,
wherein the OCR tool is selected for each document based on the quality of document images and the classification of the document;

extracting the input data as textual units from each document of the one or more documents using the OCR tool;
further training a self-supervised, pre-trained model for input data extraction on a task-specific data set generated from unstructured documents in pre-training data,
wherein the task-specific data set includes deep document trees corresponding to the unstructured documents in the pre-training data;

building a deep document tree for each document of the one or more documents, wherein the deep document tree records locations of one or more of objects and the textual units within the document,
wherein if at least one document of the one or more documents is classified as one of the structured documents,
extracting the input data from the at least one structured document based on image alignment of the image corresponding to the at least one structured document with at least one of the stored templates;

wherein if the at least one document is classified as an unstructured document,
generating a graphical representation of the at least one unstructured document;
extracting the input data from the at least one unstructured document by using the self-supervised model, wherein the self-supervised model extracts the input data based on the graphical representation;, and
providing at least a portion of the input data for execution of an automated process.