GithubHelp home page GithubHelp logo

maskboyavi / tweetuplift Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 72.42 MB

Chrome extension to analyze and perform sentiment analysis of your twitter profile and give points accordingly.

HTML 8.78% CSS 50.74% JavaScript 11.83% Python 28.65%

tweetuplift's Introduction

TweetUpLift

Chrome extension to analyze and perform sentiment analysis of your twitter profile and give points accordingly. Screenshot (154)

Twitter Sentiment Analyzer Chrome Extension

This Chrome extension allows users to analyze and perform sentiment analysis of their Twitter profile. It provides points based on the sentiment of the user's tweets, which can be used to assess their mental health. The extension integrates with the Twitter API to fetch the user's tweets and uses a sentiment analysis algorithm to determine the sentiment of each tweet.

Features

  • Analyze the sentiment of a user's Twitter profile.
  • Assign points to the user based on the sentiment of their tweets.
  • Provide an overall mental health assessment based on the accumulated points.

Prerequisites

Before using the extension, you need to have the following:

  • Google Chrome browser installed on your computer.

Utilities

The Twitter Sentiment Analyzer Chrome Extension utilizes several utility libraries and tools for data analysis, visualization, and machine learning. Here are the key utilities used in this project:

  • NumPy: A powerful library for numerical computing in Python. It provides support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions to operate on these arrays.

  • Pandas: A popular data manipulation and analysis library. It provides data structures like DataFrames for efficient data handling, along with a wide range of functions for data cleaning, transformation, and exploration.

  • Seaborn: A Python data visualization library based on Matplotlib. Seaborn provides a high-level interface for creating informative and visually appealing statistical graphics.

  • WordCloud: A library for generating word clouds from text data. Word clouds are visual representations of text, where the size of each word corresponds to its frequency or importance.

  • Matplotlib: A comprehensive plotting library in Python. Matplotlib allows you to create a wide variety of static, animated, and interactive visualizations.

  • NLTK: The Natural Language Toolkit (NLTK) is a library for working with human language data. It provides various tools and resources for tasks such as tokenization, stemming, lemmatization, part-of-speech tagging, and more.

  • LogisticRegression: A classifier model from the scikit-learn library. Logistic regression is a common algorithm used for binary classification tasks, where the goal is to predict one of two possible outcomes.

  • TfidfVectorizer: A feature extraction technique used to convert text data into numerical representations. The TfidfVectorizer calculates the Term Frequency-Inverse Document Frequency (TF-IDF) value for each word in the text, which helps to capture the importance of each word in the document.

These utilities are essential for performing sentiment analysis, data visualization, and machine learning tasks within the Twitter Sentiment Analyzer Chrome Extension.

Installation

To install the Twitter Sentiment Analyzer Chrome Extension, follow these steps:

  1. Clone the repository:

    git clone (https://github.com/maskboyAvi/TweetUpLift)
  2. Open Google Chrome and navigate to chrome://extensions.

  3. Enable "Developer mode" by toggling the switch at the top right corner of the page.

  4. Click on the "Load unpacked" button.

  5. Select the cloned repository folder (twitter-sentiment-analyzer) and click "Open".

  6. The extension should now be added to Chrome, and you should see its icon in the toolbar.

Configuration

To configure the extension and set up your Twitter API credentials, follow these steps:

  1. Open the extension by clicking on its icon in the toolbar.

  2. Click on the "Settings" button.

  3. Enter your Twitter API credentials:

    • Consumer Key
    • Consumer Secret
    • Access Token
    • Access Token Secret
  4. Click "Save" to store the credentials.

Usage

To analyze your Twitter profile and assess your mental health, follow these steps:

  1. Make sure you are logged into your Twitter account in the browser.

  2. Click on the extension icon in the toolbar.

  3. Click on the "Analyze Profile" button.

  4. The extension will fetch your tweets and perform sentiment analysis.

  5. Once the analysis is complete, the extension will assign points to each tweet based on sentiment and calculate an overall mental health score.

  6. The mental health score will be displayed along with a summary of the analysis.

Contributing

Contributions to this project are welcome. To contribute, follow these steps:

  1. Fork the repository.

  2. Create a new branch:

    git checkout -b feature/your-feature-name
  3. Make your changes and commit them:

    git commit -m "Add your commit message"
  4. Push your changes to the forked repository:

    git push origin feature/your-feature-name
  5. Open a pull request on the original repository and describe your changes.

License

This project is licensed under the MIT License.

Acknowledgments

  • The sentiment analysis algorithm used in this extension is [Logistic Regression]
  • This extension utilizes the Twitter API.

Feel free to customize and enhance the extension to suit your needs. If you have any questions or encounter any issues, please submit them to the GitHub repository's issue tracker.

tweetuplift's People

Contributors

ayushlion8 avatar maskboyavi avatar

Watchers

 avatar

Forkers

ayushlion8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.