Skip to content

An experimental API for determining emoji sentiment, based on research from Institut "Jožef Stefan", Slovenia.

Notifications You must be signed in to change notification settings

jrmedd/emojinal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emojinal

A simple REST API for returning emoji sentiment data based on research from Institut "Jožef Stefan", Slovenia.

Overview

In planning as series of Miro-based workshops, I've had the idea that participants can express how they feel about different topics/statements/whatever using emojis. While emoji usage is de rigueur in 2021, its meanings aren't strictly codified. Luckily, the Slovenia's Institut "Jožef Stefan" has performed a massive analysis of emoji usage in tweets, and documented their findings in a research paper. As a starting point, I'm calling upon that data to perform some automated analysis of participant sentiment.

Usage

I'm hosting the API at https://emojin.al/ so you may contact me if you'd like an API key. Alternatively you can spin up your own instance using the source code and data provided here.

Endpoints and authentication

Creating a MongoDB collection from the source data

You can use the provided JSON file for your own MongoDB collection. The following command will import the data.

mongoimport --db emojinal --collection sentiment emojiData.json --jsonArray --maintainInsertionOrder

I also include separate collection named keys to verify users, which you can create manually. A document in that collection looks like:

{
    "key": "ASecretKey"
}

About

An experimental API for determining emoji sentiment, based on research from Institut "Jožef Stefan", Slovenia.

Topics

Resources

Stars

Watchers

Forks