Sentiment Analysis App using Python's tkinter library for the graphical interface and TextBlob for sentiment analysis. The app consists of a main window titled "Sentiment Analysis App" with a violet background. At the top, there's a bold heading labeled "SENTIMENT ANALYZER" to indicate the purpose of the application. Below the heading, a text box is provided for users to input their message, and an "Analyze Sentiment" button is available. When the button is clicked, the analyze_sentiment() function is triggered. This function retrieves the text from the input box, checks if it's empty, and displays an error message if necessary. Then, it calls the get_sentiment() function, which uses TextBlob to analyze the sentiment of the message. The sentiment result (Positive, Neutral, or Negative) is displayed in a label below the button. The app runs in a continuous loop (root.mainloop()) to handle user interactions, ensuring the application remains responsive until the user closes the window. Overall, the app provides a simple and intuitive interface for users to analyze the sentiment of their input text.
-
Notifications
You must be signed in to change notification settings - Fork 0
The Sentiment Analysis App, built with tkinter and TextBlob, features a main window with a violet background. Users input text in a provided box, clicking "Analyze Sentiment" triggers analysis. The app checks for empty input, displays results (Positive, Neutral, Negative) in a label below. Continuous event handling keeps the app responsive.
1810suman/Sentiment-Analyzer-App
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
About
The Sentiment Analysis App, built with tkinter and TextBlob, features a main window with a violet background. Users input text in a provided box, clicking "Analyze Sentiment" triggers analysis. The app checks for empty input, displays results (Positive, Neutral, Negative) in a label below. Continuous event handling keeps the app responsive.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published