Skip to content

Reyhan-Sam/ML-Powered-Legal-Document-Analyzer

Repository files navigation

AI-Powered Legal Document Analyzer: FinePrint

Overview

Our AI/ML-powered application analyzes terms and conditions, licenses, and insurance documents to highlight potential 'red flags' that users might overlook before accepting or signing up for a service. The project also includes a custom LLM-powered summarization feature to provide concise insights into lengthy documents.

FinePrintFull

Features

  • 📄 Red Flag Detection – Identifies potentially concerning clauses in legal documents.
  • 🤖 Custom LLM Summarization – Generates summaries of lengthy documents for quick understanding.
  • 🔍 PDF Support – Upload and analyze PDF documents seamlessly.
  • 📊 Custom Dataset – Trained on a dataset created from scratch for high accuracy.

Installation

Prerequisites

Ensure you have Python 3.8+ installed on your system.

Setup

Clone the repository and install dependencies:

git clone https://github.com/Reyhan-Sam/GIT_Hack25.git
cd your-repo
python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`
pip install -r requirements.txt

Usage

Run the application:

python main.py

Upload a PDF document, and the system will analyze its contents for red flags and generate a summary.

Contributing

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -m 'Add new feature')
  4. Push to the branch (git push origin feature-branch)
  5. Create a pull request

Acknowledgments

  • Thanks to our hackathon team Sanjith, Reyhan, Daniel, Natalie and Belle for their contributions!

About

Full-stack application that allows users to analyze legal documents by uploading text or PDF files. Highlights potential red flags and has a summarize feature for documents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors