Anja Pilz commited on
Commit
809c8af
·
unverified ·
1 Parent(s): 6c7dea5

mapping of emojis to torchMoji identifiers

Browse files

This enables beautified printing of the predicted emojis using

print(emoji.emojize('Python is %s' % emoji_dict[str(emoji_idx)], use_aliases=True))

Files changed (1) hide show
  1. data/emoji_codes.json +67 -0
data/emoji_codes.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "0": ":joy:",
3
+ "1": ":unamused:",
4
+ "2": ":weary:",
5
+ "3": ":sob:",
6
+ "4": ":heart_eyes:",
7
+ "5": ":pensive:",
8
+ "6": ":ok_hand:",
9
+ "7": ":blush:",
10
+ "8": ":heart:",
11
+ "9": ":smirk:",
12
+ "10":":grin:",
13
+ "11":":notes:",
14
+ "12":":flushed:",
15
+ "13":":100:",
16
+ "14":":sleeping:",
17
+ "15":":relieved:",
18
+ "16":":relaxed:",
19
+ "17":":raised_hands:",
20
+ "18":":two_hearts:",
21
+ "19":":expressionless:",
22
+ "20":":sweat_smile:",
23
+ "21":":pray:",
24
+ "22":":confused:",
25
+ "23":":kissing_heart:",
26
+ "24":":hearts:",
27
+ "25":":neutral_face:",
28
+ "26":":information_desk_person:",
29
+ "27":":disappointed:",
30
+ "28":":see_no_evil:",
31
+ "29":":tired_face:",
32
+ "30":":v:",
33
+ "31":":sunglasses:",
34
+ "32":":rage:",
35
+ "33":":thumbsup:",
36
+ "34":":cry:",
37
+ "35":":sleepy:",
38
+ "36":":stuck_out_tongue_winking_eye:",
39
+ "37":":triumph:",
40
+ "38":":raised_hand:",
41
+ "39":":mask:",
42
+ "40":":clap:",
43
+ "41":":eyes:",
44
+ "42":":gun:",
45
+ "43":":persevere:",
46
+ "44":":imp:",
47
+ "45":":sweat:",
48
+ "46":":broken_heart:",
49
+ "47":":blue_heart:",
50
+ "48":":headphones:",
51
+ "49":":speak_no_evil:",
52
+ "50":":wink:",
53
+ "51":":skull:",
54
+ "52":":confounded:",
55
+ "53":":smile:",
56
+ "54":":stuck_out_tongue_winking_eye:",
57
+ "55":":angry:",
58
+ "56":":no_good:",
59
+ "57":":muscle:",
60
+ "58":":punch:",
61
+ "59":":purple_heart:",
62
+ "60":":sparkling_heart:",
63
+ "61":":blue_heart:",
64
+ "62":":grimacing:",
65
+ "63":":sparkles:"
66
+ }
67
+