https://github.com/kapil7982/ai-enhanced-nlp-web-application
This web application leverages advanced Natural Language Processing (NLP) techniques and integrates the OpenAI API to provide a range of features including text generation with context, multi-document summarization, multilingual sentiment analysis, and emotion recognition.
https://github.com/kapil7982/ai-enhanced-nlp-web-application
flask openai pdfplumber piplines python3 react transformers
Last synced: 4 months ago
JSON representation
This web application leverages advanced Natural Language Processing (NLP) techniques and integrates the OpenAI API to provide a range of features including text generation with context, multi-document summarization, multilingual sentiment analysis, and emotion recognition.
- Host: GitHub
- URL: https://github.com/kapil7982/ai-enhanced-nlp-web-application
- Owner: Kapil7982
- Created: 2023-10-27T17:32:48.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-28T05:48:24.000Z (over 1 year ago)
- Last Synced: 2025-03-21T09:18:35.757Z (7 months ago)
- Topics: flask, openai, pdfplumber, piplines, python3, react, transformers
- Language: Python
- Homepage: https://summarizer-app-frontend.onrender.com/
- Size: 66.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI-Enhanced NLP Web Application
This web application leverages advanced Natural Language Processing (NLP) techniques and integrates the OpenAI API to provide a range of features including text generation with context, multi-document summarization, multilingual sentiment analysis, and emotion recognition.
## Getting Started
Follow the steps below to set up and run the application on your local machine.
### Prerequisites
Before you begin, make sure you have the following software installed:
- Python : ((https://www.python.org/downloads/))
- flask: Install flask### Installation
1. Clone this repository to your local machine:
```bash
git clone
```### Features
1. Text Generation with Context
This feature allows users to generate text based on a provided prompt while considering context and previous interactions.
The application utilizes OpenAI's GPT-3.5 API for advanced text generation.
2. Multi-Document Summarization
Users can input multiple documents or articles, and receive a coherent summary.
The application uses advanced NLP techniques, including the transformers library, to maintain context and relevance during summarization.
3. Multilingual Sentiment Analysis and Emotion Recognition
This feature provides advanced sentiment analysis supporting multiple languages and includes emotion recognition.
Users can input text in various languages to receive sentiment and emotion analysis.### How to Use
Text Generation with Context:
Send a POST request to
```bash
http://localhost:5000/generate_text
```
with a JSON payload containing a prompt and context.Multi-Document Summarization:
Send a POST request to
```bash
http://localhost:5000/summarize
```
with a JSON payload containing a list of documents.PDF Summarization:
Upload a PDF file to
```bashhttp://localhost:5000/summarize_pdf
```