Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

NLP Text Processor (FastAPI)

Setup

# Clone repository
git clone <your-repo-url>
cd NLP_PROJECT/NLP

# Create virtual environment
python -m venv venv

# Activate (Windows)
venv\Scripts\activate

Install Dependencies

pip install fastapi uvicorn nltk pydantic

Run Backend

uvicorn app:app --reload

Access Application

http://127.0.0.1:8000/app

API Documentation

http://127.0.0.1:8000/docs

API Endpoint

POST /process

Request:

{
  "text": "Enter your input text here"
}

Response:

{
  "notes": "summary text",
  "key_sentences": ["sentence1", "sentence2"],
  "mcqs": [
    {
      "question": "...",
      "answer": "...",
      "options": ["...", "...", "...", "..."]
    }
  ]
}

Project Structure

NLP_PROJECT/
  NLP/
    app.py
    index.html
    home.html

Git Commands

git add .
git commit -m "update: working NLP project"
git push origin main

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages