Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NLP Web Application

A Flask-based Natural Language Processing (NLP) web application that provides multiple text analysis features through an easy-to-use web interface.

Features

User Authentication

  • User Registration
  • User Login
  • JSON-based user data storage

NLP Functionalities

  • Sentiment Analysis

    • Detects whether a text is Positive, Negative, or Neutral.
  • Named Entity Recognition (NER)

    • Extracts entities such as:

      • Person
      • Organization
      • Location
      • Date
  • Abuse Detection

    • Identifies abusive or offensive content in user-provided text.

Technologies Used

Backend

  • Python
  • Flask

Frontend

  • HTML
  • CSS

NLP Engine

  • Groq API
  • Llama 3.3 70B Versatile Model

Database

  • JSON File Storage

Version Control

  • Git
  • GitHub

Project Structure

NLP-Web-App/
│
├── app.py
├── api.py
├── db.py
├── users.json
│
├── templates/
│   ├── login.html
│   ├── register.html
│   ├── home.html
│   └── ner.html
│
└── static/

Installation

Clone the Repository

git clone https://github.com/AshutoshShukla221/NLP-Web-App.git

Navigate to Project Directory

cd NLP-Web-App

Install Dependencies

pip install flask
pip install groq

Configure API Key

Replace the API key in api.py with your own Groq API key.

Run the Application

python app.py

Open in Browser

http://127.0.0.1:5000

How It Works

api-web-app Flask Use
  1. Users register and log in to the application.
  2. Users select an NLP task.
  3. Text is submitted to the Groq API.
  4. The API processes the request using the Llama model.
  5. Results are displayed on the web interface.

Future Improvements

  • Emotion Detection
  • Text Summarization
  • Analysis History
  • User Dashboard
  • Database Integration (SQLite/MySQL)
  • Improved UI/UX
  • Deployment on Render or Railway

Screenshots

Add screenshots of:

  • Login Page
  • Registration Page
  • Home Dashboard
  • Sentiment Analysis
  • Named Entity Recognition
  • Abuse Detection

Author

Ashutosh Shukla


If you found this project interesting, consider giving the repository a star.

About

A Web Application designed with the use of Flask Api and implenetaion of api calling

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages