Legal Information Extraction

Extracts parties, dates, amounts and references from legal texts.

Experimental research applicationDocumentation needs completingLevel: Intermediate AI in Law & Justice Documents & Contracts

Added: — Last updated:

Documentation needs completing: the content of this page is an initial editorial record whose scientific review is not yet complete; the linked papers are real records matched to OpenAlex, but they do not necessarily prove that the application is commercially deployed.

Overview

Relies on named entity recognition (NER) and relation extraction specialised for the legal domain.

The real-world problem

Important data is buried in long, unstructured texts.

Advantages

  • Building legal knowledge bases

Limitations

  • Varied wording
  • Scarce labelled data

Ethical and technical challenges

  • Privacy

How it works

Tag entities, extract the relations between them and store them in a queryable knowledge base.

Types of data used

  • Legal texts

Implementation requirements

Texts labelled with legal entities.

AI techniques

Models

Models are separated into: «actually used» (with documented evidence), «research prototype» (with published evidence), and «proposed» (suited to the task, without claiming it is used in a deployed system).

ModelNature of useArchitectureEvidence
LEGAL-BERTProposed / suited to the taskA model that suits this task and is used in the literature for it, suggested here without claiming it is used in a deployed product.BERT pre-trained on legal text—
BERT (Bidirectional Encoder Representations from Transformers) in the Model AtlasProposed / suited to the taskA model that suits this task and is used in the literature for it, suggested here without claiming it is used in a deployed product.Encoder-only Transformer—
LayoutLMProposed / suited to the taskA model that suits this task and is used in the literature for it, suggested here without claiming it is used in a deployed product.Text + layout pre-trained Transformer—

Algorithms

Frameworks and tools

  • spaCy — An industrial-strength natural language processing library for entity extraction and parsing.
  • Hugging Face Transformers — A library for loading pre-trained models and fine-tuning them for text, images and audio.

Datasets

There are currently no datasets linked to this application in the encyclopedia.

Real-world examples

There are currently no documented real-world examples of this application in the encyclopedia. Recorded application type: «Experimental research application».

Research papers

Research and project ideas

Recorded research gap

Extracting legal entities from Arabic texts

The following ideas are suggestions derived from the application's record, not completed projects; review recent literature before adopting them.

Graduation project (bachelor's)

Graduation project: a prototype system for Legal Information Extraction

A suggested project idea derived from the application's record in the encyclopedia, not a completed project. Extracts parties, dates, amounts and references from legal texts.

Objectives: Build a prototype that addresses the problem: Important data is buried in long, unstructured texts. Evaluate it with suitable metrics and compare it with a simple baseline.

Methodology: Tag entities, extract the relations between them and store them in a queryable knowledge base.

Suggested models: LEGAL-BERT, BERT (Bidirectional Encoder Representations from Transformers), LayoutLM

Master's

Extracting legal entities from Arabic texts

A suggested research topic derived from the gap recorded for this application in the encyclopedia; it needs a review of recent literature before it is adopted.

Objectives: Addressing the recorded limitations: Varied wording; Scarce labelled data

Methodology: Review the related literature recorded, then design reproducible experiments on the available datasets, with a strict data split to avoid leakage and reporting of confidence intervals.

Suggested models: LEGAL-BERT, BERT (Bidirectional Encoder Representations from Transformers), LayoutLM

References

  1. Harshil Darji, Jelena Mitrović, Michael Granitzer (2023). German BERT Model for Legal Named Entity Recognition. ICAART. doi:10.5220/0011749400003393
  2. Ilias Chalkidis, Manos Fergadiotis, Prodromos Malakasiotis et al. (2020). LEGAL-BERT: The Muppets straight out of Law School. Findings of EMNLP 2020. doi:10.18653/v1/2020.findings-emnlp.261
  3. Yiheng Xu, Minghao Li, Lei Cui et al. (2020). LayoutLM: Pre-training of Text and Layout for Document Image Understanding. KDD 2020. doi:10.1145/3394486.3403172
  4. Jacob Devlin, Ming-Wei Chang, Kenton Lee, Kristina Toutanova (2019). BERT: Pre-training of deep bidirectional transformers for language understanding. NAACL-HLT 2019, 4171–4186. doi:10.18653/v1/n19-1423
  5. Hugging Face Transformers [Tool documentation, accessed: 2026-11-15] Link
  6. spaCy [Tool documentation, accessed: 2026-11-15] Link