This is a Multi Language Sentiment Analysis App built with Streamlit and Hugging Face Transformers. It allows users to analyze the sentiment (Positive, Negative) of any given text using state-of-the-art NLP models.
- Sentiment History to track past analyses in a session.
- Graphical Representation of sentiment confidence using a progress bar.
- Multi-Language Support via Google Translate.
- File Upload Support for bulk sentiment analysis.
- Download Results as a CSV file.
- Emoji-based Sentiment Display for better UX.
- Clone the repository:
git clone https://github.com/hasanulmukit/sentiment-analysis-app.git cd sentiment-analysis-app
- Install dependencies:
pip install -r requirements.txt
- Run the app:
streamlit run app.py
- Enter Text: Type or paste a sentence in the text area.
- Analyze Sentiment: Click the "Analyze" button to get sentiment results.
- View History: Check previous sentiment analyses.
- Upload Files: Upload
.txt
or.csv
files for batch analysis. - Download Results: Save the analysis as a CSV file.
- Python 🐍
- Streamlit 🎨 (for UI)
- Transformers 🤗 (Hugging Face NLP Models)
- SpeechRecognition 🎙️ (for voice input)
- GoogleTrans 🌍 (for multi-language support)
- Matplotlib & Pandas 📊 (for visualization & data processing)
- Improve accuracy with fine-tuned models.
- Add support for more advanced NLP techniques.
- Deploy the app using Streamlit Cloud or Hugging Face Spaces.
Feel free to fork this repo, improve it, and submit a pull request! 🚀
This project is licensed under the MIT License.
Give a ⭐️ if you found this useful!