Giter Site home page Giter Site logo

tweets-sentiment-analysis's Introduction

CN4242 Lab 2: Sentiment Analysis of Microblog Streams Student: A0105772H

Usage of tweet classifier

  1. Open terminal (Ubuntu/Mac) or command line prompt (Windows).
  2. Check the current version of Python. Ensure that Python 3 is in use.
  3. Redirect to the project folder: "tweet-sentiment-analysis".
  4. Run the following command to prepare the tweet features for sentiment analysis. python tweet_mixed_preprocessor.py
  5. Type "python" plus the script name of the analyzer to perform classification. Press Enter key to execute the script. e.g. "python tweets_late_fusion_analyzer.py", "python tweets_vader_sentiment_analyzer.py".
  6. There are 5 analyzers available: Level 0: "tweets_vader_sentiment_analyzer.py", "tweets_tfidf_sentiment_analyzer.py", "tweets_social_counts_analyzer.py" Level 1: "tweets_late_fusion_analyzer.py"

Remarks

  1. Take note that the classifier scripts are written in Python 3.
  2. The titles of relevant webpage from expanded urls are scraped with the Scrapy library. The project files are kept in the folder of "tweet_context".

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.