Twitter-Social-Analyzer

Twitter sentiment analyzer that obtains a list of tweets from a given topic and analyzes the sentiments about it. It also uses a Kivy GUI as an app interface.

View project on GitHub

Kivy_gui module

class kivy_gui.KivyApp(**kwargs)

Bases: kivy.app.App

GUI App that contains all the Twitter Analyzer service.

build()

       Creates the initial window and print a welcome message. Returns the apps window.

callback_analysis(instance)

       Takes the button callback instance. Defines a new window with the sentiments bar plot.

callback_analyze()

       Set the parameters and start the analysis. Calls the menu window.

callback_analyze_button(instance)

       Takes the button callback instance. Checks the previous topic is not empty. Defines a new window with Wikipedia info about the topic.

callback_analyze_check(instance)

       Takes the button callback instance. Checks if settings inputs aren’t empty and if number of tweets is an integer. Defines a new window with a loading screen and throws a thread with the Twitter Analysis.

callback_language(value)

       Takes value of the new language. Sets the new language.

callback_menu(instance)

       Takes the button callback instance. Defines a new window with a button menu for the different parts of the analysis.

callback_popular(instance)

       Takes the button callback instance. Defines a new window with most popular tweets about the topic.

callback_results(instance)

       Takes the button callback instance. Defines a new window with the stats and conclusion.

callback_settings(instance)

       Takes the button callback instance. Defines a new window with the analysis settings inputs.

callback_start_button(instance)

       Takes the button callback instance. Defines a new window with a topic input.

callback_subjectivity(instance)

       Takes the button callback instance. Defines a new window with the tweets subjectivity-polarity graph.

callback_wordcloud(instance)

       Takes the button callback instance. Defines a new window with a word cloud associated to the topic.

< Previous Next >