Skip to content

parthnagarkar875/Twitter-Profile-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🇮🇳 🤖 Twitter Profile Analyzer 💻🔎

Contributions Welcome

Git MIT license

Goals of this project:

  • Practise data extraction from Twitter
  • Generate online identity of a Twitter User

Features implemented:

  • 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

Tech Stack of this Project:

  • Language: Python3
  • Dependencies: Stanford NER Tagger
  • Libraries: Available in requirements.txt.

To run this Project:

  • 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.

Flow of project:

  1. User specifies the username that is to be analyzed

  2. The name of the specified user and their location(if mentioned on Twiiter) is displayed.

  3. 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

  4. Detection of nouns mentioned in the tweets posted by the user in the specified time.

  5. Detection of named entities which consist of Organization, Person and Location mentioned in the tweets posted by the user.

  6. 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.

  7. Detection of nouns mentioned in the tweets liked by the user since the user created their account.

  8. 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.

  9. 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.

Developed with ❤️ by:

 Parth Nagarkar

Releases

No releases published

Packages

No packages published