# US 2022/0035990 A1 · Automated document tagging in a digital management platform

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

- Number: US 2022/0035990 A1
- Document ID: US20220035990A1
- Status: Published application
- Kind: A1
- Application number: 16/942,652
- Filed: 2020-07-29
- Published: 2022-02-03
- Earliest claimed: 2020-07-29
- Assignees: DocuSign, Inc.
- Applicants: DocuSign, Inc.
- Inventors: Shrinivas Kiran Kaza; Eric M. Zenz; Roshan Satish; Michael Anthony Palazzolo; Patrick Beukema; Kim Cuong Phung; Boon Sun Song; Taiwo Raphael Alabi
- Web page: https://patentgrep.com/patent/US20220035990A1

## CPC

- G06F 40/117: Tagging; Marking up (details of markup languages G06F40/143); Designating a block; Setting of attributes (style sheets, e.g. eXtensible Stylesheet Language Transformation [XSLT], G06F40/154)
- G06F 40/174: Form filling; Merging
- G06F 16/93: Document management systems
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 40/131: Fragmentation of text files, e.g. creating reusable text-blocks; Linking to fragments, e.g. using XInclude; Namespaces
- G06F 40/216: using statistical methods
- G06F 40/242: Dictionaries
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G06V 10/70: using pattern recognition or machine learning (optical pattern recognition or electronic computations therefor G06V10/88)
- G06V 30/10: Character recognition
- G06V 30/414: Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
- G06V 30/416: Extracting the logical structure, e.g. chapters, sections or page numbers; Identifying elements of the document, e.g. authors
- G06N 3/045: Combinations of networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

An auto-tagging engine receives a training set of data comprising documents including a set of tagged fields with each tagged field corresponding to a portion of the document. The auto-tagging engine trains a machine learned model using the training set of data. The trained machine learned model, when applied to a target document in a document management environment, identifies portions of the target document each corresponding to fields of the target document. For each field of the target document, the auto-tagging engine identifies text of the target document associated with the identified potions of the target document corresponding to fields. Natural language processing is performed on the identified text in order to identify field types for the fields. The target document is automatically modified to include a tag identifying the portion of the target document corresponding to each field and identifying a field type of the field.

## Claims

### Claim 1

A method for automatically tagging fields of a target document, comprising:
accessing a training set of data comprising documents each with a set of tagged fields within the document, each tagged field corresponding to a portion of the document;
training a machine learned model using the training set of data, the machine learned model configured to identify, for each of one or more fields within a document, a portion within the document corresponding to the field;
applying the machine learned model to the target document to identify portions of the target document corresponding to the fields of the target document; and
for each field of the target document:
identifying text of the target document associated with the identified portion of the target document corresponding to the field;
performing natural language processing on the identified text to identify a field type of the field; and
automatically modifying viewable content of the target document to include a tag identifying the portion of the target document corresponding to the field and the identified field type of the field, the tag visually indicating to a user to further modify the document within the field.

### Claim 2 (depends on 1)

The method of claim 1, wherein the machine learned model is configured to:
identify a bounding box for each field of the target document, the bounding box associated with location coordinates identifying a location of the bounding box within the target document;
wherein identifying text of the target document associated with the identified portion of the target document corresponding to the field comprises:
identifying characters within the target document and a character location for each character in the target document; and
determining, based on the character locations, the characters located within a threshold distance of the location coordinates of the bounding box.

### Claim 3 (depends on 2)

The method of claim 2, wherein the location coordinates include a starting coordinate and an ending coordinate for each bounding box, and the method further comprising:
detecting over-lapping location coordinates for the bounding boxes of the target document, wherein the over-lapping location coordinates for one bounding box comprises either a starting coordinate or an ending coordinate that is located at or between the starting coordinate and the ending coordinate of another bounding box; and
removing all but one of the bounding boxes with over-lapping location coordinates based on a set of predetermined rules.

### Claim 4 (depends on 1)

The method of claim 1, wherein the identified field type includes at least one of: a text field, a radio button field, a signature field, an initial field, a date field, and a date signed field.

### Claim 5 (depends on 1)

The method of claim 1, wherein the identified field type is a text field, and for each text field of the target document:
automatically modifying the target document to include an identification of text to be entered by a user in the text field based on a field sub-type of the text field.

### Claim 6 (depends on 5)

The method of claim 5, wherein the field sub-type of the text field includes one of: a name, an address, a title, a date, a company name, and a dollar amount.

### Claim 7 (depends on 1)

The method of claim 1, wherein the target document is accessed by:
receiving the target document to be auto-tagged from a user of a document management system;
generating the target document to be auto-tagged within the document management system;
accessing the target document to be auto-tagged, the target document stored within the document management system; or
accessing the target document to be auto-tagged from a document system different than the document management system.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
providing, to a device of a user, the modified target document; and
receiving, from the device of the user, feedback including at least one of: approval of the modified target document, deletion of one or more tags included in the modified target document, an update to one or more field types, and an update to one or more tags.

### Claim 9

A non-transitory computer readable storage medium comprising computer executable instructions for automatically tagging fields of a target document that when executed by one or more processors causes the one or more processors to perform operations comprising:
accessing a training set of data comprising documents each with a set of tagged fields within the document, each tagged field corresponding to a portion of the document;
training a machine learned model using the training set of data, the machine learned model configured to identify, for each of one or more fields within a document, a portion within the document corresponding to the field;
applying the machine learned model to the target document to identify portions of the target document corresponding to the fields of the target document; and
for each field of the target document:
identifying text of the target document associated with the identified portion of the target document corresponding to the field;
performing natural language processing on the identified text to identify a field type of the field; and
automatically modifying viewable content of the target document to include a tag identifying the portion of the target document corresponding to the field and the identified field type of the field, the tag visually indicating to a user to further modify the document within the field.

### Claim 10 (depends on 9)

The non-transitory computer readable storage medium of claim 9, wherein the machine learned model is configured to:
identify a bounding box for each field of the target document, the bounding box associated with location coordinates identifying a location of the bounding box within the target document;
wherein identifying text of the target document associated with the identified potion of the target document corresponding to the field comprises:
identifying characters within the target document and a character location for each character in the target document; and
determining, based on the character locations, the characters located within a threshold distance of the location coordinates of the bounding box.

### Claim 11 (depends on 10)

The non-transitory computer readable storage medium of claim 10, wherein the location coordinates include a starting coordinate and an ending coordinate for each bounding box, and wherein the instructions further cause the processors to perform operations comprising:
detecting over-lapping location coordinates for the bounding boxes of the target document, wherein the over-lapping location coordinates for one bounding box comprises either a starting coordinate or an ending coordinate that is located at or between the starting coordinate and the ending coordinate of another bounding box; and
removing all but one of the bounding boxes with over-lapping location coordinates based on a set of predetermined rules.

### Claim 12 (depends on 9)

The non-transitory computer readable storage medium of claim 9, wherein the identified field type includes at least one of: a text field, a radio button field, a signature field, an initial field, a date field, and a date signed field.

### Claim 13 (depends on 9)

The non-transitory computer readable storage medium of claim 9, wherein the identified field type is a text field, and wherein the instructions further cause the processors to perform operations for each text field of the target document comprising:
automatically modifying the target document to include an identification of text to be entered by a user in the text field based on a field sub-type of the text field.

### Claim 14 (depends on 13)

The non-transitory computer readable storage medium of claim 13, wherein the field sub-type of the text field includes one of: a name, an address, a title, a date, a company name, and a dollar amount.

### Claim 15 (depends on 9)

The non-transitory computer readable storage medium of claim 9, the target document is accessed by:
receiving the target document to be auto-tagged from a user of a document management system;
generating the target document to be auto-tagged within the document management system;
accessing the target document to be auto-tagged, the target document stored within the document management system; or
accessing the target document to be auto-tagged from a document system different than the document management system.

### Claim 16 (depends on 9)

The non-transitory computer readable storage medium of claim 9, wherein the instructions further cause the processors to perform operations comprising:
providing, to a device of a user, the modified target document; and
receiving, from the device of the user, feedback including at least one of: approval of the modified target document, deletion of one or more tags included in the modified target document, an update to one or more field types, and an update to one or more tags.

### Claim 17

A computer system for automatically tagging fields of a target document comprising:
one or more processors; and
a non-transitory computer readable storage medium comprising computer executable instructions that when executed by one or more processors causes the one or more processors to perform operations comprising:
accessing a training set of data comprising documents each with a set of tagged fields within the document, each tagged field corresponding to a portion of the document;
training a machine learned model using the training set of data, the machine learned model configured to identify, for each of one or more fields within a document, a portion within the document corresponding to the field;
applying the machine learned model to the target document to identify portions of the target document corresponding to the fields of the target document; and
for each field of the target document:
identifying text of the target document associated with the identified portion of the target document corresponding to the field;
performing natural language processing on the identified text to identify a field type of the field; and
automatically modifying viewable content of the target document to include a tag identifying the portion of the target document corresponding to the field and the identified field type of the field, the tag visually indicating to a user to further modify the document within the field.

### Claim 18 (depends on 17)

The computer system of claim 17, wherein the machine learned model is configured to:
identify a bounding box for each field of the target document, the bounding box associated with location coordinates identifying a location of the bounding box within the target document;
wherein identifying text of the target document associated with the identified portion of the target document corresponding to the field comprises:
identifying characters within the target document and a character location for each character in the target document; and
determining, based on the character locations, the characters located within a threshold distance of the location coordinates of the bounding box.

### Claim 19 (depends on 18)

The computer system of claim 18, wherein the location coordinates include a starting coordinate and an ending coordinate for each bounding box, and the method further comprising:
detecting over-lapping location coordinates for the bounding boxes of the target document, wherein the over-lapping location coordinates for one bounding box comprises either a starting coordinate or an ending coordinate that is located at or between the starting coordinate and the ending coordinate of another bounding box; and
removing all but one of the bounding boxes with over-lapping location coordinates based on a set of predetermined rules.

### Claim 20

A method for automatically tagging fields of a target document, comprising:
applying a machine learned model trained on pre-tagged documents to the target document to identify portions of the target document corresponding to the fields of the target document, the machine learned model configured to identify, for each of one or more fields within a document, a portion of the document corresponding to the field; and
for each field of the target document:
identifying text of the target document associated with the identified portion of the target document corresponding to the field;
performing natural language processing on the identified text to identify a field type of the field; and
automatically modifying viewable content of the target document to include a tag identifying the portion of the target document corresponding to the field and the identified field type of the field, the tag visually indicating to a user to further modify the document within the field.
