Skip to content

Implementation of different summarization algorithms applied to legal case judgements.

Notifications You must be signed in to change notification settings

Law-AI/summarization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This repository contains implementations and datasets made available in the following papers :

  • Legal Case Document Summarization: Extractive and Abstractive Methods and their Evaluation accepted at AACL-IJCNLP 2022.
  • A Comparative Study of Summarization Algorithms Applied to Legal Case Judgments accepted at ECIR 2019.

We provide the code base of various Extractive and Abstractive summarization algorithms applied to legal case documents. We also provide three summarization datasets from the Indian and UK Supreme Court case documents.

Dataset

We make available 3 legal document summarization datasets. Please refer to the dataset folder for more details :

Extractive Summarization methods

We provide the implementations of the following methods in the extractive folder of the repository :

Abstractive Summarization methods

  • Scripts to generate fine tuning data using following techniques
    • CLS
    • SIF
    • MCS
    • MCS_RR
  • Scripts to fine-tune following models
  • Scripts to generate summaries using following models/methods
    • BART(CLS, MCS, SIF)
    • BART_RR
    • BERT-BART
    • Legal-LED
    • Pegasus
  • Helper chunking and combiner scripts for BertSum-Abs and Pointer Generator methods

Availability of Trained Models

The following models trained on the IN-Abs & UK-Abs datasets are publicly available at https://zenodo.org/record/7234359#.Y2tShdJByC1

  • Extractive : SummaRuNNer, Gist

  • Abstractive : Legal-Pegasus, Legal-LED

Citation

If you are using the implementations / datasets / trained models, please refer to the following papers:

@inproceedings{shukla2022,
  title={Legal Case Document Summarization: Extractive and Abstractive Methods and their Evaluation},
  author={Shukla, Abhay and Bhattacharya, Paheli and Poddar, Soham and Mukherjee, Rajdeep and Ghosh, Kripabandhu and Goyal, Pawan and Ghosh, Saptarshi},
  booktitle={The 2nd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 12th International Joint Conference on Natural Language Processing},
  year={2022}
}

@inproceedings{bhattacharya2019comparative,
  title={A comparative study of summarization algorithms applied to legal case judgments},
  author={Bhattacharya, Paheli and Hiware, Kaustubh and Rajgaria, Subham and Pochhi, Nilay and Ghosh, Kripabandhu and Ghosh, Saptarshi},
  booktitle={European Conference on Information Retrieval},
  pages={413--428},
  year={2019},
  organization={Springer}
}

About

Implementation of different summarization algorithms applied to legal case judgements.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published