/Business-Contract-Management-System

Streamlined contract analysis process using Natural Language Processing and Named Entity Recognition

Primary LanguageTypeScript

ClauseCheck

Business contracts are complex legal documents with structured content. The Business Contract Validator Website enhances the contract review and validation process by utilizing Natural Language Processing (NLP) to extract key entities from uploaded PDFs, such as parties' names, agreement date, amount, and document type. It compares this extracted data against a predefined template to identify discrepancies and missing elements, generating a summary that highlights key points and potential issues. This approach streamlines the contract analysis process, improving efficiency, accuracy, and consistency with a user-friendly interface and robust backend technologies.

So, we created an application which is designed for contract analysis and Named Entity Recognition (NER). The application classifies content within contract clauses, detects deviations from a template, and highlights them. Additionally, we developed a text classifier to enhance the accuracy of content classification.

Technologies used

  • Frontend: React, Next.js, HTML5, CSS3, Javascript
  • Backend: FastAPI, Flask
  • Model: PyTorch, HuggingFace

Features

  • Text Extraction from PDFs
  • PDF-Parser
  • Named Entity Recognition (NER)
  • Text Classification
  • Entity Highlighting
  • Text Comparison
  • Text Summarization
  • User-Friendly Interface

Authors

Process Flow

ProcessFlow

Screenshots

Front

Features1

Features3

Features2

Process2

Process3

Process1

Run the program

To deploy this project run, go through this following steps:

  • Step 1: Clone the repository
  git clone https://github.com/AdarshKumar5597/Business-Contract-Management-System.git
  • Step 2: To run the frontend
    cd bcv-frontend
    npm i
    npm run dev
    pip install -r requirements.txt
  • Step 6: Then initiate the backend code.
    python app.py

Instruction

  • Our program needs two contract pdfs (must be in text or pdf format) - Standard Template and Target contract to compare, classify and summarize.