samyukta03 / LegalEase

FYP-MIT,AU'24: LegalEase - A legal assistant chatbot with multi lingual and voice support - Provide Scenario-relevant Laws and supreme court cases details and insights, and legal advice to a user.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LegalEase - Legal Assistance for all


**Problem Statement - Chatbot - Law details, Relevant Supreme Court case Details & Legal Advice, Multi-Lingual and Voice Support**

legalease_main


LegalEase, is a chatbot that provides factual and appropriate information to legal queries from central acts. 

The chatbot integrates key features to enhance accessibility and legal awareness. It offers multilingual support, automatic language detection, translation capabilities, and speech recognition functionalities, ensuring inclusivity for users of various language proficiency. Through natural language processing, the chatbot analyzes user scenarios, matches them with relevant laws, regulations, similar cases, and provides valuable legal insights.

Our proposed legal assistant chatbot project is a direct response to the urgent need for improved legal accessibility, offering a holistic solution. Utilizing state-of-the-art technologies like natural language processing, machine learning, and web scraping, the project aims to deliver personalized legal guidance, multilingual support, and automatic speech recognition. This initiative seeks to empower individuals to make informed decisions regarding their legal matters, thereby advancing fairness, equality, and justice for all.

The prime objective is to structure an intelligent chatbot, which is not only data-driven but also incorporates machine learning and deep learning algorithms to map input sequences to output sequences.


LegalEase responds to both voice and text along with multi linguality for increased accessibility.

Methodology

This project is implemented using a combination of machine learning algorithms like the Siamese Neural Network model for finding the most similar laws that are relevant and applicable to a scenario posted by a user from the dataset.

To provide the user with more guidance, supreme court cases that happened across the years are scraped and reformatted to a dataset are stored, and using a graph-based similarity ranking approach the most relevant and similar cases to the scenario posted by the user are chosen among the cases and their key points and outcome are presented to the user for them to get more idea of how to proceed further.

In addition to the above, using a HyBrid BERT-BiLSTM model predicts the likelihood of favorability to a party in a case based on the outcomes of similar cases scraped.

UI Developed:

UI

Deployment

To deploy this project run

  npm start

After cloning the project steps to run:

  1. Create a Python 3.8 environment
 conda create --name py8
  1. Go to the project folder, Activate the environment: conda activate envt_name
 conda activate py8
  1. Go to backend->app.py file -
 python app.py
  1. For the frontend, open the legalease folder in a node cmd and run, (if u update anything, run cmd again for the update to be rendered)
 npm run build

Usage/Examples

import Component from 'my-project'

function App() {
  return <Component />
}

About

FYP-MIT,AU'24: LegalEase - A legal assistant chatbot with multi lingual and voice support - Provide Scenario-relevant Laws and supreme court cases details and insights, and legal advice to a user.


Languages

Language:Jupyter Notebook 58.3%Language:Python 31.8%Language:JavaScript 9.0%Language:HTML 0.7%Language:CSS 0.1%Language:TypeScript 0.1%