Skip to content

ExtroEd/sentiment-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch Badge HF Badge PyQt Badge

🧠 Sentiment Analyzer

A powerful, desktop-friendly sentiment analysis tool built with PyTorch, HuggingFace Transformers, and PyQt6. Analyze text emotions with a gorgeous GUI, real-time pie charts and smooth gradient visualizations.


🚀 Features

Feature Description
🎨 Beautiful GUI Sleek, modern PyQt6 interface
📊 Pie Chart Real-time probability distribution of sentiments
🌈 Gradient Score Visual sentiment polarity from red (-1) to green (+1)
🌍 Multilingual UI Supports English and Russian (more to come)
🧠 Tiny model Based on cointegrated/rubert-tiny-sentiment-balanced

📦 Installation

Python 3.10 - 3.14 is recommended. Use Poetry for managing dependencies.

# Clone the repository
git clone https://github.com/your-username/sentiment-analyzer.git
cd sentiment-analyzer

# Install dependencies
poetry install

Or use pip install -r requirements.txt if you’re not using Poetry.


🖥️ Running the App

poetry run python src/main.py

You’ll be prompted to choose a language. After that, just enter any text — and magic happens. ✨


🛠 Tech Stack

  • 🧠 torch, transformers
  • 💻 PyQt6, matplotlib
  • 🧪 poetry for dependency management

🧙‍♂️ License

This project is licensed under the GNU Lesser General Public License.
Feel free to use, fork, and contribute.


👨‍🚀 Author

Developed with caffeine and curiosity by ExtroEd.
Together, let’s give AI a beautiful interface! 🌌

About

GUI tool for text sentiment analysis with PyQt6 and Transformers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages