mirror of
https://github.com/kaiyuran/Emoji-translator-Server.git
synced 2024-11-27 03:13:39 +00:00
update README and emojis
This commit is contained in:
parent
36dcb98c18
commit
d9edc071c6
2 changed files with 49 additions and 0 deletions
|
@ -0,0 +1,4 @@
|
|||
#Emojify Server
|
||||
This is a simple server that takes a string as input and returns the string with emojis. The server is written in Python and uses Flask as the web framework and I am running this on Hackclub's nest server.
|
||||
|
||||
I have added a bunch of emojis manually but in the future I plan to use AI to predict the emojis based on the text.
|
45
app.py
45
app.py
|
@ -208,6 +208,51 @@ def emojify(message):
|
|||
"meat": "🍖",
|
||||
"bacon": "🥓",
|
||||
|
||||
"sad": "😢",
|
||||
"angry": "😡",
|
||||
"mad": "😡",
|
||||
"fury": "😡",
|
||||
"rage": "😡",
|
||||
"disgust": "🤢",
|
||||
"sick": "🤢",
|
||||
"vomit": "🤢",
|
||||
"gross": "🤢",
|
||||
"nausea": "🤢",
|
||||
"unhappy": "😞",
|
||||
"depressed": "😞",
|
||||
"miserable": "😞",
|
||||
"gloomy": "😞",
|
||||
"despair": "😞",
|
||||
"spy": "🕵️",
|
||||
"detective": "🕵️",
|
||||
"sleuth": "🕵️",
|
||||
"investigate": "🕵️",
|
||||
"search": "🕵️",
|
||||
"inspect": "🕵️",
|
||||
"dance": "💃",
|
||||
"dancer": "💃",
|
||||
"ballerina": "💃",
|
||||
"tango": "💃",
|
||||
"dancing": "🕺",
|
||||
"twin": "👯",
|
||||
"sisters": "👯",
|
||||
"twins": "👯",
|
||||
"ballet": "🩰",
|
||||
"pointeshoes": "🩰",
|
||||
"balletshoes": "🩰",
|
||||
"shoes": "👟",
|
||||
"heels": "👠",
|
||||
"finish": "🏁",
|
||||
"sign": "🚩",
|
||||
"leaf": "🍃",
|
||||
"plant": "🌱",
|
||||
"flower": "🌸",
|
||||
"blossom": "🌸",
|
||||
"rose": "🌹",
|
||||
"tulip": "🌷",
|
||||
"sunflower": "🌻",
|
||||
"daisy": "🌼",
|
||||
"hibiscus": "🌺",
|
||||
}
|
||||
|
||||
message = message.strip('"')
|
||||
|
|
Loading…
Reference in a new issue