# US 9,355,370 B2 · System and method for generating legal documents

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

- Number: US 9,355,370 B2
- Document ID: US9355370B2
- Status: Granted
- Kind: B2
- Application number: 13/922,154
- Filed: 2013-06-19
- Published: 2014-01-23
- Granted: 2016-05-31
- Earliest claimed: 2012-07-20
- Assignees: iClosings.com, Inc.
- Applicants: Kenneth Scott Miller; Adam Hall
- Inventors: Kenneth Scott Miller; Adam Hall
- Web page: https://patentgrep.com/patent/US9355370B2

## CPC

- G06Q 50/18: Legal services
- G06F 40/186: Templates
- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- G06Q 10/10: Office automation; Time management
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A system and method for the automated generation of documents for a legal transaction over a network using probabilistic prediction of customary usage. The predictions are generated by user experience, expert rules and machine learned classifiers based on user input of transaction data. The classifiers are constructed and tested on a partitioned dataset consisting of transaction data and legal document and clause selections in previous transactions. In one embodiment, such dataset is collected in a document management system.

## Claims

### Claim 1

A server system for generating legal documents, the server system comprising:
a. processor for executing instructions;
a display, operatively coupled to the processor;
an input communications device;
a non-transitory computer readable medium, operatively coupled to the processor, wherein the non-transitory computer readable medium contains:
a set of server system instructions that, if executed by the processor, are operable to cause the server system to prompt a first user to initialize the server system with a plurality of legal document forms and a plurality of form selection attributes corresponding to each, of the plurality of legal document forms;
a set of learning agent instructions that, if executed by the processor, are operable to cause the server system to construct at least one machine learned, form selection classifier based on a training set, wherein the training set is a first subset of a set of form usage data;
a set of rule engine instructions that, if executed by the processor, are operable to cause the server system to construct a rules engine, the rules engine comprising form selection rules and resources and logic to apply the form selection rules, wherein the form selection rules include the at least one machine learned, form selection classifier; and
a set of document management instructions that, if executed by the processor, are operable to cause the server system to:
prompt a second user to populate the rules engine with transaction data corresponding to the second user's legal transaction;
select at least one of the plurality of legal document forms as determined by the populated rules engine;
populate at least one selected legal document form with data corresponding to the transaction data to produce at least one completed legal document; and
display the at least one completed legal document to the second user.

### Claim 2 (depends on 1)

The server system of claim 1, wherein the rules engine is configured to perform a comparative evaluation of the form selection rules using a test set, wherein the test set is a second subset of the set of form usage data.

### Claim 3 (depends on 2)

The server system of claim 2 wherein the rules engine is configured to assign a reliability rating to each of the form selection rules based on the comparative evaluation of the form selection rules.

### Claim 4 (depends on 3)

The server system of claim 3 wherein the set of document management instructions, if executed by the processor, are further operable to cause the server system to:
display a suggested legal document form and its associated reliability rating for the legal transaction, wherein the suggested legal document form and its associated reliability rating are determined by the rules engine; and
add the transaction data and the second user's form selection to the set of form usage data.

### Claim 5 (depends on 4)

The server system of claim 4, wherein the machine learned, form selection classifier generates probabilistic predictions of form usage derived from the form usage data and the transaction data.

### Claim 6 (depends on 5)

The server system of claim 5, wherein at least one of the form selection rules is dynamic, wherein the dynamic form selection rule references the at least one selected legal document.

### Claim 7 (depends on 6)

The server system of claim 6 wherein the form selection rules are initialized with expert provided rules.

### Claim 8

A method for generating legally binding documents, the method comprising:
populating a document management system with a plurality of legal document forms;
populating a rules engine system with a plurality of form selection rules, wherein populating the rules engine system with the plurality of form selection rules further comprises predicting a form usage probability for each of the plurality of legal document forms;
receiving transaction data for a legal transaction, wherein the transaction data includes at least one form selection attribute;
selecting at least one legal document form from the plurality of legal document forms for the legal transaction, wherein selecting the at least one legal document further comprises applying at least one form selection rule to the transaction data;
populating the at least one selected legal document form with data corresponding to the transaction data; and
capturing form usage data associated with the selected legal document.

### Claim 9 (depends on 8)

The method of claim 8 wherein predicting the usage probability for each of the plurality of legal document forms comprises applying at least one machine learning algorithm to construct at least one form selection classifier with a first subset of the form usage data.

### Claim 10 (depends on 9)

The method of claim 9 wherein constructing the at least one form selection classifier further comprises testing the at least one form selection classifier with a test set, wherein the test set is a second subset of the form usage data.

### Claim 11 (depends on 10)

The method of claim 10 wherein the form usage data is collected in the document management system.

### Claim 12 (depends on 11)

The method of claim 11 wherein populating the rules engine with a plurality of form selection rules further comprises testing the plurality of form selection rules with the test set and assigning a reliability rating to each of the form selection rules based on the results of such testing.

### Claim 13 (depends on 12)

The method of claim 12 wherein determining the at least one selected legal document form for the legal transaction further comprises: displaying at least one suggested legal document form and its associated form selection rules reliability rating.

### Claim 14

A method for generating legal documents, the method comprising:
populating a document management system with a plurality of legal document forms and a plurality of optional clauses corresponding to at least one of the plurality of legal document forms;
populating a rules engine system with a plurality of form selection rules, wherein populating the rules engine system with a plurality of form selection rules further comprises the rules engine predicting a usage probability for each of the plurality of legal document forms;
populating the rules engine system with a plurality of clause selection rules wherein each clause selection rule maps at least one clause selection attribute to at least one optional clause, wherein populating the rules engine system with a plurality of clause selection rules further comprises the rules engine predicting a usage probability for each of the plurality of optional clauses;
receiving transaction data for a current transaction, wherein the transaction data includes at least one user inputted form selection attribute and at least one user inputted clause selection attribute;
determining with the rules engine at least one selected legal document form for the current legal transaction;
determining with the rules engine at least one selected optional clause for the at least one selected legal document form; and
populating the at least one selected legal document form with the at least one selected optional clause and with data corresponding to the transaction data; and
capturing usage data associated with the selected legal document and the selected optional clause to reiteratively revise usage probabilities.

### Claim 15 (depends on 14)

The method of claim 14 wherein predicting, the usage probability for each of the plurality of optional clauses comprises applying at least one machine learning algorithm to construct at least one clause selection classifier with a first subset of the clause usage data.

### Claim 16 (depends on 15)

The method of claim 15 wherein constructing the at least one clause selection classifier further comprises testing the at least one clause selection classifier using a test set, wherein the test set is a second subset of the clause usage data.

### Claim 17 (depends on 16)

The method of claim 16 wherein the set of clause usage data is collected in the document management system.

### Claim 18 (depends on 17)

The method of claim 17 wherein populating the rules engine with a plurality of clause selection rules further comprises testing the plurality of clause selection rules with the test set and assigning a reliability rating, to each of the clause selection rules based on the test results.

### Claim 19 (depends on 18)

The method of claim 18 wherein the at least one selected optional clause contains a plurality of subordinate optional clauses.

### Claim 20 (depends on 19)

The method of claim 19 wherein the at least one selected optional clause and the plurality of subordinate optional clauses are organized in a tree structure.
