2025/09/01 by Víctor Carneiro, Adrian Grille-Zallas, Daniel Lage-Etchart · 1 voice
Social Sciences · Economics, Econometrics and Finance · #Artificial Intelligence in Law #European and International Contract Law #Law, Economics, and Judicial Systems
paper · doi:10.1016/j.softx.2025.102337
openalex publication_date 2025/09/01 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/23
This work presents a software tool for the automated legal analysis of rental contract clauses using large language models (LLMs). The system extracts clause-level segments from .docx files and generates legal evaluations and rewritten alternatives using multiple LLMs (GPT-4, GPT-4o, GPT-3.5, DeepSeek). Each clause is assessed for legality, abusiveness, vagueness, risk, and legal gaps according to Spanish housing law. A unified JSON structure stores the outputs for reproducibility and benchmarking. The tool enables comparative analysis across models and provides a foundation for future research on AI-assisted legal drafting and clause evaluation.