https://github.com/tanmay-312/aiml-miniproject
A mini project by team FeelFlux. A sentiment analysis project combining Python (NLTK-based), Flask backend, and React frontend. Analyze and classify tweets for positive, negative, or neutral sentiment. Features real-time interaction and an intuitive interface.
https://github.com/tanmay-312/aiml-miniproject
aiml flask machine-learning nlp nltk react sentiment-analysis
Last synced: 2 months ago
JSON representation
A mini project by team FeelFlux. A sentiment analysis project combining Python (NLTK-based), Flask backend, and React frontend. Analyze and classify tweets for positive, negative, or neutral sentiment. Features real-time interaction and an intuitive interface.
- Host: GitHub
- URL: https://github.com/tanmay-312/aiml-miniproject
- Owner: Tanmay-312
- Created: 2024-10-25T09:39:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-23T06:18:59.000Z (over 1 year ago)
- Last Synced: 2025-03-24T05:19:49.366Z (over 1 year ago)
- Topics: aiml, flask, machine-learning, nlp, nltk, react, sentiment-analysis
- Language: JavaScript
- Homepage:
- Size: 198 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AIML MiniProject: Sentiment Analysis
This project focuses on sentiment analysis, integrating Python for text analysis, Flask for the backend, and React for the frontend. It classifies tweets or text as positive, negative, or neutral.
## Features
- Sentiment classification using Python and NLTK.
- Flask backend for API interactions.
- React frontend for user-friendly UI.
- Real-time analysis of tweets or input text.
## Prerequisites
Ensure the following are installed:
- Python 3.8+
- Node.js 16+
- npm or yarn
- pip
## How to Use
### Step 1: Clone the Repository
```bash
git clone https://github.com/Tanmay-312/AIML-MiniProject.git
cd AIML-MiniProject
```
### Step 2: Setup Backend (Flask)
1. Navigate to the backend directory:
```bash
cd src
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Run the Flask server:
```bash
python calculator.py
```
### Step 3: Setup Frontend (React)
1. Navigate back to the root directory:
```bash
cd ../
```
2. Install Node.js dependencies:
```bash
npm install
```
3. Start the React development server:
```bash
npm run dev
```
### Step 4: Open the Application
- The React frontend will be running at `http://localhost:5173`.
- The Flask backend will be running at `http://localhost:5000`.
## Contributions
Feel free to submit issues or pull requests to improve this project.