Contract Document Analysis Tool
The Contract Document Analysis Tool is a web application built using Flask, designed to extract and analyze legal entities from various contract document formats, including PDF, Word, and images. This tool leverages Natural Language Processing (NLP) to provide insights into important details, such as commission percentages, vendor names, expiration dates, and more.
In legal and business environments, contracts often contain critical information that must be reviewed quickly and accurately. This tool automates the process of analyzing contract documents, making it easier for users to extract necessary information without manually reading through pages of text.
- Upload contract documents in multiple formats (PDF, Word, JPEG, PNG).
- Automatically extract key legal entities and relevant information.
- Display results in a user-friendly interface.
- Flask: A lightweight web framework for Python.
- spaCy: An NLP library for advanced text processing.
- Werkzeug: A WSGI utility library for Python.
- HTML/CSS: For the frontend interface.
Make sure you have Python 3.6 or higher installed. You can download it from python.org.
git clone https://github.com/YOUR_USERNAME/Contract-Analysis-Tool.git
cd Contract-Analysis-Tool
Create a virtual environment to manage dependencies:
python -m venv cnv
source cnv/bin/activate # On Windows use `cnv\Scripts\activate`
Install the required packages using pip:
pip install -r requirements.txt
Make sure to download the spaCy model:
python -m spacy download en_core_web_sm
Start the Flask application:
python app.py
Open your web browser and navigate to http://127.0.0.1:5000
to access the tool.
- Upload a contract document in PDF, Word, or image format.
- Click the "Analyze" button to extract legal entities.
- View the results displayed on the results page.