@inproceedings{maffeo-etal-2026-prompt,
title = "Prompt Engineering for Named Entity Extraction from {P}ortuguese Legal Documents",
author = "Maffeo, Giovanni and
Silva, Catarina and
Oliveira, Hugo Gon{\c{c}}alo",
editor = "Souza, Marlo and
de-Dios-Flores, Iria and
Santos, Diana and
Freitas, Larissa and
Souza, Jackson Wilke da Cruz and
Ribeiro, Eug{\'e}nio",
booktitle = "Proceedings of the 17th International Conference on Computational Processing of {P}ortuguese ({PROPOR} 2026) - Vol. 1",
month = apr,
year = "2026",
address = "Salvador, Brazil",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/ingest-dnd/2026.propor-1.116/",
pages = "1092--1097",
ISBN = "979-8-89176-387-6",
abstract = "The growing volume and complexity of legal texts highlight the need for automatic methods capable of extracting structured information from unstructured documents. Motivated by the limited availability and high cost of annotated legal data, this challenge is even more severe for the Portuguese language. This work investigates whether prompt engineering over Large Language Models (LLMs) can effectively support legal Named Entity Recognition (NER) in low-supervision and low-resource settings through In-Context Learning (ICL). Using the LeNER-Br corpus, we evaluate category-specific prompts, different chunking sizes, and prompt engineering strategies. Entity-level evaluation using Exact Match Micro F1 shows that prompt engineering has a stronger impact on performance than other strategies. The best results were obtained with larger models, the 4-bit quantised Qwen-2.5:32B and GPT-5.2, achieving scores of 57.9{\%} and 71.9{\%}, respectively, highlighting the potential of this approach as an alternative to traditional supervised NER pipelines."
}Markdown (Informal)
[Prompt Engineering for Named Entity Extraction from Portuguese Legal Documents](https://preview.aclanthology.org/ingest-dnd/2026.propor-1.116/) (Maffeo et al., PROPOR 2026)
ACL