xuezhma / English-To-Emoji

༼ つ ◕_◕ ༽つLess word === More fun! Kappa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EnglishToEmoji

Less word = More fun! Kappa

Why send words when you can send emojis?

Why only translate keywords when you can translate an entire sentence?

Usage & API

All image urls are using absolute links. So all you need to do is to download one of the two files:

You can use English-To-Emoji.js as a Node.js module:

```javascript const emoji = require('English-To-Emoji') const translate = emoji.translate // a function translate sentence, take a string, return a string const listMemes = emoji.listMemes // a function take nothing, return current meme collection const lib = emoji.lib // lib.json ```

Or just use lib.json as a library if you are not using node.

What I've in Mind

  1. Check for Strong Keywords, which Overwrites Entire Sentence:
    • Memes, like Doge (check)
    • Strong emotions, like rekt
  2. Cut a Sentence into Pieces (max = 3)
    • Subject
    • Object
    • Everything in between
  3. Do Something with "Everthing Else"
  4. ......
  5. ??????
  6. Decide Which Emoji to Use for Each Piece

About

༼ つ ◕_◕ ༽つLess word === More fun! Kappa


Languages

Language:JavaScript 100.0%