Skip to content

Akshay0799/LegalTextExtraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automated Extraction of Regulations from Legal Texts

This repo contains two notebooks for extracting Legal regulations using BiLSTM and simple Keyword-based methods respectively. In order to address the issue of human errors and save time in the process of reading through the legal guidelines, we propose the use of Natural Language Processing(NLP) to extract important requirements from the legal regulations, focusing solely on the Food and Packaging Industry. The proposed NLP pipeline will utilize BiLSTM neural networks which will be trained on annotated regulatory texts obtained from the Canadian Regulations to build multiple binary classifiers for each class of requirement. Keyword-based mechanisms using heuristic functions that would serve as a baseline system for the proposed approach have also been introduced.

Tech Stack

  • Python
  • PyTorch
  • Sci-kit Learn
  • NLTK
  • Optuna

Technologies/Algorithms Used

  • BiLSTM
  • Bayesian Optimization for Hyper Parameter Tuning
  • Heuristics Based methods to extract keywords from texts

About

Automated Extraction of Regulations from Legal Texts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published