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

https://github.com/codeofrahul/nlp-twitter-sentiment-analysis-project

Analyze sentiment in text effortlessly, gaining insights into public opinion and customer feedback. Using NLP and machine learning, it understands nuanced emotions beyond keyword matching. The results are displayed in an intuitive Streamlit UI, making sentiment analysis accessible and actionable for all.
https://github.com/codeofrahul/nlp-twitter-sentiment-analysis-project

Last synced: 11 months ago
JSON representation

Analyze sentiment in text effortlessly, gaining insights into public opinion and customer feedback. Using NLP and machine learning, it understands nuanced emotions beyond keyword matching. The results are displayed in an intuitive Streamlit UI, making sentiment analysis accessible and actionable for all.

Awesome Lists containing this project

README

          

# NLP-Twitter-Sentiment-Analysis-Project
Analyze sentiment in text effortlessly, gaining insights into public opinion and customer feedback. Using NLP and machine learning, it understands nuanced emotions beyond keyword matching. The results are displayed in an intuitive Streamlit UI, making sentiment analysis accessible and actionable for all.

## ✨ Features

- **Data Collection**: Uses Twitter dataset for sentiment classification.

- **Data Preprocessing**: Cleans text, removes stopwords, and tokenizes tweets.

- **Feature Engineering**: TF-IDF vectorization and word embeddings.

- **Model Training**: Implements ML models to train the model.

- **Performance Evaluation**: Accuracy, F1-score, and Confusion Matrix.

## Setup

1. Clone this repository.

```python
git clone https://github.com/CodeofRahul/NLP-Twitter-Sentiment-Analysis-Project.git
cd NLP-Twitter-Sentiment-Analysis-Project
code .
```

2. Install Dependencies

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

3. Run the Analysis

4. Run the Streamlit App

```python
streamlit run app.py
```

## Setup Instructions

- To create environment = `conda create -p python=3.8 -y`
- To check available envs = `conda env list`
- To check available envs = `conda info --envs`
- To activate environment = `conda activate `
- To install requirements.txt = `pip install -r requirements.txt`
- To check install packages = `pip list`
- To check detailed about package = `pip show package_name`
- To install package = `pip install package_name`
- To uninstall package = `pip uninstall package_name`
- To save all packages of env to a requirements.txt file = `pip freeze > requirements.txt`

## Git commands

- To add all file = `git add .`
- To add any particular file = `git add `
- To commit = `git commit -m "commit message"`
- To push the code = `git push origin main`

### **Problem**:
while working on this project i have faced a problem `VS Code Not Responding - freeses - When Opening Terminal. My VS Code version is 1.97

### **Solution 1**:

```
Download previous version of VSCode v.1.96
```

### **Solution 2**:

```
Go to Setting --> Terminal > Integrated: GPU Acceleration > Change from auto to off
```

![App_image](https://github.com/user-attachments/assets/81745211-09d9-4b70-b43f-c03a30cde2c4)

**🤝 Contributing**

Contributions are welcome! Feel free to fork this repo, create a feature branch, and submit a PR.