Coder Social home page Coder Social logo

law-ai / summarization Goto Github PK

View Code? Open in Web Editor NEW
162.0 6.0 52.0 5.2 MB

Implementation of different summarization algorithms applied to legal case judgements.

Python 69.40% Jupyter Notebook 30.60%
legal-texts artificial-intelligence summarization python

summarization's Introduction

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}
}

summarization's People

Contributors

abhayshuklaiit avatar kaustubhhiware avatar npochhi avatar paheli avatar subhamrajgaria avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

summarization's Issues

Code structure

Can you upload the description and code structure as soon as possible?

RBM theano error

I am trying to run the "RBM" code, I did the theano installation as well. But, I am little confused as it is giving me some mysterious error everytime I run it. I am unable to find the right solution. Probably, you know what I am doing wrong. I have attached the relevant screenshots of the error and the theanorc file.

assdfds

Capture

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.