Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/parthnagarkar875/twitter-profile-analyzer

Analysis of a Twitter profile for discerning their preferences.
https://github.com/parthnagarkar875/twitter-profile-analyzer

deep-learning machine-learning natural-language-processing python3 twitter twitter-sentiment-analysis

Last synced: 2 months ago
JSON representation

Analysis of a Twitter profile for discerning their preferences.

Awesome Lists containing this project

README

        


🇮🇳 🤖 Twitter Profile Analyzer :computer::mag_right:






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