Automated legal analysis of rental contract clauses using large language models
| UDC.coleccion | Investigación | |
| UDC.departamento | Ciencias da Computación e Tecnoloxías da Información | |
| UDC.grupoInv | Telemática | |
| UDC.institutoCentro | CITIC - Centro de Investigación de Tecnoloxías da Información e da Comunicación | |
| UDC.issue | 102337 | |
| UDC.journalTitle | SoftwareX | |
| UDC.volume | 31 | |
| dc.contributor.author | Carneiro, Víctor | |
| dc.contributor.author | Grille-Zallas, Adrián | |
| dc.contributor.author | Lage-Etchart, Daniel | |
| dc.date.accessioned | 2025-09-12T13:32:28Z | |
| dc.date.available | 2025-09-12T13:32:28Z | |
| dc.date.issued | 2025-09-11 | |
| dc.description | Permanent link to code/repository used for this code version: https://github.com/ElsevierSoftwareX/SOFTX-D-25-00431 Permanent link to Reproducible Capsule: https://github.com/cyberLLM-Net/SLC-GPT/tree/main/library | |
| dc.description.abstract | [Abstract]: 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. | |
| dc.description.sponsorship | This work was carried out at CITIC, within the framework of the project PID2023-150794OB-I00, funded by the Ministry of Science, Innovation and Universities (MICIU), and co-funded by the European Regional Development Fund (ERDF), European Union. CITIC, accredited as a center of excellence within the Galician University System and a member of the CIGUS Network, also receives support from the Department of Education, Science, Universities, and Vocational Training of the Xunta de Galicia, co-financed by the EU through the ERDF Galicia 2021–2027 programme (Ref. ED431G 2023/01). | |
| dc.description.sponsorship | Xunta de Galicia; ED431G 2023/01 | |
| dc.identifier.citation | V. Carneiro-Diaz, A. Grille-Zallas, and D. Lage-Etchart, "Automated legal analysis of rental contract clauses using large language models", SoftwareX, Vol. 31, Sept. 2025, 102337, https://doi.org/10.1016/j.softx.2025.102337 | |
| dc.identifier.doi | 10.1016/j.softx.2025.102337 | |
| dc.identifier.issn | 2352-7110 | |
| dc.identifier.uri | https://hdl.handle.net/2183/45757 | |
| dc.language.iso | eng | |
| dc.publisher | Elsevier | |
| dc.relation.projectID | info:eu-repo/grantAgreement/AEI/Plan Estatal de Investigación Científica y Técnica y de Innovación 2021-2023/PID2023-150794OB-I00/ES/MEJORANDO LA DETECCION DE CIBER AMENAZAS USANDO MODELOS DE LENGUAJE DE GRAN TAMAÑO PARA PROTOCOLOS DE RED | |
| dc.relation.uri | https://doi.org/10.1016/j.softx.2025.102337 | |
| dc.rights | Attribution-NonCommercial 4.0 International | en |
| dc.rights.accessRights | open access | |
| dc.rights.uri | http://creativecommons.org/licenses/by-nc/4.0/ | |
| dc.subject | Legal clause analysis | |
| dc.subject | LLM | |
| dc.subject | Spanish housing law | |
| dc.title | Automated legal analysis of rental contract clauses using large language models | |
| dc.type | journal article | |
| dc.type.hasVersion | VoR | |
| dspace.entity.type | Publication | |
| relation.isAuthorOfPublication | 652c136c-eea5-4a78-947c-538b1c99f81b | |
| relation.isAuthorOfPublication.latestForDiscovery | 652c136c-eea5-4a78-947c-538b1c99f81b |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- CarneiroDiaz_Victor_2025_Automated_legal_analysis_of_rental_contract_clauses_using_large_language_models.pdf
- Size:
- 1.13 MB
- Format:
- Adobe Portable Document Format

