# US 2013/0318426 A1 · Automated learning of document data fields

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0318426 A1
- Document ID: US20130318426A1
- Status: Published application
- Kind: A1
- Application number: 13/479,736
- Filed: 2012-05-24
- Published: 2013-11-28
- Earliest claimed: 2012-05-24
- Assignees: Esker, Inc.
- Inventors: Hervé Shu; Jean-Jacques Bérard; Cédric Viste; Stephane Lichtenberger
- Web page: https://patentgrep.com/patent/US20130318426A1

## CPC

- G06V 30/412: Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables
- G06F 40/174: Form filling; Merging
- G06V 30/416: Extracting the logical structure, e.g. chapters, sections or page numbers; Identifying elements of the document, e.g. authors
- G06F 18/2178: {based on feedback of a supervisor}
- G06F 18/41: {Interactive pattern learning with a human teacher}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and systems for transforming at least a portion of a physical document into digital data. One method includes obtaining a first plurality of data items automatically extracted from a first physical document and a validated value for a data field. The method also includes automatically identifying a first linked data item included in the first plurality of data items that is linked to the validated value and setting a physical position included in a rule to the physical position of the first linked data item. In addition, the method includes obtaining a second plurality of data items automatically extracted from a second physical document and automatically identifying a candidate data item included in the second plurality of data items based on the rule. Furthermore, the method includes automatically populating a value for the data field for the second physical document based on the candidate data item.

## Claims

### Claim 1

A computer-implemented method for transforming at least a portion of a physical document to digital data, the method comprising:
obtaining, with a processor, a first plurality of data items automatically extracted from a first physical document;
obtaining, with the processor, a validated value for a data field from a user, wherein the validated value is associated with the first physical document;
automatically, with the processor, identifying a first linked data item that is linked to the validated value and included in the first plurality of data items;
automatically, with the processor, setting a physical position included in a rule defining how to populate a value for the data field to the physical position of the first linked data item within the first physical document;
obtaining, with the processor, a second plurality of data items automatically extracted from a second physical document;
automatically, with the processor, identifying a candidate data item included in the second plurality of data items based on the rule, the candidate data item located at a physical position within the second physical document matching the physical position included in the rule; and
automatically, with the processor, populating a value for the data field for the second physical document based on the candidate data item.

### Claim 2 (depends on 1)

The method of claim 1, further comprising obtaining a second validated value for the data field, the second validated value associated with the second physical document and including at least one of (i) the value of the data field populated based on the candidate data item and (ii) a modified value.

### Claim 3 (depends on 2)

The method of claim 2, further comprising increasing a confidence level of the rule when the second validated value includes the value of the data field populated based on the candidate data item.

### Claim 4 (depends on 3)

The method of claim 3, further comprising decreasing the confidence level of the rule when the second validated value includes the modified value.

### Claim 5 (depends on 4)

The method of claim 4, further comprising deleting the rule when the confidence level of the rule falls below a predetermined threshold.

### Claim 6 (depends on 2)

The method of claim 2, further comprising:
automatically, with the processor, identifying a second linked data item included in the second plurality of data items that is linked to the second validated value; and
automatically, with the processor, setting the physical position included in the rule to the physical position of the second linked data item within the second physical document.

### Claim 7 (depends on 6)

The method of claim 6, wherein identifying the first linked data item includes identifying one of the first plurality of data items matching the first validated value.

### Claim 8 (depends on 7)

The method of claim 7, wherein populating the value for the data field for the second physical document includes setting the value of the data field for the second physical document to the candidate data item.

### Claim 9 (depends on 6)

The method of claim 6, wherein identifying the first linked data item includes:
creating a plurality of records, each of the plurality of records including one of the first plurality of data items, a physical position of the one data item within the first physical document, the validated value, and a confidence level; and
identifying a highest confidence record included in the plurality of records, the highest confidence record including the first linked data item and having a highest confidence level among the plurality of records.

### Claim 10 (depends on 9)

The method of claim 9, wherein populating the value for the data field for the second physical document includes:
identifying at least one matching record included in the plurality of records, the at least one matching record including the candidate data item; and
setting the value of the data field to a validated value included in the at least one matching record having the highest confidence level.

### Claim 11 (depends on 10)

The method of claim 10, wherein identifying the second linked data item includes updating the plurality of records based on the second validated value and the second plurality of data items, wherein updating the plurality of records includes at least one of (i) adding at least one record to the plurality of records, the at least one record including one of the second plurality of data items, a physical position within the second physical document of the one data item; the second validated value, and a confidence level and (ii) updating a confidence level of at least one record included in the plurality of records.

### Claim 12 (depends on 11)

The method of claim 11, wherein updating the rule based on the physical position of the second linked data item includes:
identifying a highest confidence record included in the plurality of records, the highest confidence record including a highest confidence level among the plurality of records; and
setting a physical position included in the rule to a physical position included in the highest confidence record.

### Claim 13

A computer-implemented method for transforming at least a portion of a table included in a physical document to digital data, the method comprising:
(a) obtaining, with a processor, a validated value for each of a plurality of data fields from a user, the plurality of data fields representing a table included in a first physical document;
(b) automatically, with the processor, generating a plurality of extractions from the first physical document for each of the plurality of data fields and assigning each of the plurality of extractions an extraction confidence level based on a degree of match between the extraction and the validated value for the data field;
(c) automatically, with the processor, generating a plurality of rows based on the plurality of extractions and assigning a row confidence level to each of the plurality of rows based on the extraction confidence level of each extraction included in the row;
(d) automatically, with the processor, generating a plurality of models based on the plurality of rows and assigning a model confidence level to each of the plurality of models based on the row confidence level of each row included in the model;
(e) automatically, with the processor, identifying a selected model from the plurality of models, the selected model having a highest model confidence level among the plurality of models; and
(f) automatically, with the processor, creating a table recognition model based on the selected model, the table recognition model including a landmark of the table representing a starting physical position of the table within the first physical document, one or more columns of the table identified by a physical position within the first physical document and a format, a footer of the table representing an ending physical position of the table within the first physical document, and a confidence level.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
obtaining, with the processor, a second physical document including a second table;
automatically, with the processor, applying the first table recognition model to the second physical document to generate a value for each of the plurality of data fields associated with the second physical document;
obtaining, with the processor, a second validated value for each of the plurality of data fields associated with the second physical document;
automatically, with the processor, creating a second table recognition model associated with the second physical document based on the second validated value for each of the plurality of data fields according to steps (b) through (f); and
automatically, with the processor, merging the first table recognition model and the second table recognition model to create a merged model.

### Claim 15 (depends on 14)

The method of claim 14, further comprising
automatically, with the processor, applying the merged model to the first physical document and the second physical document;
when the merged model does not correctly generate a value for each of the plurality of data fields for each of the first physical document and the second physical document, automatically, with the processor, discarding the merged model; and
when the merged model correctly generates a value for each of the plurality of data fields for each of the first physical document and the second physical document, automatically, with the processor, retaining the merged model and the first table recognition model.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
obtaining, with the processor, a third physical document including a third table;
automatically, with the processor, identifying a selected table recognition model, the selected table recognition model including one of the first table recognition model and the merged model having a higher confidence level; and
automatically, with the processor, applying the selected table recognition model to the third physical document to generate a value for each of the plurality of data fields associated with the third physical document.

### Claim 17

A computer-implemented method for transforming at least a portion of a physical document to digital data, the method comprising:
obtaining, with a processor, a first plurality of data items automatically extracted from a first physical document;
obtaining, with the processor, a validated value for a data field from a user, wherein the validated value is associated with the first physical document;
automatically, with the processor, identifying a first linked data item included in the first plurality of data items, the first linked data item matching the validated value;
automatically, with the processor, setting a physical position included in a rule defining how to populate a value for the data field to a physical position of the first linked data item within the first physical document;
obtaining, with the processor, a second plurality of data items automatically extracted from a second physical document;
automatically, with the processor, identifying a candidate data item included in the second plurality of data items, the candidate data item located at a physical position within the second physical document matching the physical position included in the rule; and
automatically, with the processor, setting a value for the data field for the second physical document to the candidate data item.

### Claim 18 (depends on 17)

The method of claim 17, further comprising obtaining a second validated value for the data field, the second validated value associated with the second physical document and including at least one of (i) the candidate data item and (ii) a modified value.

### Claim 19 (depends on 18)

The method of claim 18, further comprising increasing a confidence level of the rule when the second validated value includes the candidate data item.

### Claim 20 (depends on 19)

The method of claim 19, further comprising decreasing the confidence level of the rule when the second validated value includes the modified value.

### Claim 21 (depends on 20)

The method of claim 20, further comprising deleting the rule when the confidence level of the rule falls below a predetermined threshold.

### Claim 22

A computer-implemented method for transforming at least a portion of a physical document to digital data, the method comprising:
obtaining, with a processor, a first plurality of data items automatically extracted from a first physical document;
obtaining, with the processor, a validated value for a data field from a user, wherein the validated value is associated with the first physical document;
automatically, with the processor, creating a plurality of records, each of the plurality of records including one of the first plurality of data items, a physical position of the one data item within the first physical document, the validated value, and a confidence level;
automatically, with the processor, identifying a highest confidence record included in the plurality of records, the highest confidence record having a highest confidence level among the plurality of records;
automatically, with the processor, setting a physical position included in a rule defining how to populate a value for the data field to a physical position included in the highest confidence record;
obtaining, with the processor, a second plurality of data items automatically extracted from a second physical document;
automatically, with the processor, identifying a candidate data item included in the second plurality of data items, the candidate data item located at a physical position within the second physical document matching the physical position included in the rule;
automatically, with the processor, identifying at least one matching record included in the plurality of records, the at least one matching record including the candidate data item; and
automatically, with the processor, setting a value for the data field for the second physical document to a validated value included in the at least one matching record having the highest confidence level.

### Claim 23 (depends on 22)

The method of claim 22, further comprising obtaining a second validated value for the data field, the second validated value associated with the second physical document and including at least one of (i) the validated value included in the at least one matching recording having the highest confidence level and (ii) a modified value.

### Claim 24 (depends on 23)

The method of claim 23, further comprising increasing a confidence level of the rule when the second validated value includes the validated value included in the at least one matching recording having the highest confidence level.

### Claim 25 (depends on 24)

The method of claim 24, further comprising decreasing the confidence level of the rule when the second validated value includes the modified value.

### Claim 26 (depends on 25)

The method of claim 25, further comprising deleting the rule when the confidence level of the rule falls below a predetermined threshold.

### Claim 27

A system for transforming at least a portion of a physical document into digital data, the system comprising:
non-transitory computer-readable media storing instructions; and
a processor configured to retrieve the instructions from the computer-readable media and execute the instructions to transform a physical document into digital data,
wherein the instructions define:
a capturing module configured to extract a plurality of data items from a physical document;
an automatic learning module configured to
generate a rule defining how to populate a value for a data field associated with a set of physical documents, the rule including a physical position,
apply the rule to a first physical document submitted to the system to identify a candidate data item located at the physical position within the first physical document, and
populate a value for the data field associated with the first physical document based on the candidate data item; and
a user interface module configured to display the value for the data field populated by the automatic learning module to a user and receive a validated value, wherein the validated value includes at least one of (i) the value for the data field populated by the automatic learning module and (ii) a modified value,
wherein the automatic learning module is further configured to update the physical position included the rule based on the validated value when the validated value includes a modified value.

### Claim 28 (depends on 27)

The system of claim 27, wherein the automatic learning module is further configured to increase a confidence level associated with the rule when the validated value includes the value for the data field populated by the automatic learning module.

### Claim 29 (depends on 28)

The system of claim 28, wherein the automatic learning module is further configured to decrease a confidence level associated with the rule when the validated value includes the modified value.

### Claim 30 (depends on 29)

The system of claim 29, wherein the automatic learning module is further configured to discard the rule when the confidence level falls below a predetermined threshold.
