Welcome to the Business Contract Validation project! This web application is designed to parse, analyze, and validate business contracts by comparing them with predefined templates. It helps in identifying key details, clauses, sub-clauses, and deviations from the standard template.
The application processes contract documents uploaded in PDF format, leveraging advanced natural language processing (NLP) techniques to clean and normalize text. It identifies entities and clauses, compares the contract with selected templates, highlights deviations, and provides insightful summaries.
- Upload and Process Contracts: Easily upload PDF contracts for analysis.
- Text Normalization: Clean and normalize contract text using NLP.
- Clause Identification: Detect and classify entities and clauses within the contract.
- Template Comparison: Compare contract text with a chosen template to find deviations.
- Highlighting and Summarization: Highlight key terms and generate detailed summaries.
- Visualization: View contract insights and analysis results through a user-friendly Streamlit interface.
- Fork the Repository: Click the "Fork" button on the top-right corner of the GitHub repository page.
- Clone Your Forked Repository: Run the following command:
git clone https://github.com/your-username/business_contract_validation.git
- Create a New Branch: Switch to a new branch for your changes:
git checkout -b your-feature-branch
- Install Dependencies: Install the required Python packages:
pip install -r requirements.txt
- Run the Application: Start the Streamlit application:
streamlit run app.py
- Pull the Docker Image: Get the latest Docker image:
docker pull asiyamohammad/business_contract_validation
- Run the Docker Container: Launch the container:
docker run -p 8501:8501 asiyamohammad/business_contract_validation
- Access the Web Application: Open your browser and navigate to:
http://localhost:8501
- Upload a Contract: Choose and upload a PDF contract file.
- Select a Template: Pick a template for comparison.
- View Insights: Examine the contract insights, highlighted terms, and summary.
Watch the demo of the application