Giter Site home page Giter Site logo

sentimentanalysis's Introduction

Sentiment Analysis

This project is my introduction to Sentiment analysis. Hopefully some cool stuff will result from this!

Exploring the VADER model:

The vader model uses a lexical approach, where lexical features are mapped to a sentiment score in a dictionary. This even includes colloquialisms such as "LOL" or ":/". The VADER sentiment dictionary was created by a collection of human raters and their average score for each word. Defining the sentiment of a sentence is done by adding the scores of the lexical units and normalizing the result.

VADERs 5 Heuristics:

  1. Punctuation
    • Exclamantion marks change the intensity of a sentence
    • E.g. Exclamation marks amplify the sentiment of a sentence proportional to the number of exclamation marks
  2. Capitalization
    • Capitalization changes the intensity of a word
    • E.g. The model increments or decrements the sentiment score of a word if it capitalized
  3. Degree Modifiers
    • VADER maintians a booster dictionary, which can boost or dampen the score of a word
    • E.g. The "sort of" modifier would dampen the word "cool", "sort of cool"
  4. Polarity shift
    • VADER essentially has a but checker
    • E.g. "I enjoy this but i would rather do that" shows a shift in polarity after the "but" keyword
  5. examining the tri-gram before a sentiment-laden lexical feature to catch polarity negation
    • Negation is captured by multiplying the sentiment score of the sentiment-laden lexical feature by an empirically-determined value 0.74

NOTE: The VADER model is more effective on short texts

TLDR: The VADER model is a look up table, using 5 different heuristics to determine the sentiment of a sentence.

sentimentanalysis's People

Contributors

thecheesywiggle avatar

Watchers

 avatar

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.