Graph-based Keyword Planning for Legal Clause Generation from Topics

Sagar Joshi, Sumanth Balaji, Aparna Garimella, Vasudeva Varma
1/7/2023
2 citations
cs.CLcs.AI

Official code: sagarsj42/legal_clause_gen_from_topic_keywords (1 star, Python, Unlicense, last commit 2023-10-14).

Abstract

Generating domain-specific content such as legal clauses based on minimal user-provided information can be of significant benefit in automating legal contract generation. In this paper, we propose a controllable graph-based mechanism that can generate legal clauses using only the topic or type of the legal clauses.

Show full abstract

Our pipeline consists of two stages involving a graph-based planner followed by a clause generator. The planner outlines the content of a legal clause as a sequence of keywords in the order of generic to more specific clause information based on the input topic using a controllable graph-based mechanism. The generation stage takes in a given plan and generates a clause. The pipeline consists of a graph-based planner followed by text generation. We illustrate the effectiveness of our proposed two-stage approach on a broad set of clause topics in contracts.

View on arXivView PDF

Code Implementations(1)

Unlicense

Generating legal clauses from the clause topic and keywords

10Python, ShellNov 2, 20223 years agoUnlicense

Similar Papers

Cite this paper

@article{joshi2023graphbased,
  title  = {Graph-based Keyword Planning for Legal Clause Generation from Topics},
  author = {Sagar Joshi and Sumanth Balaji and Aparna Garimella and Vasudeva Varma},
  year   = {2023},
  eprint = {2301.06901},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.06901v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.06901.svg)](https://codeofpaper.com/paper/2301.06901)

Discussion