Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/prem07a/twittersentiment

Analyzing Twitter sentiments with NLP deployed on Streamlit. Predicts sentiment (positive/negative) based on user-input text.
https://github.com/prem07a/twittersentiment

machine-learning nlp-machine-learning python3 sentiment-analysis twitter-sentiment-analysis

Last synced: 23 days ago
JSON representation

Analyzing Twitter sentiments with NLP deployed on Streamlit. Predicts sentiment (positive/negative) based on user-input text.

Awesome Lists containing this project

README

        

Twitter Sentiment Analysis using NLP and Streamlit

## Overview

This project implements a Twitter sentiment analysis tool using Natural Language Processing (NLP) techniques. The application is deployed using Streamlit, allowing users to interact with the sentiment analysis model through a user-friendly interface.

## Table of Contents

- [Overview](#overview)
- [Project Structure](#project-structure)
- [Setup](#setup)
- [Usage](#usage)
- [Demo](#demo)
- [License](#license)

## Project Structure

- **app.py**: Streamlit application script containing the main logic for the sentiment analysis tool.
- **models/**: Directory containing NLP model files or information.
- **requirements.txt**: File listing required dependencies for the project.
- **LICENSE**: License file for the project.

## Setup

To run the project locally, follow these steps:

1. Clone the repository:

```bash
git clone https://github.com/Prem07a/TwitterSentiment.git
cd TwitterSentiment
```

2. Install dependencies:

```bash
pip install -r requirements.txt
```

## Usage

Run the Streamlit app with the following command:

```bash
streamlit run app.py
```

Access the application in your web browser at `http://localhost:8501`. Interact with the sentiment analysis tool to analyze Twitter text for sentiment.

## Demo

#### 1. Negative Tweet

#### 2. Positive Tweet

## License

This project is licensed under the [MIT License](LICENSE).
```

@Prem Gaikwad 2023