All Projects → dematerializer → emoji-sentiment

dematerializer / emoji-sentiment

Licence: other
Emoji sentiment data

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to emoji-sentiment

Polarity
Detect the polarity (sentiment) of text
Stars: ✭ 33 (+135.71%)
Mutual labels:  emoji, sentiment
wink-sentiment
Accurate and fast sentiment scoring of phrases with #hashtags, emoticons :) & emojis 🎉
Stars: ✭ 51 (+264.29%)
Mutual labels:  emoji, sentiment
winmoji
Emoji lookup for Windows 😉 https://www.winmoji.com https://twitter.com/winmoji
Stars: ✭ 79 (+464.29%)
Mutual labels:  emoji
PCPM
Presenting Collection of Pretrained Models. Links to pretrained models in NLP and voice.
Stars: ✭ 21 (+50%)
Mutual labels:  sentiment
Emojions
Embeddable Emoji Bar
Stars: ✭ 15 (+7.14%)
Mutual labels:  emoji
icons
a collection of custom icons for use with the notion-enhancer's "icon sets" integration
Stars: ✭ 29 (+107.14%)
Mutual labels:  emoji
studio-log
👻 A tiny JSON logger with emoji support
Stars: ✭ 39 (+178.57%)
Mutual labels:  emoji
mr-emoji
Lightweight emoji picker like SLACK
Stars: ✭ 23 (+64.29%)
Mutual labels:  emoji
stansent
No description or website provided.
Stars: ✭ 16 (+14.29%)
Mutual labels:  sentiment
emoji-commit
No description or website provided.
Stars: ✭ 40 (+185.71%)
Mutual labels:  emoji
loading-indicator
🚦 Simple and customizable command line loading indicator
Stars: ✭ 18 (+28.57%)
Mutual labels:  emoji
ReactButton
Android Library to make it easy to add ReactButton feature in your app with Multi Reactions like Facebook or Linkedin, you can add many reactions as you want, you can also split them into a number of columns, and also customize the colours and text for each reaction
Stars: ✭ 100 (+614.29%)
Mutual labels:  emoji
emoji-slider
A slider control with emojis
Stars: ✭ 40 (+185.71%)
Mutual labels:  emoji
LSTM-sentiment-analysis
LSTM sentiment analysis. Please look at my another repo for SVM and Naive algorithem
Stars: ✭ 19 (+35.71%)
Mutual labels:  sentiment
country-flag-emoji-json
Country flag emojis in JSON format.
Stars: ✭ 92 (+557.14%)
Mutual labels:  emoji
emoji-strip
Strip emoji from a string in Node.js and browsers.
Stars: ✭ 73 (+421.43%)
Mutual labels:  emoji
brand-sentiment-analysis
Scripts utilizing Heartex platform to build brand sentiment analysis from the news
Stars: ✭ 21 (+50%)
Mutual labels:  sentiment
editor-ovo
A rich text editor for mobile web. Mixed editing of photos and Emoji 一个适用于移动web的富文本编辑器。照片加emoji的混合编辑
Stars: ✭ 29 (+107.14%)
Mutual labels:  emoji
QueerCats
A whole bunch of pride flags represented as blobby cat emoji
Stars: ✭ 72 (+414.29%)
Mutual labels:  emoji
ChineseBQB-client
🤣 开源表情包小程序
Stars: ✭ 81 (+478.57%)
Mutual labels:  emoji

Emoji Sentiment

Emoji sentiment data

  • lightweight, easy to use JSON data with a minimalistic API
  • based on the work of Kralj Novak, Petra; Smailović, Jasmina; Sluban, Borut and Mozetič, Igor, 2015, Emoji Sentiment Ranking 1.0, Slovenian language resource repository CLARIN.SI, http://hdl.handle.net/11356/1048.
  • they engaged 83 human annotators to label over 1.6 million tweets in 13 european languages by sentiment polarity (negative, neutral or positive) while about 4% of the annotated tweets contained emoji
  • this module provides transformed JSON data based on the original CSV data and derived data calculated in compliance with the original paper

Have a look at this table to see an example of what data this library provides.

API

Requiring/importing emoji-sentiment gives you the following data structure to work with:

[..., { /* emoji sentiment datum */ }, ...]

Array of emoji sentiment data.

Example of an emoji sentiment datum:

[
  ...
  {
    // original properties:
    "sequence": "1F602",
    "occurrences": 14622,
    "negative": 3614,
    "neutral": 4163,
    "positive": 6845,
    // derived properties:
    "pNegative": 0.24717948717948718,
    "pNeutral": 0.2847179487179487,
    "pPositive": 0.4681025641025641,
    "score": 0.22092307692307694,
    "sem": 0.006751317877016391
  },
  ...
]

Original properties are included in the JSON file whereas derived properties are being calculated on demand when the module is being required/imported.

Properties of an emoji sentiment datum explained:

  • sequence (original)

    normalized code point sequence (sequence without any variation selector or modifier applied) e.g. 1F602; use it for mapping the sentiment datum to a specific (emoji) unicode character or connecting it with further meta data (e.g. unicode-emoji-data, unicode-emoji-annotations or emoji-datasource)

  • occurrences (original)

    absolute number of occurrences of the (emoji) unicode character in tweets

  • negative (original)

    absolute number of occurrences of the (emoji) unicode character in tweets labeled negative

  • neutral (original)

    absolute number of occurrences of the (emoji) unicode character in tweets labeled neutral

  • positive (original)

    absolute number of occurrences of the (emoji) unicode character in tweets labeled positive

  • pNegative (derived)

    relative negativity component of the sentiment distribution for those tweets associated with the (emoji) unicode character, ranging from 0 to 1

  • pNeutral (derived)

    relative neutrality component of the sentiment distribution for those tweets associated with the (emoji) unicode character, ranging from 0 to 1

  • pPositive (derived)

    relative positivity component of the sentiment distribution for those tweets associated with the (emoji) unicode character, ranging from 0 to 1

  • score (derived)

    resulting sentiment score of the (emoji) unicode character, ranging from -1 to +1, calculated as the mean of the discrete sentiment distribution of negative (-1), neutral (0) and positive (+1)

  • sem (derived)

    precalculated Standard Error Mean for further deriving the confidence interval, e.g. for 95%: [score − 1.96 * sem, score + 1.96 * sem]

The sum of negative, neutral and positive is occurrences.

The sum of pNegative, pNeutral and pPositive is 1.

Usage

CommonJS

const emojiSentiment = require('emoji-sentiment');

ES6/babel

import emojiSentiment from 'emoji-sentiment';

Install

npm install emoji-sentiment

License

MIT

Development

Status

Travis Codecov

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].