# US 2021/0081601 A1 · Cross-Document Intelligent Authoring and Processing, Including Format for Semantically-Annotated Documents

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

- Number: US 2021/0081601 A1
- Document ID: US20210081601A1
- Status: Published application
- Kind: A1
- Application number: 16/986,136
- Filed: 2020-08-05
- Published: 2021-03-18
- Earliest claimed: 2019-09-16
- Assignees: Docugami, Inc.
- Applicants: Docugami, Inc.
- Inventors: Andrew Begun; Steven DeRose; Taqi Jaffri; Luis Marti Orosa; Michael Palmer; Jean Paoli; Christina Pavlopoulou; Elena Pricoiu; Swagatika Sarangi; Marcin Sawicki; Manar Shehadeh; Michael Taron; Bhaven Toprani; Zubin Rustom Wadia; David Watson; Eric White; Joshua Yongshin Fan; Kush Gupta; Andrew Minh Hoang; Zhanlin Liu; Jerome George Paliakkara; Zhaofeng Wu; Yue Zhang; Xiaoquan Zhou
- Web page: https://patentgrep.com/patent/US20210081601A1

## CPC

- G06F 40/186: Templates
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06F 16/2457: with adaptation to user needs
- G06F 16/248: Presentation of query results
- G06F 16/93: Document management systems
- G06F 40/106: Display of layout of documents; Previewing
- 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/131: Fragmentation of text files, e.g. creating reusable text-blocks; Linking to fragments, e.g. using XInclude; Namespaces
- G06F 40/169: Annotation, e.g. comment data or footnotes
- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F 40/295: Named entity recognition
- G06F 40/30: Semantic analysis
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06N 3/091: Active learning
- G06N 20/00: Machine learning
- 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
- G06V 30/418: Document matching, e.g. of document images
- G06F 40/205: Parsing
- 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

Machine learning, artificial intelligence, and other computer-implemented methods are used to identify various semantically important chunks in documents, automatically label them with appropriate datatypes and semantic roles, and use this enhanced information to assist authors and to support downstream processes. Chunk locations, datatypes, and semantic roles can often be automatically determined from what is here called “context”, to wit, the combination of their formatting, structure, and content; those of adjacent or nearby content; overall patterns of occurrence in a document, and similarities of all these things across documents (mainly but not exclusively among documents in the same document set). Similarity is not limited to exact or fuzzy string or property comparisons, but may include similarity of natural language grammatical structure, ML (machine learning) techniques such as measuring similarity of word, chunk, and other embeddings, and the datatypes and semantic roles of previously-identified chunks.

## Claims

### Claim 1

A method implemented on a computer system executing instructions for processing documents, the method comprising:
processing a document set that contains a plurality of documents to identify chunks in the documents and to generate corresponding annotations, comprising stages of:
processing images of the documents to identify visual chunks that comprise visually distinct regions of the images of the documents; and generating first annotations that specify spacing and formatting of the visual chunks;
processing the visual chunks and first annotations to identify structural chunks that contain content from structures within the visual chunks; and generating second annotations that specify layout of the structural chunks;
processing the structural chunks and second annotations to identify topic-level chunks based on a grouping of content in structural chunks according to topic; and generating third annotations that specify topics of the topic-level chunks; and
processing the topic-level chunks and third annotations to identify field chunks comprising content suitable for use as fields in document templates; and generating fourth annotations that specify the fields of the field chunks;
generating representations of the processed documents in a format comprising the field chunks and at least some of the other identified chunks from the documents and corresponding annotations for the chunks; and
making the representations in the format available for use by any of a plurality of software applications in downstream processes.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the representations of the processed documents comprise all of the chunks identified in processing the documents and all of the corresponding annotations generated in processing the documents.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein each of the stages of processing the documents uses machine learning, artificial intelligence and/or natural language processing.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein each of the stages of processing the documents identifies chunks with less than 100% confidence.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the representations of the processed documents further comprise annotations specifying confidence levels for the identification of chunks.

### Claim 6 (depends on 4)

The computer-implemented method of claim 4, further comprising:
receiving user corrections for incorrectly identified chunks; and
improving the stages of automatically identifying chunks in response to the user corrections.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the stages of processing visual chunks, processing structural chunks and processing topic-level chunks is performed recursively for visual chunks contained within other visual chunks.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the representations of the processed documents further comprise annotations for the datatypes and semantic role labels of a plurality of the chunks, wherein the semantic role labels are descriptive of the semantic roles played by the chunks.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein some higher-level chunks contain other lower-level chunks as sub-chunks, and the representations of the processed documents further comprise annotations specifying containment of lower-level chunks in higher-level chunks.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein some chunks have a hierarchical relationship, and the representations of the processed documents further comprise annotations specifying hierarchical relationships between chunks.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein the chunks in the representations of the processed documents comprise a plurality of sections, headings, lists, items, markers, and/or Named Entities at multiple different levels.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, wherein the plurality of documents in the document set are all a same document type.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, further comprising:
assembling the document set by clustering documents into the document set based on similarity of content and/or layout.

### Claim 14 (depends on 1)

The computer-implemented method of claim 1, wherein representations of the processed documents are in an XML format.

### Claim 15 (depends on 1)

The computer-implemented method of claim 1, wherein the representations of the processed documents further comprise annotations for locations of chunks implemented using digital signatures.

### Claim 16 (depends on 1)

The computer-implemented method of claim 1, wherein the documents have original layouts, and the representations of the processed documents contain sufficient information to reconstruct the documents with the original layouts.

### Claim 17 (depends on 1)

The computer-implemented method of claim 1, wherein the plurality of software applications comprise software applications with a user interface for a user to create, edit and/or review the representations of the processed documents.

### Claim 18 (depends on 1)

The computer-implemented method of claim 1, wherein the format is a standardized, published format.

### Claim 19

A non-transitory computer-readable storage medium storing executable computer program instructions for processing documents, the instructions executable by a computer system and causing the computer system to perform a method comprising:
processing a document set that contains a plurality of documents to identify chunks in the documents and to generate corresponding annotations, comprising stages of:
processing images of the documents to identify visual chunks that comprise visually distinct regions of the images of the documents; and generating first annotations that specify spacing and formatting of the visual chunks;
processing the visual chunks and first annotations to identify structural chunks that contain content from structures within the visual chunks; and generating second annotations that specify layout of the structural chunks;
processing the structural chunks and second annotations to identify topic-level chunks based on a grouping of content in structural chunks according to topic; and generating third annotations that specify topics of the topic-level chunks; and
processing the topic-level chunks and third annotations to identify field chunks comprising content suitable for use as fields in document templates; and generating fourth annotations that specify the fields of the field chunks;
generating representations of the processed documents in a format comprising the field chunks and at least some of the other identified chunks from the documents and corresponding annotations for the chunks; and
making the representations in the format available for use by any of a plurality of software applications in downstream processes.

### Claim 20

A computer system for processing documents, the computer system comprising:
a storage medium for receiving and storing a document set that contains a plurality of documents; and
a processor system having access to the storage medium and executing an application program for processing documents, wherein the processor system executing the application program:
processes the plurality of documents to identify chunks in the documents and to generate corresponding annotations, comprising stages of:
processing images of the documents to identify visual chunks that comprise visually distinct regions of the images of the documents; and generating first annotations that specify spacing and formatting of the visual chunks;
processing the visual chunks and first annotations to identify structural chunks that contain content from structures within the visual chunks; and generating second annotations that specify layout of the structural chunks;
processing the structural chunks and second annotations to identify topic-level chunks based on a grouping of content in structural chunks according to topic; and generating third annotations that specify topics of the topic-level chunks; and
processing the topic-level chunks and third annotations to identify field chunks comprising content suitable for use as fields in document templates; and generating fourth annotations that specify the fields of the field chunks;
generate representations of the processed documents in a format comprising the field chunks and at least some of the other identified chunks from the documents and corresponding annotations for the chunks; and
make the representations in the format available for use by any of a plurality of software applications in downstream processes.
