# US 2022/0284312 A1 · System and method for automated document generation and search

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

- Number: US 2022/0284312 A1
- Document ID: US20220284312A1
- Status: Published application
- Kind: A1
- Application number: 17/826,340
- Filed: 2022-05-27
- Published: 2022-09-08
- Earliest claimed: 2020-06-09
- Assignees: Legislate Technologies Limited
- Applicants: Legislate Technologies Limited
- Inventors: Charles BRECQUE
- Web page: https://patentgrep.com/patent/US20220284312A1

## CPC

- G06N 5/02: Knowledge representation; Symbolic representation
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 16/93: Document management systems
- G06F 40/123: Storage facilities
- G06F 40/143: Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
- G06F 40/151: Transformation
- G06F 40/154: Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets
- G06F 40/16: Automatic learning of transformation rules, e.g. from examples
- G06F 40/166: Editing, e.g. inserting or deleting
- G06F 40/186: Templates
- G06F 40/194: Calculation of difference between files
- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- G06F 40/205: Parsing
- G06F 40/226: Validation
- G06F 40/247: Thesauruses; Synonyms
- G06F 40/279: Recognition of textual entities
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F 40/295: Named entity recognition
- G06F 40/30: Semantic analysis
- G06N 5/025: Extracting rules from data
- G06N 5/04: Inference or reasoning models
- G06F 16/345: {Summarisation for human users}
- G06F 16/367: {Ontology}
- G06F 40/56: Natural language generation
- G06Q 10/00: Administration; Management
- G06Q 10/06: Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q 10/10: Office automation; Time management
- G06Q 50/18: Legal services
- G06Q 50/188: {Electronic negotiation}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

A semantic document generation and search system is described. The semantic document extraction system generates a knowledge graph representing a collection of documents, each document being represented as a sub-graph of the knowledge graph being linked to each other by common terms of a plurality of document terms. The system extracts a first filter criterion based on the plurality of terms of the sub-graphs representing the collection of documents, receives a first search value for the first filter criterion, and identifies a subset of sub-graphs, of the knowledge graph, that include a term corresponding to the first filter criterion and having a term value corresponding to the first search value. The system prunes the knowledge graph to include only the identified subset of sub-graphs, and extracts and outputs a subset of the collection of documents corresponding to the subset of sub-graphs included in the pruned knowledge graph.

## Claims

### Claim 1

A document extraction system comprising:
at least one memory configured to a store a program; and
at least one processor communicatively connected to the at least one memory and configured to execute the stored program to:
generate a knowledge graph representing a collection of documents stored in a document database, each document of the collection of documents being represented as a sub-graph of the knowledge graph and having a plurality of terms, the sub-graphs being linked to each other by common terms of the plurality of terms;
extract a first filter criterion based on the plurality of terms of the sub-graphs representing the collection of documents;
receive a first search value for the first filter criterion;
identify a subset of sub-graphs, of the knowledge graph, that include a term corresponding to the first filter criterion and having a term value corresponding to the first search value;
prune the knowledge graph to include only the identified subset of sub-graphs; and
extract and output a subset of the collection of documents corresponding to the subset of sub-graphs included in the pruned knowledge graph.

### Claim 2 (depends on 1)

The system according to claim 1, wherein the at least one processor is further configured to execute the stored program to extract the first filter criterion by:
identifying a plurality of values associated with each term of the plurality of terms of the sub-graphs of the knowledge graph; and
extracting the plurality of values for at least one of the plurality of terms as the first filter criterion.

### Claim 3 (depends on 1)

The system according to claim 1, wherein the at least one processor is further configured to execute the stored program to:
extract a second filter criterion based on the plurality of terms of the sub-graphs representing the collection of documents;
receive a second search value for the second filter criterion;
identify a second subset of sub-graphs, of the pruned knowledge graph, that include a term corresponding to the second filter criterion and having a term value corresponding to the second search value;
further prune the knowledge graph to include only the identified second subset of sub-graphs; and
extract and output a subset of the collection of documents corresponding to the second subset of sub-graphs included in the further pruned knowledge graph.

### Claim 4 (depends on 1)

The system according to claim 1, wherein the first filter criterion includes at least one of contract people, contract meta data, contract type, and contract term.

### Claim 5 (depends on 4)

The system according to claim 4, wherein the second filter criterion includes at least one of contract people, contract meta data, contract type, and contract term.

### Claim 6

A method of extracting a document, the method executable by a programmed processor, the method comprising:
generating a knowledge graph representing a collection of documents stored in a document database, each document of the collection of documents being represented as a sub-graph of the knowledge graph and having a plurality of terms, the sub-graphs being linked to each other by common terms of the plurality of terms;
extracting a first filter criterion based on the plurality of terms of the sub-graphs representing the collection of documents;
receiving a first search value for the first filter criterion;
identifying a subset of sub-graphs, of the knowledge graph, that include a term corresponding to the first filter criterion and having a term value corresponding to the first search value;
pruning the knowledge graph to include only the identified subset of sub-graphs; and
extracting and outputting a subset of the collection of documents corresponding to the subset of sub-graphs included in the pruned knowledge graph.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising:
identifying a plurality of values associated with each term of the plurality of terms of the sub-graphs of the knowledge graph; and
extracting the plurality of values for at least one of the plurality of terms as the first filter criterion.

### Claim 8 (depends on 6)

The method according to claim 6, further comprising:
extracting a second filter criterion based on the plurality of terms of the sub-graphs representing the collection of documents;
receiving a second search value for the second filter criterion;
identifying a second subset of sub-graphs, of the pruned knowledge graph, that include a term corresponding to the second filter criterion and having a term value corresponding to the second search value;
further pruning the knowledge graph to include only the identified second subset of sub-graphs; and
extracting and outputting a subset of the collection of documents corresponding to the second subset of sub-graphs included in the further pruned knowledge graph.

### Claim 9 (depends on 6)

The method according to claim 6, wherein the first filter criterion includes at least one of contract people, contract meta data, contract type, and contract term.

### Claim 10 (depends on 6)

The method according to claim 6, wherein the second filter criterion includes at least one of contract people, contract meta data, contract type, and contract term.

### Claim 11

A non-transitory computer readable storage medium configured to store a program that causes a programmed processor to execute a method for extracting a document, the method comprising:
generating a knowledge graph representing a collection of documents stored in a document database, each document of the collection of documents being represented as a sub-graph of the knowledge graph and having a plurality of terms, the sub-graphs being linked to each other by common terms of the plurality of terms;
extracting a first filter criterion based on the plurality of terms of the sub-graphs representing the collection of documents;
receiving a first search value for the first filter criterion;
identifying a subset of sub-graphs, of the knowledge graph, that include a term corresponding to the first filter criterion and having a term value corresponding to the first search value;
pruning the knowledge graph to include only the identified subset of sub-graphs; and
extracting and outputting a subset of the collection of documents corresponding to the subset of sub-graphs included in the pruned knowledge graph.

### Claim 12 (depends on 11)

The storage medium according to claim 11, wherein the method further comprises:
identifying a plurality of values associated with each term of the plurality of terms of the sub-graphs of the knowledge graph; and
extracting the plurality of values for at least one of the plurality of terms as the first filter criterion.

### Claim 13 (depends on 11)

The storage medium according to claim 11, wherein the method further comprises:
extracting a second filter criterion based on the plurality of terms of the sub-graphs representing the collection of documents;
receiving a second search value for the second filter criterion;
identifying a second subset of sub-graphs, of the pruned knowledge graph, that include a term corresponding to the second filter criterion and having a term value corresponding to the second search value;
further pruning the knowledge graph to include only the identified second subset of sub-graphs; and
extracting and outputting a subset of the collection of documents corresponding to the second subset of sub-graphs included in the further pruned knowledge graph.

### Claim 14 (depends on 11)

The storage medium according to claim 11, wherein the first filter criterion includes at least one of contract people, contract meta data, contract type, and contract term.

### Claim 15 (depends on 11)

The storage medium according to claim 11, wherein the second filter criterion includes at least one of contract people, contract meta data, contract type, and contract term.
