Skip to content

NLP based redaction & synthetic data generation tool

Notifications You must be signed in to change notification settings

theg1239/RE-DACT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RE-DACT

Project Setup Instructions

To contribute to this project, follow the steps below to set up the project on your local machine:

1. Fork the Repository

  1. Go to the RE-DACT GitHub repository and click the "Fork" button in the top-right corner.
  2. This will create a copy of the repository under your GitHub account.

2. Clone the Forked Repository

  1. Open a terminal on your local machine.

  2. Run the following command to clone your forked repository:

    git clone https://github.com/<your-username>/RE-DACT.git

    Replace <your-username> with your GitHub username.

  3. Navigate to the project directory:

    cd RE-DACT

3. Set Up a Virtual Environment

To manage project dependencies, create a virtual environment:

  1. Ensure you have Python 3 installed. You can check your Python version by running:

    python3 --version
  2. Create a virtual environment by running:

    python3 -m venv env

    Or if python3 doesn't work, you can try:

    python -m venv env
  3. Activate the virtual environment:

    • On Windows:

      .\env\Scripts\activate
    • On macOS/Linux:

      source env/bin/activate

    If the activation command doesn't work on Windows, you might need to change the execution policy:

    • Run PowerShell as an administrator or your IDE shell.

    • Execute the following command:

      Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
    • Press the key for "Yes to All" and then rerun the .env\Scripts\activate command in your VS Code terminal.

4. Install Dependencies

Once the virtual environment is activated, install the necessary dependencies:

pip install -r requirements.txt

5. Run the Application

To run the application locally, use the following command:

flask run

And then open localhost:5000 on your web browser.

About

NLP based redaction & synthetic data generation tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published