Giter VIP home page Giter VIP logo

extreme_multi_label_portuguese_supreme_judgments's Introduction

Extreme_multi_label_Portuguese_Supreme_Judgments

Introduction:

Welcome to the Extreme Multi-Label System for Portuguese Supreme Court Judgments! This system is designed to return legal index terms (labels) given a judgment.

Key Features:

  1. The system comprises separate models for each of the nine sections of Supreme Court judgments, namely "Contencioso", "Sem secção", "1.ª Secção (Cível)", "2.ª Secção (Cível)", "3.ª Secção (Criminal)", "4.ª Secção (Social)", "5.ª Secção (Criminal)", "6.ª Secção (Cível)", and "7.ª Secção (Cível)". Each model is trained to identify and assign relevant labels (descriptors) specific to its respective section.
  2. Paragraph labelling: We have trained a model (Bilstm with CRF) that gives for each paragraph of the judgment a label (zone of the judgment). We considered nine zones: "cabeçalho", "relatório", "delimitação", "fundamentação", "decisão", "colectivo", "declaração", "foot-notes" and "títulos.

Usage:

To use this Extreme Multi-Label System for Portuguese Supreme Court Judgments, follow these steps:

  1. Clone the repository to your local machine.
  2. In the usage.py file, use the usage function that receives a judgments and to which section it belongs. The judgment is divided into zones, where only the "relatório", "fundamentação" and "decisão" are considered to the Extreme-multi-label model. The y_train is loaded every time the model is used as well. This function returns the chosen labels for the respective document. The descriptors and documents used are from the Portuguese Supreme Court of Justice.
  3. It is possible to train new models with new data. The train function is in the run.py and the run.sh has the script. The dataset used is available in here (https://huggingface.co/datasets/MartimZanatti/Descriptors_STJ).

Contributing:

We welcome contributions to enhance the functionality and performance of this system. If you have any ideas, bug fixes, or improvements, please submit a pull request, and we will review it promptly.

Contact:

For any inquiries or feedback regarding this Extreme Multi-Label System, please contact [email protected]

We hope you find this system useful in efficiently navigating and exploring the extensive collection of Portuguese Supreme Court judgments. Happy labeling and categorizing!

extreme_multi_label_portuguese_supreme_judgments's People

Contributors

martimzanatti avatar diogoalmiro avatar

Watchers

 avatar

Forkers

stjiris

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.