| CPC G06F 40/56 (2020.01) [G06F 40/166 (2020.01)] | 20 Claims |

|
1. A method comprising:
receiving, by a computing device, a contract document comprising a plurality of clauses;
providing at least a first portion of the contract document as input to an extractive language model that is configured to classify legal clauses of a contract document as one or more types of clauses, wherein the first portion of the contract document comprises a first clause;
determining, using the extractive language model, a classification for the first portion of the contract indicating that the first clause is of a first type of clause, of the one or more types of clauses;
providing at least the first portion of the contract document and the determined classification for the first portion of the contract document as input to a generative language model that is configured to determine suggested edits to a contract document based on a plurality of pre-configured rules corresponding to the one or more types of clauses;
determining, using the generative language model, a suggested edit to the contract document based on a difference between at least one contract term of the first portion of the contract document and a specified contract term of a first pre-configured rule corresponding to the first type of clause; and
generating, by the computing device, output data generated based on the determined classification for the first portion of the contract document and the suggested edit to the contract document, wherein the output data comprises an indication of the first portion of the contract document, the first type of clause, and the suggested edit to the contract document.
|