Twitter-Project
"What we can Learn From Tweets?"
By delving into the realm of tweet analysis, we unlock a treasure trove of valuable insights that weave together the fabric of human interactions and sentiments. Within the vast expanse of tweets, we uncover a rich tapestry of trends, uncovering the pulse of popular discourse, emerging topics, and shifting narratives. Through meticulous examination of linguistic nuances, contextual cues, and sentiment analysis, we decipher the emotional undercurrents, capturing the ebb and flow of public opinion. From the highs of collective joy to the lows of shared concerns, tweets provide a unique window into the collective consciousness, enabling us to comprehend societal shifts, anticipate emerging patterns, and forge informed strategies.

In December 2022, Me and my teammate Fereshte Mohammadi initiated Twitter Project with the aim of fetching tweets from Twitter to furnish users with insightful analytical information regarding those tweets. In the initial stage of the project, our focus lies on presenting users with three informative bar charts: the most frequently used words, popular hashtags, and prominent mentions, all associated with a specific hashtag. These visualizations offer a concise and engaging overview of the key elements within the tweet data, providing users with a comprehensive snapshot of the prevailing trends and patterns.
Project Start page:
The Following picture shows the GUI of our project where the Users can put specific hashtag and their desired date and number of tweets to search for.
First Stage
After retrieving tweets from twitter we store those tweets in a separate file in the users directory :
Second Stage
In the Next stage, three bar chart( The most frequent word, Hashtag and mention) is showned to the user. which contains a specific hashtag.


Last Stage
In the Last step, we focus on cleaning the text of the tweets to ensure they are in a suitable format for further analysis using natural language processing (NLP) models. This data cleaning step helps to remove any noise or irrelevant information, allowing us to derive more accurate insights from the text. The cleaned tweets is also stored in the user's directory.