"Legal documents don't have to be scary. Let our AI make them a little less... legally binding to your time."
LegalEase is your magical companion for navigating the arcane texts of the legal realm! Upload your contracts, agreements, and court filings, then watch as our AI extracts the secrets hidden within - summaries, key clauses, and important entities, all without the need for expensive legal potions!
https://drive.google.com/file/d/1XUtM_4KlBlZNUr0qQzCdU3lgspI9AQkK/view?usp=sharing
- 📝 Document Scanning: Extracts text from PDFs, DOCX, and TXT files faster than a law student on coffee
- 🔍 AI-Powered Analysis: Identifies document types automagically
- 📋 Smart Summarization: Creates concise summaries that won't put you to sleep
- 🧩 Entity Extraction: Finds people, organizations, dates, and monetary values like a detective on a sugar rush
- 📜 Clause Identification: Highlights important clauses and rates them by importance
- 🔎 Document Search: Find exactly what you need without developing carpal tunnel
git clone https://github.com/yourusername/legalease.git
cd legalease
python -m venv venv
venv\Scripts\activate
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python -m spacy download en_core_web_lg
streamlit run app.py
Navigate to http://localhost:8501 and behold your new legal assistant!
legalease/
├── app.py # The main spell (Streamlit application)
├── pages/ # Different magical chambers (Streamlit pages)
│ ├── 1_Upload.py # For summoning new documents
│ ├── 2_Document_View.py # For studying the ancient texts
│ └── 3_About.py # The lore behind our magic
├── backend/ # Where the real magic happens
│ ├── processors/ # Document processing spells
│ └── database/ # Document storage enchantments
├── data/ # Your growing collection of legal scrolls
│ ├── documents/ # The original texts
│ └── analyses/ # The decoded wisdom
└── requirements.txt # The list of magical ingredients
- Upload: Summon your legal documents through the portal
- Process: Cast the processing spell with a single click
- Analyze: Observe as the AI reads the document and reveals its secrets
- Review: Explore summaries, key clauses, and entities extracted from the document
- Python: The primary magical language
- Streamlit: For crafting our user-friendly interface
- spaCy: For understanding the human language of law
- Transformers (BART): For summarizing even the most verbose legal jargon
- PyMuPDF & python-docx: For deciphering various document formats
When you're done with your legal wizardry, simply press Ctrl+C
in your terminal window or close the terminal to shut down the server.
This tool is for educational and informational purposes only. While it can help you understand legal documents, it's not a replacement for a professional legal wizard (lawyer). Always consult with qualified legal professionals for important matters!
"The first rule of Fight Club is... wait, wrong document. The first rule of LegalEase is to make legal documents less painful!"
Happy analyzing! 📜⚖️✨