An open API service indexing awesome lists of open source software.

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.

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.