JCGrant / emojibot

Emojibot responds to your messages with relevant Emojis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emojibot

Emojibot can predict how the user feels, and responds with a relevant Emoji.

Emojibot prediciting the emotion of the user

You can also tell Emojibot your favourite Emoji and he'll remember it for later!

Emojibot prediciting the emotion of the user

Most of the heavy lifting is done by DeepMoji and an intent matcher.

The only endpoint the server exposes is a GET handler to "/transform?s=some sentence".

Running

This code depends on Python2, mostly because that's what DeepMoji uses.

git clone git@github.com:JCGrant/emojibot.git
cd emojibot
pip install -r requirements.txt
pushd client
npm run build
popd

FLASK_APP=app flask run

Or, if you don't have Python binaries in your PATH:

python run.py

Testing

pytest tests.py -v

About

Emojibot responds to your messages with relevant Emojis


Languages

Language:Python 93.3%Language:TypeScript 5.1%Language:HTML 1.0%Language:CSS 0.7%