List of emoji rated for valence with an integer between minus five (negative) and plus five (positive).
npm:
$ npm install emoji-emotion
$ component install wooorm/emoji-emotion
$ bower install emoji-emotion
Duo:
var emotion = require('wooorm/emoji-emotion');
UMD (globals/AMD/CommonJS) (uncompressed and compressed):
<script src="path/to/emoji-emotion.js"></script>
<script>
emojiEmotion[0] // { "emoji": "😠", "polarity": -4 }
</script>
var emotion = require('emoji-emotion');
var emoji = emotion[0];
Yields:
{
"emoji": "😠",
"polarity": -4
}
Note the information is intentionally limit. Check out wooorm/gemoji for more information, such as tags, descriptions, and names regarding these faces.
See Support.md.
The contained emoji are the faces and cats defined by Unicode. The polarity was hand classified (by one person) based on the names of these emoji (sometimes synonyms) and their AFINN-111 values. Special care was given to not classify based on the images (as different vendors use different pictograms), but only on words and how they are used.
Note that some emoji receive arguably confusing polarities, such as stuck_out_tongue_closed_eyes
(0
), due to being used for both positive and negative emotions.
No images are included in this repository—the copyrighted material may or may not be available on the users computer.