- Practise data extraction from Twitter
- Generate online identity of a Twitter User
- Twitter data extraction.
- Sentiment Analysis of the tweets posted and liked by a user.
- Extraction of Named Entities from the tweets posted and liked by a user using Named Entity Recognition
- Identifying the top 15 accounts the user interacts with
- Language: Python3
- Dependencies: Stanford NER Tagger
- Libraries: Available in requirements.txt.
- Clone this repo and pip install the requirements
git clone https://github.com/VirtualGoat/Twitter-Profile-Analyzer.git
cd Twitter-Profile-Analyzer
pip install -r requirements.txt
python main.ipynb
For illustrative purpose, I have scanned the profile and extracted insights from the user @GTThampi2.
-
User specifies the username that is to be analyzed
-
The name of the specified user and their location(if mentioned on Twiiter) is displayed.
-
A graph displaying the sentiments of tweets posted by the user in the specified time. Which include:
Polarity 0 = Neutral Sentiment
Polarity 1 = Positive Sentiment
Polarity -1 = Negative Sentiment
-
Detection of nouns mentioned in the tweets posted by the user in the specified time.
-
Detection of named entities which consist of Organization, Person and Location mentioned in the tweets posted by the user.
-
A graph displaying the sentiments of tweets liked by the user. Which include:
Polarity 0 = Neutral Sentiment
Polarity 1 = Positive Sentiment
Polarity -1 = Negative Sentiment.
-
Detection of nouns mentioned in the tweets liked by the user since the user created their account.
-
Detection of named entities which consist of Organization, Person and Location mentioned in the tweets liked by the user since the user created their account.
-
Printing top 15 usernames and locations of the users whose tweets were liked most frequently.
This project is a part of a bigger project and still has scope of development, so you can also contribute to this Project as follows:
- Fork this Repository.
- Clone your Fork on a different branch:
git clone -b <name-of-branch> https://github.com/VirtualGoat/Twitter-Profile-Analyzer.git
- After adding any feature:
- Goto your fork and create a pull request.
- I will test your modifications and merge changes.
|