sepehr's picture
Create demojz.py
00cd773
raw
history blame
17.7 kB
import functools
import operator
import re
import emoji
def demojj(matnn):
ff = emoji.get_emoji_regexp().split(matnn)
fff = [bx.split() for bx in ff]
alll = functools.reduce(operator.concat, fff)
emojis = {
'😀' : ' . grinning . ',
'😺' : ' . grinning . ',
'😃' : ' . I am grinning . ',
'😄' : ' . this is grinning . ',
'😸' : ' . this is grinning . ',
'😁' : ' . this is funny . ',
'😆' : ' . this is very hillarious . ',
'😅' : ' . whew . ',
'🤣' : ' . hysterical . ',
'😂' : ' . this is hillarious . ',
'😹' : ' . this is hillarious . ',
'🙃' : ' . ¯\_(ツ)_/¯ . ',
'🤷' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏻' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏼' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏽' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏾' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏿' : ' . ¯\_(ツ)_/¯ . ',
'🤷‍♂️' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏻‍♂️' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏼‍♂️' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏽‍♂️' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏾‍♂️' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏿‍♂️' : ' . ¯\_(ツ)_/¯ . ',
'🤷‍♀️' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏻‍♀️' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏼‍♀️' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏽‍♀️' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏾‍♀️' : ' . ¯\_(ツ)_/¯ . ',
'🤷🏿‍♀️' : ' . ¯\_(ツ)_/¯ . ',
'😉' : ' . ;) . ',
'😊' : ' . ^^ . ',
'😇' : ' . I am angelic . ',
'🥰' : ' . I am so affectionate . ',
'😍' : ' . infatuation . ',
'😻' : ' . I am so infatuation . ',
'🤩' : ' . this is amazing . ',
'😘' : ' . Blowing a Kiss . ',
'😽' : ' . Blowing a Kiss . ',
'☺️' : ' . ^^ . ',
'😚' : ' . this is so romantic . ',
'🥲' : ' . bittersweet . ',
'😋' : ' . delicious . ',
'😛' : ' . jesting . ',
'😜' : ' . this is zany wink . ',
'🤪' : ' . this is goofy . ',
'😝' : ' . this is playful . ',
'🤑' : ' . excellence . ',
'🤗' : ' . this is flourishing . ',
'🤭' : ' . this is very oops . ',
'🤔' : ' . so Hmm . ',
'🤨' : ' . my suspicion . ',
'😐' : ' . I am very deadpan . ',
'😑' : ' . I frustration . ',
'😶' : ' . this is so speechless . ',
'😏' : ' . I am very flirtation . ',
'😼' : ' . I am very flirtation . ',
'😒' : ' . my irritation . ',
'🙄' : ' . so whatever . ',
'😬' : ' . this is very awkward . ',
'😮‍💨' : ' . sigh . ',
'🤥' : ' . I am dishonesty . ',
'😌' : ' . this is so relief . ',
'😔' : ' . I am sad . ',
'😪' : ' . this is very sad . ',
'🤤' : ' . I am Drooling . ',
'😷' : ' . this is very sick . ',
'🤒' : ' . this is so sick . ',
'🤕' : ' . this is very hurting . ',
'🤢' : ' . this is so Nauseated . ',
'🤮' : ' . this is so nauseous . ',
'🤧' : ' . I am sick . ',
'🥵' : ' . very sexy . ',
'🥴' : ' . this is dazed . ',
'🤯' : ' . I am so mind blown . ',
'🤠' : ' . this is so exuberant . ',
'🥳' : ' . this is so joy . ',
'😎' : ' . this is very cool . ',
'🦠' : ' . this is so virus . ',
'🧐' : ' . I skeptic . ',
'😕' : ' . sadness . ',
'😟' : ' . this is very anxious . ',
'🙁' : ' . this is disappointing . ',
'☹️' : ' . very disappointing . ',
'😮' : ' . very wow . ',
'😯' : ' . very wow . ',
'😲' : ' . wow . ',
'😳' : ' . wow . ',
'🥺' : ' . very adore . ',
'😦' : ' . I am so worried . ',
'😧' : ' . my worried . ',
'😨' : ' . I fear . ',
'😰' : ' . this is very fear . ',
'😥' : ' . this is very grief . ',
'😿' : ' . this is so sad . ',
'😢' : ' . this is so grief . ',
'😱' : ' . this is very fear . ',
'🙀' : ' . I am so fear . ',
'😖' : ' . my irritating . ',
'😣' : ' . my frustration . ',
'😞' : ' . I am so remorse . ',
'😓' : ' . disappointment . ',
'😠' : ' . this is so angry . ',
'😾' : ' . this is so angry . ',
'😡' : ' . my anger . ',
'🤬' : ' . this is so anger . ',
'😈' : ' . this is so mischievous . ',
'💩' : 'shit',
'💋' : ' . kiss . ',
'💘' : ' . very heart . ',
'💝' : ' . very heart . ',
'💖' : ' . very heart . ',
'💗' : ' . very heart . ',
'💓' : ' . very heart . ',
'💞' : ' . very heart . ',
'💟' : ' . very heart . ',
'❤️‍🔥' : ' . very heart . ',
'🧡' : ' . very heart . ',
'💛' : ' . very heart . ',
'💚' : ' . very heart . ',
'💙' : ' . very heart . ',
'💜' : ' . very heart . ',
'🤎' : ' . very heart . ',
'🤍' : ' . very heart . ',
'🖤' : ' . very heart . ',
'❤️‍🩹' : ' . this is so sympathy . ',
'♥️' : ' . love . ',
'❤️' : ' . love . ',
'❣️' : ' . love . ',
'💕' : ' . love . ',
'✨' : ' . very heart . ',
'💔' : ' . this is very sad . ',
'💯' : ' . approve . ',
'💦' : ' . I am desire . ',
'👌' : ' . approve . ',
'👌🏻' : ' . approve . ',
'👌🏼' : ' . approve . ',
'👌🏽' : ' . approve . ',
'👌🏾' : ' . approve . ',
'👌🏿' : ' . approve . ',
'🤞' : ' . this is hope . ',
'🤞🏻' : ' . this is hope . ',
'🤞🏼' : ' . this is hope . ',
'🤞🏽' : ' . this is hope . ',
'🤞🏾' : ' . this is hope . ',
'🤞🏿' : ' . this is hope . ',
'✌️' : ' . this is very victory . ',
'✌🏻' : ' . this is very victory . ',
'✌🏼' : ' . this is very victory . ',
'✌🏽' : ' . this is very victory . ',
'✌🏾' : ' . this is very victory . ',
'✌🏿' : ' . this is very victory . ',
'🤟' : ' . very heart . ',
'🤟🏻' : ' . very heart . ',
'🤟🏼' : ' . very heart . ',
'🤟🏽' : ' . very heart . ',
'🤟🏾' : ' . very heart . ',
'🤟🏿' : ' . very heart . ',
'🤘' : ' . very rock . ',
'🤘🏻' : ' . very rock . ',
'🤘🏼' : ' . very rock . ',
'🤘🏽' : ' . very rock . ',
'🤘🏾' : ' . very rock . ',
'🤘🏿' : ' . very rock . ',
'🤙' : ' . this is very friendship . ',
'🤙🏻' : ' . this is very friendship . ',
'🤙🏼' : ' . this is very friendship . ',
'🤙🏽' : ' . this is very friendship . ',
'🤙🏾' : ' . this is very friendship . ',
'🤙🏿' : ' . this is very friendship . ',
'🖕' : ' fuck ',
'🖕🏻' : ' fuck ',
'🖕🏼' : ' fuck ',
'🖕🏽' : ' fuck ',
'🖕🏾' : ' fuck ',
'🖕🏿' : ' fuck ',
'👍' : ' . approve . ',
'👍🏻' : ' . approve . ',
'👍🏼' : ' . approve . ',
'👍🏽' : ' . approve . ',
'👍🏾' : ' . approve . ',
'👍🏿' : ' . approve . ',
'👎' : ' . this is very disapproval . ',
'👎🏻' : ' . this is very disapproval . ',
'👎🏼' : ' . this is very disapproval . ',
'👎🏽' : ' . this is very disapproval . ',
'👎🏾' : ' . this is very disapproval . ',
'👎🏿' : ' . this is very disapproval . ',
'👏' : ' . this is very bravo . ',
'👏🏻' : ' . this is very bravo . ',
'👏🏼' : ' . this is very bravo . ',
'👏🏽' : ' . this is very bravo . ',
'👏🏾' : ' . this is very bravo . ',
'👏🏿' : ' . this is very bravo . ',
'🙌' : ' . this is cheers . ',
'🙌🏻' : ' . this is cheers . ',
'🙌🏼' : ' . this is cheers . ',
'🙌🏽' : ' . this is cheers . ',
'🙌🏾' : ' . this is cheers . ',
'🙌🏿' : ' . this is cheers . ',
'👐' : ' . my enthusiasm . ',
'👐🏻' : ' . my enthusiasm . ',
'👐🏼' : ' . my enthusiasm . ',
'👐🏽' : ' . my enthusiasm . ',
'👐🏾' : ' . my enthusiasm . ',
'👐🏿' : ' . my enthusiasm . ',
'🤦' : ' . I frustration . ',
'🤦🏻' : ' . I frustration . ',
'🤦🏼' : ' . I frustration . ',
'🤦🏽' : ' . I frustration . ',
'🤦🏾' : ' . I frustration . ',
'🤦🏿' : ' . I frustration . ',
'🤦‍♂️' : ' . I frustration . ',
'🤦🏻‍♂️' : ' . I frustration . ',
'🤦🏼‍♂️' : ' . I frustration . ',
'🤦🏽‍♂️' : ' . I frustration . ',
'🤦🏾‍♂️' : ' . I frustration . ',
'🤦🏿‍♂️' : ' . I frustration . ',
'🤦‍♀️' : ' . I frustration . ',
'🤦🏻‍♀️' : ' . I frustration . ',
'🤦🏼‍♀️' : ' . I frustration . ',
'🤦🏽‍♀️' : ' . I frustration . ',
'🤦🏾‍♀️' : ' . I frustration . ',
'🤦🏿‍♀️' : ' . I frustration . ',
'💃' : ' . this is so dancing . ',
'💃🏻' : ' . this is so dancing . ',
'💃🏼' : ' . this is so dancing . ',
'💃🏽' : ' . this is so dancing . ',
'💃🏾' : ' . this is so dancing . ',
'💃🏿' : ' . this is so dancing . ',
'🕺' : ' . this is so dancing . ',
'🕺🏻' : ' . this is so dancing . ',
'🕺🏼' : ' . this is so dancing . ',
'🕺🏽' : ' . this is so dancing . ',
'🕺🏾' : ' . this is so dancing . ',
'🕺🏿' : ' . this is so dancing . ',
'💏' : ' . kiss . ',
'💏🏻' : ' . kiss . ',
'💏🏼' : ' . kiss . ',
'💏🏽' : ' . kiss . ',
'💏🏾' : ' . kiss . ',
'💏🏿' : ' . kiss . ',
'💑' : ' . this is kiss . ',
'💑🏻' : ' . this is kiss . ',
'💑🏼' : ' . this is kiss . ',
'💑🏽' : ' . this is kiss . ',
'💑🏾' : ' . this is kiss . ',
'💑🏿' : ' . this is kiss . ',
'🫂' : ' . I am very hugging . ',
'🎂' : ' . birthday . ',
'🍾' : ' . joy . ',
'🥂' : ' . joy . ',
'🎆' : ' . joy . ',
'🎉' : ' . joy . ',
'🎊' : ' . joy . ',
'#lol' : ' . I am happy . ',
'lol' : ' . I am happy . ',
'lool' : ' . I am happy . ',
'loool' : ' . I am happy . ',
'#lmao' : ' . I am happy . ',
'lmao' : ' . I am happy . ',
'lmaoo' : ' . I am happy . ',
'lmaooo' : ' . I am happy . ',
'#Lol' : ' . I am happy . ',
'Lol' : ' . I am happy . ',
'Lool' : ' . I am happy . ',
'Loool' : ' . I am happy . ',
'#Lmao' : ' . I am happy . ',
'Lmao' : ' . I am happy . ',
'Lmaoo' : ' . I am happy . ',
'Lmaooo' : ' . I am happy . ',
'#LOL' : ' . I am happy . ',
'LOL' : ' . I am happy . ',
'LOOL' : ' . I am happy . ',
'LOOOL' : ' . I am happy . ',
'#LMAO' : ' . I am happy . ',
'LMAO' : ' . I am happy . ',
'LMAOO' : ' . I am happy . ',
'LMAOOO' : ' . I am happy . ',
'loove' : 'love',
'looove' : 'love',
'loooove' : 'love',
'looooove' : 'love',
'loooooove' : 'love',
'looooooove' : 'love',
'loooooooove' : 'love',
'looooooooove' : 'love',
'loooooooooove' : 'love',
'lovee' : 'love',
'loveee' : 'love',
'loveeee' : 'love',
'loveeeee' : 'love',
'loveeeeee' : 'love',
'loveeeeeee' : 'love',
'loveeeeeeee' : 'love',
'loveeeeeeeee' : 'love',
'loveeeeeeeeee' : 'love',
'Loove' : 'love',
'Looove' : 'love',
'Loooove' : 'love',
'Looooove' : 'love',
'Loooooove' : 'love',
'Looooooove' : 'love',
'Loooooooove' : 'love',
'Looooooooove' : 'love',
'Loooooooooove' : 'love',
'Lovee' : 'love',
'Loveee' : 'love',
'Loveeee' : 'love',
'Loveeeee' : 'love',
'Loveeeeee' : 'love',
'Loveeeeeee' : 'love',
'Loveeeeeeee' : 'love',
'Loveeeeeeeee' : 'love',
'Loveeeeeeeeee' : 'love',
'hatee' : 'hate',
'hateee' : 'hate',
'hateeee' : 'hate',
'hateeeee' : 'hate',
'hateeeeee' : 'hate',
'hateeeeeee' : 'hate',
'hateeeeeeee' : 'hate',
'hateeeeeeeee' : 'hate',
'hateeeeeeeeee' : 'hate',
'haate' : 'hate',
'haaate' : 'hate',
'haaaate' : 'hate',
'haaaaate' : 'hate',
'haaaaaate' : 'hate',
'haaaaaaate' : 'hate',
'haaaaaaaate' : 'hate',
'haaaaaaaaate' : 'hate',
'haaaaaaaaaate' : 'hate',
'Hatee' : 'hate',
'Hateee' : 'hate',
'Hateeee' : 'hate',
'Hateeeee' : 'hate',
'Hateeeeee' : 'hate',
'Hateeeeeee' : 'hate',
'Hateeeeeeee' : 'hate',
'Hateeeeeeeee' : 'hate',
'Hateeeeeeeeee' : 'hate',
'Haate' : 'hate',
'Haaate' : 'hate',
'Haaaate' : 'hate',
'Haaaaate' : 'hate',
'Haaaaaate' : 'hate',
'Haaaaaaate' : 'hate',
'Haaaaaaaate' : 'hate',
'Haaaaaaaaate' : 'hate',
'Haaaaaaaaaate' : 'hate',
'awesomee' : 'awesome',
'awesomeee' : 'awesome',
'awesomeeee' : 'awesome',
'awesoome' : 'awesome',
'awesooome' : 'awesome',
'awesoooome' : 'awesome',
'awessome' : 'awesome',
'awesssome' : 'awesome',
'awessssome' : 'awesome',
'aweesome' : 'awesome',
'aweeesome' : 'awesome',
'aweeeesome' : 'awesome',
'awwesome' : 'awesome',
'awwwesome' : 'awesome',
'awwwwesome' : 'awesome',
'aawesome' : 'awesome',
'aaawesome' : 'awesome',
'aaaawesome' : 'awesome',
'Awesomee' : 'awesome',
'Awesomeee' : 'awesome',
'Awesomeeee' : 'awesome',
'Awesoome' : 'awesome',
'Awesooome' : 'awesome',
'Awesoooome' : 'awesome',
'Awessome' : 'awesome',
'Awesssome' : 'awesome',
'Awessssome' : 'awesome',
'Aweesome' : 'awesome',
'Aweeesome' : 'awesome',
'Aweeeesome' : 'awesome',
'Awwesome' : 'awesome',
'Awwwesome' : 'awesome',
'Awwwwesome' : 'awesome',
'Aawesome' : 'awesome',
'Aaawesome' : 'awesome',
'Aaaawesome' : 'awesome',
'coool' : 'cool',
'cooool' : 'cool',
'coooool' : 'cool',
'Coool' : 'cool',
'Cooool' : 'cool',
'Coooool' : 'cool',
'sh*t' : 'shit',
'Sh*t' : 'shit',
'Sh*T' : 'shit',
'SH*T' : 'shit',
'shxt' : 'shit',
'af' : 'as fuck',
'asf' : 'as fuck',
'stfu' : 'shut the fuck up',
'wtf' : 'what the fuck',
'wtaf' : 'what the actual fuck',
'mf' : 'mother fucker',
'mf*cker' : 'mother fucker',
'mfu*ker' : 'mother fucker',
'bs' : 'bull shit',
'ffin' : 'fucking',
'effing' : 'fucking',
'effin' : 'fucking',
'eff' : 'fuck',
'tf' : 'the fuck',
'ppl' : 'people',
'f*ck' : 'fuck',
'f*cker' : 'fucker',
'fu*ker' : 'fucker',
'Shxt' : 'shit',
'AF' : 'as fuck',
'ASF' : 'as fuck',
'STFU' : 'shut the fuck up',
'WTF' : 'what the fuck',
'WTAF' : 'what the actual fuck',
'MF' : 'mother fucker',
'Mf*cker' : 'mother fucker',
'Mfu*ker' : 'mother fucker',
'BS' : 'bull shit',
'Ffin' : 'fucking',
'Effing' : 'fucking',
'Effin' : 'fucking',
'Eff' : 'fuck',
'TF' : 'the fuck',
'PPL' : 'people',
'F*cker' : 'fucker',
'Fu*ker' : 'fucker',
'fuckin' : 'fucking',
'fkng' : 'fucking',
'ffing' : 'fucking',
'f*ck' : 'fuck',
'fu*k' : 'fuck',
'ffuck' : 'fuck',
'fffuck' : 'fuck',
'ffffuck' : 'fuck',
'fffffuck' : 'fuck',
'ffffffuck' : 'fuck',
'fffffffuck' : 'fuck',
'fuuck' : 'fuck',
'fuuuck' : 'fuck',
'fuuuuck' : 'fuck',
'fuuuuuck' : 'fuck',
'fuuuuuuck' : 'fuck',
'fuuuuuuuck' : 'fuck',
'fucck' : 'fuck',
'fuccck' : 'fuck',
'fucccck' : 'fuck',
'fuccccck' : 'fuck',
'fucccccck' : 'fuck',
'fuccccccck' : 'fuck',
'fuckk' : 'fuck',
'fuckkk' : 'fuck',
'fuckkkk' : 'fuck',
'fuckkkkk' : 'fuck',
'fuckkkkkk' : 'fuck',
'fuckkkkkkk' : 'fuck',
'Fuckin' : 'fucking',
'Fkng' : 'fucking',
'Ffing' : 'fucking',
'F*ck' : 'fuck',
'Fu*k' : 'fuck',
'Ffuck' : 'fuck',
'Fffuck' : 'fuck',
'Ffffuck' : 'fuck',
'Fffffuck' : 'fuck',
'Ffffffuck' : 'fuck',
'Fffffffuck' : 'fuck',
'Fuuck' : 'fuck',
'Fuuuck' : 'fuck',
'Fuuuuck' : 'fuck',
'Fuuuuuck' : 'fuck',
'Fuuuuuuck' : 'fuck',
'Fuuuuuuuck' : 'fuck',
'Fucck' : 'fuck',
'Fuccck' : 'fuck',
'Fucccck' : 'fuck',
'Fuccccck' : 'fuck',
'Fucccccck' : 'fuck',
'Fuccccccck' : 'fuck',
'Ffuckk' : 'fuck',
'Fuckkk' : 'fuck',
'Fuckkkk' : 'fuck',
'Fuckkkkk' : 'fuck',
'Fuckkkkkk' : 'fuck',
'Fuckkkkkkk' : 'fuck',
'covid19' : 'virus',
'covid-19' : 'virus',
'covid' : 'virus',
'#covid' : 'virus',
'#corona' : 'virus',
'#covid19' : 'virus',
'corona' : 'virus',
'Covid19' : 'virus',
'Covid-19' : 'virus',
'Covid' : 'virus',
'#Covid' : 'virus',
'#Corona' : 'virus',
'#Covid19' : 'virus',
'coronavirus' : 'virus',
'Coronavirus' : 'virus',
'CoronaVirus' : 'virus',
'coronaVirus' : 'virus',
'#coronavirus' : 'virus',
'#Coronavirus' : 'virus',
'#CoronaVirus' : 'virus',
'#coronaVirus' : 'virus',
'Corona' : 'virus',
'COVID19' : 'virus',
'COVID-19' : 'virus',
'COVID' : 'virus',
'#COVID' : 'virus',
'#CORONA' : 'virus',
'#COVID19' : 'virus',
'CORONA' : 'virus'
}
fin = " "
for word in alll:
fin += emojis.get(word, word) + " "
return fin