rumoji 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,265 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ require 'rumoji/emoji'
4
+ require 'set'
5
+
6
+ module Rumoji
7
+ class Emoji
8
+ OBJECTS = Set[
9
+ self.new("\u{1F38D}", [:bamboo], "PINE DECORATION"), # "Japanese new year's door decoration
10
+ self.new("\u{1F49D}", [:gift_heart], "HEART WITH RIBBON"),
11
+ self.new("\u{1F38E}", [:dolls], "JAPANESE DOLLS"), # "Japanese Hinamatsuri or girls' doll festival"
12
+ self.new("\u{1F49D}", [:gift_heart], "HEART WITH RIBBON"),
13
+ self.new("\u{1F392}", [:school_satchel]), # "Japanese school entrance ceremony"
14
+ self.new("\u{1F393}", [:mortar_board], "GRADUATION CAP"), # "graduation ceremony"
15
+ self.new("\u{1F38F}", [:flags], "CARP STREAMER"),
16
+ self.new("\u{1F386}", [:fireworks]),
17
+ self.new("\u{1F387}", [:sparkler], "FIREWORK SPARKLER"),
18
+ self.new("\u{1F390}", [:wind_chime]),
19
+ self.new("\u{1F391}", [:rice_scene], "MOON VIEWING CEREMONY"), # "Japanese Otsukimi harvest celebration"
20
+ self.new("\u{1F383}", [:jack_o_lantern], "JACK-O-LANTERN"), # "Hallowe'en"
21
+ self.new("\u{1F47B}", [:ghost]),
22
+ self.new("\u{1F385}", [:santa], "FATHER CHRISTMAS"), # "Santa Claus"
23
+ self.new("\u{1f3b1}", [:"8ball"]),
24
+ self.new("\u{23f0}" , [:alarm_clock]),
25
+ self.new("\u{1f34e}", [:apple]),
26
+ self.new("\u{1f3a8}", [:art]),
27
+ self.new("\u{1f37c}", [:baby_bottle]),
28
+ self.new("\u{1f388}", [:balloon]),
29
+ self.new("\u{1f34c}", [:banana]),
30
+ self.new("\u{1f4ca}", [:bar_chart]),
31
+ self.new("\u{26be}" , [:baseball]),
32
+ self.new("\u{1f3c0}", [:basketball]),
33
+ self.new("\u{1f6c0}", [:bath]),
34
+ self.new("\u{1f6c1}", [:bathtub]),
35
+ self.new("\u{1f50b}", [:battery]),
36
+ self.new("\u{1f37a}", [:beer]),
37
+ self.new("\u{1f37b}", [:beers]),
38
+ self.new("\u{1f514}", [:bell]),
39
+ self.new("\u{1f371}", [:bento]),
40
+ self.new("\u{1f6b4}", [:bicyclist]),
41
+ self.new("\u{1f459}", [:bikini]),
42
+ self.new("\u{1f382}", [:birthday]),
43
+ self.new("\u{1f0cf}", [:black_joker]),
44
+ self.new("\u{2712}" , [:black_nib]),
45
+ self.new("\u{1f4d8}", [:blue_book]),
46
+ self.new("\u{1f4a3}", [:bomb]),
47
+ self.new("\u{1f516}", [:bookmark]),
48
+ self.new("\u{1f4d1}", [:bookmark_tabs]),
49
+ self.new("\u{1f4da}", [:books]),
50
+ self.new("\u{1f462}", [:boot]),
51
+ self.new("\u{1f3b3}", [:bowling]),
52
+ self.new("\u{1f35e}", [:bread]),
53
+ self.new("\u{1f4bc}", [:briefcase]),
54
+ self.new("\u{1f4a1}", [:bulb]),
55
+ self.new("\u{1f370}", [:cake]),
56
+ self.new("\u{1f4c6}", [:calendar]),
57
+ self.new("\u{1f4f2}", [:calling]),
58
+ self.new("\u{1f4f7}", [:camera]),
59
+ self.new("\u{1f36c}", [:candy]),
60
+ self.new("\u{1f4c7}", [:card_index]),
61
+ self.new("\u{1f4bf}", [:cd]),
62
+ self.new("\u{1f4c9}", [:chart_with_downwards_trend]),
63
+ self.new("\u{1f4c8}", [:chart_with_upwards_trend]),
64
+ self.new("\u{1f352}", [:cherries]),
65
+ self.new("\u{1f36b}", [:chocolate_bar]),
66
+ self.new("\u{1f384}", [:christmas_tree]),
67
+ self.new("\u{1f3ac}", [:clapper]),
68
+ self.new("\u{1f4cb}", [:clipboard]),
69
+ self.new("\u{1f4d5}", [:closed_book]),
70
+ self.new("\u{1f510}", [:closed_lock_with_key]),
71
+ self.new("\u{1f302}", [:closed_umbrella]),
72
+ self.new("\u{2663}" , [:clubs]),
73
+ self.new("\u{1f378}", [:cocktail]),
74
+ self.new("\u{2615}" , [:coffee]),
75
+ self.new("\u{1f4bb}", [:computer]),
76
+ self.new("\u{1f38a}", [:confetti_ball]),
77
+ self.new("\u{1f36a}", [:cookie]),
78
+ self.new("\u{1f33d}", [:corn]),
79
+ self.new("\u{1f4b3}", [:credit_card]),
80
+ self.new("\u{1f451}", [:crown]),
81
+ self.new("\u{1f52e}", [:crystal_ball]),
82
+ self.new("\u{1f35b}", [:curry]),
83
+ self.new("\u{1f36e}", [:custard]),
84
+ self.new("\u{1f361}", [:dango]),
85
+ self.new("\u{1f3af}", [:dart]),
86
+ self.new("\u{1f4c5}", [:date]),
87
+ self.new("\u{2666}" , [:diamonds]),
88
+ self.new("\u{1f4b5}", [:dollar]),
89
+ self.new("\u{1f6aa}", [:door]),
90
+ self.new("\u{1f369}", [:doughnut]),
91
+ self.new("\u{1f457}", [:dress]),
92
+ self.new("\u{1f4c0}", [:dvd]),
93
+ self.new("\u{1f4e7}", [:"e-mail"]),
94
+ self.new("\u{1f373}", [:egg]),
95
+ self.new("\u{1f346}", [:eggplant]),
96
+ self.new("\u{1f50c}", [:electric_plug]),
97
+ self.new("\u{2709}" , [:email, :envelope]),
98
+ self.new("\u{1f4b6}", [:euro]),
99
+ self.new("\u{1f453}", [:eyeglasses]),
100
+ self.new("\u{1f4e0}", [:fax]),
101
+ self.new("\u{1f4c1}", [:file_folder]),
102
+ self.new("\u{1f365}", [:fish_cake]),
103
+ self.new("\u{1f3a3}", [:fishing_pole_and_fish]),
104
+ self.new("\u{1f526}", [:flashlight]),
105
+ self.new("\u{1f4be}", [:floppy_disk]),
106
+ self.new("\u{1f3b4}", [:flower_playing_cards]),
107
+ self.new("\u{1f3c8}", [:football]),
108
+ self.new("\u{1f374}", [:fork_and_knife]),
109
+ self.new("\u{1f364}", [:fried_shrimp]),
110
+ self.new("\u{1f35f}", [:fries]),
111
+ self.new("\u{1f3b2}", [:game_die]),
112
+ self.new("\u{1f48e}", [:gem]),
113
+ self.new("\u{1f381}", [:gift]),
114
+ self.new("\u{26f3}" , [:golf]),
115
+ self.new("\u{1f347}", [:grapes]),
116
+ self.new("\u{1f34f}", [:green_apple]),
117
+ self.new("\u{1f4d7}", [:green_book]),
118
+ self.new("\u{1f3b8}", [:guitar]),
119
+ self.new("\u{1f52b}", [:gun]),
120
+ self.new("\u{1f354}", [:hamburger]),
121
+ self.new("\u{1f528}", [:hammer]),
122
+ self.new("\u{1f45c}", [:handbag]),
123
+ self.new("\u{1f3a7}", [:headphones]),
124
+ self.new("\u{2665}" , [:hearts]),
125
+ self.new("\u{1f506}", [:high_brightness]),
126
+ self.new("\u{1f460}", [:high_heel]),
127
+ self.new("\u{1f52a}", [:hocho]),
128
+ self.new("\u{1f36f}", [:honey_pot]),
129
+ self.new("\u{1f3c7}", [:horse_racing]),
130
+ self.new("\u{231b}" , [:hourglass]),
131
+ self.new("\u{23f3}" , [:hourglass_flowing_sand]),
132
+ self.new("\u{1f368}", [:ice_cream]),
133
+ self.new("\u{1f366}", [:icecream]),
134
+ self.new("\u{1f4e5}", [:inbox_tray]),
135
+ self.new("\u{1f4e8}", [:incoming_envelope]),
136
+ self.new("\u{1f4f1}", [:iphone]),
137
+ self.new("\u{1f456}", [:jeans]),
138
+ self.new("\u{1f511}", [:key]),
139
+ self.new("\u{1f458}", [:kimono]),
140
+ self.new("\u{1f4d2}", [:ledger]),
141
+ self.new("\u{1f34b}", [:lemon]),
142
+ self.new("\u{1f484}", [:lipstick]),
143
+ self.new("\u{1f512}", [:lock]),
144
+ self.new("\u{1f50f}", [:lock_with_ink_pen]),
145
+ self.new("\u{1f36d}", [:lollipop]),
146
+ self.new("\u{27bf}" , [:loop]),
147
+ self.new("\u{1f4e2}", [:loudspeaker]),
148
+ self.new("\u{1f505}", [:low_brightness]),
149
+ self.new("\u{1f50d}", [:mag]),
150
+ self.new("\u{1f50e}", [:mag_right]),
151
+ self.new("\u{1f004}", [:mahjong]),
152
+ self.new("\u{1f4eb}", [:mailbox]),
153
+ self.new("\u{1f4ea}", [:mailbox_closed]),
154
+ self.new("\u{1f4ec}", [:mailbox_with_mail]),
155
+ self.new("\u{1f4ed}", [:mailbox_with_no_mail]),
156
+ self.new("\u{1f45e}", [:mans_shoe, :shoe]),
157
+ self.new("\u{1f356}", [:meat_on_bone]),
158
+ self.new("\u{1f4e3}", [:mega]),
159
+ self.new("\u{1f348}", [:melon]),
160
+ self.new("\u{1f4dd}", [:memo, :pencil]),
161
+ self.new("\u{1f3a4}", [:microphone]),
162
+ self.new("\u{1f52c}", [:microscope]),
163
+ self.new("\u{1f4bd}", [:minidisc]),
164
+ self.new("\u{1f4b8}", [:money_with_wings]),
165
+ self.new("\u{1f4b0}", [:moneybag]),
166
+ self.new("\u{1f6b5}", [:mountain_bicyclist]),
167
+ self.new("\u{1f3a5}", [:movie_camera]),
168
+ self.new("\u{1f3b9}", [:musical_keyboard]),
169
+ self.new("\u{1f3bc}", [:musical_score]),
170
+ self.new("\u{1f507}", [:mute]),
171
+ self.new("\u{1f4db}", [:name_badge]),
172
+ self.new("\u{1f454}", [:necktie]),
173
+ self.new("\u{1f4f0}", [:newspaper]),
174
+ self.new("\u{1f515}", [:no_bell]),
175
+ self.new("\u{1f4d3}", [:notebook]),
176
+ self.new("\u{1f4d4}", [:notebook_with_decorative_cover]),
177
+ self.new("\u{1f529}", [:nut_and_bolt]),
178
+ self.new("\u{1f362}", [:oden]),
179
+ self.new("\u{1f4c2}", [:open_file_folder]),
180
+ self.new("\u{1f4d9}", [:orange_book]),
181
+ self.new("\u{1f4e4}", [:outbox_tray]),
182
+ self.new("\u{1f4c4}", [:page_facing_up]),
183
+ self.new("\u{1f4c3}", [:page_with_curl]),
184
+ self.new("\u{1f4df}", [:pager]),
185
+ self.new("\u{1f4ce}", [:paperclip]),
186
+ self.new("\u{1f351}", [:peach]),
187
+ self.new("\u{1f350}", [:pear]),
188
+ self.new("\u{270f}" , [:pencil2]),
189
+ self.new("\u{260e}" , [:phone, :telephone]),
190
+ self.new("\u{1f48a}", [:pill]),
191
+ self.new("\u{1f34d}", [:pineapple]),
192
+ self.new("\u{1f355}", [:pizza]),
193
+ self.new("\u{1f4ef}", [:postal_horn]),
194
+ self.new("\u{1f4ee}", [:postbox]),
195
+ self.new("\u{1f45d}", [:pouch]),
196
+ self.new("\u{1f357}", [:poultry_leg]),
197
+ self.new("\u{1f4b7}", [:pound]),
198
+ self.new("\u{1f45b}", [:purse]),
199
+ self.new("\u{1f4cc}", [:pushpin]),
200
+ self.new("\u{1f4fb}", [:radio]),
201
+ self.new("\u{1f35c}", [:ramen]),
202
+ self.new("\u{1f380}", [:ribbon]),
203
+ self.new("\u{1f35a}", [:rice]),
204
+ self.new("\u{1f359}", [:rice_ball]),
205
+ self.new("\u{1f358}", [:rice_cracker]),
206
+ self.new("\u{1f48d}", [:ring]),
207
+ self.new("\u{1f3c9}", [:rugby_football]),
208
+ self.new("\u{1f3bd}", [:running_shirt_with_sash]),
209
+ self.new("\u{1f376}", [:sake]),
210
+ self.new("\u{1f461}", [:sandal]),
211
+ self.new("\u{1f4e1}", [:satellite]),
212
+ self.new("\u{1f3b7}", [:saxophone]),
213
+ self.new("\u{2702}" , [:scissors]),
214
+ self.new("\u{1f4dc}", [:scroll]),
215
+ self.new("\u{1f4ba}", [:seat]),
216
+ self.new("\u{1f367}", [:shaved_ice]),
217
+ self.new("\u{1f455}", [:shirt, :tshirt]),
218
+ self.new("\u{1f6bf}", [:shower]),
219
+ self.new("\u{1f3bf}", [:ski]),
220
+ self.new("\u{1f6ac}", [:smoking]),
221
+ self.new("\u{1f3c2}", [:snowboarder]),
222
+ self.new("\u{26bd}" , [:soccer]),
223
+ self.new("\u{1f509}", [:sound]),
224
+ self.new("\u{1f47e}", [:space_invader]),
225
+ self.new("\u{2660}" , [:spades]),
226
+ self.new("\u{1f35d}", [:spaghetti]),
227
+ self.new("\u{1f50a}", [:speaker]),
228
+ self.new("\u{1f372}", [:stew]),
229
+ self.new("\u{1f4cf}", [:straight_ruler]),
230
+ self.new("\u{1f353}", [:strawberry]),
231
+ self.new("\u{1f3c4}", [:surfer]),
232
+ self.new("\u{1f363}", [:sushi]),
233
+ self.new("\u{1f360}", [:sweet_potato]),
234
+ self.new("\u{1f3ca}", [:swimmer]),
235
+ self.new("\u{1f489}", [:syringe]),
236
+ self.new("\u{1f389}", [:tada]),
237
+ self.new("\u{1f38b}", [:tanabata_tree]),
238
+ self.new("\u{1f34a}", [:tangerine]),
239
+ self.new("\u{1f375}", [:tea]),
240
+ self.new("\u{1f4de}", [:telephone_receiver]),
241
+ self.new("\u{1f52d}", [:telescope]),
242
+ self.new("\u{1f3be}", [:tennis]),
243
+ self.new("\u{1f6bd}", [:toilet]),
244
+ self.new("\u{1f345}", [:tomato]),
245
+ self.new("\u{1f3a9}", [:tophat]),
246
+ self.new("\u{1f4d0}", [:triangular_ruler]),
247
+ self.new("\u{1f3c6}", [:trophy]),
248
+ self.new("\u{1f379}", [:tropical_drink]),
249
+ self.new("\u{1f3ba}", [:trumpet]),
250
+ self.new("\u{1f4fa}", [:tv]),
251
+ self.new("\u{1f513}", [:unlock]),
252
+ self.new("\u{1f4fc}", [:vhs]),
253
+ self.new("\u{1f4f9}", [:video_camera]),
254
+ self.new("\u{1f3ae}", [:video_game]),
255
+ self.new("\u{1f3bb}", [:violin]),
256
+ self.new("\u{231a}" , [:watch]),
257
+ self.new("\u{1f349}", [:watermelon]),
258
+ self.new("\u{1f377}", [:wine_glass]),
259
+ self.new("\u{1f45a}", [:womans_clothes]),
260
+ self.new("\u{1f452}", [:womans_hat]),
261
+ self.new("\u{1f527}", [:wrench]),
262
+ self.new("\u{1f4b4}", [:yen])
263
+ ]
264
+ end
265
+ end
@@ -0,0 +1,184 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ require 'rumoji/emoji'
4
+ require 'set'
5
+
6
+ module Rumoji
7
+ class Emoji
8
+ PEOPLE = Set[
9
+ self.new("\u{1F604}", [:smile], "SMILING FACE WITH OPEN MOUTH AND SMILING EYES"),
10
+ self.new("\u{1F606}", [:laughing], "SMILING FACE WITH OPEN MOUTH AND TIGHTLY-CLOSED EYES"),
11
+ self.new("\u{1F60A}", [:blush], "SMILING FACE WITH SMILING EYES"),
12
+ self.new("\u{1F603}", [:smiley], "SMILING FACE WITH OPEN MOUTH"),
13
+ self.new("\u{263A}" , [:relaxed], "WHITE SMILING FACE"),
14
+ self.new("\u{1F60F}", [:smirk], "SMIRKING FACE"),
15
+ self.new("\u{1F60D}", [:heart_eyes], "SMILING FACE WITH HEART-SHAPED EYES"),
16
+ self.new("\u{1F618}", [:kissing_heart], "FACE THROWING KISS"),
17
+ self.new("\u{1F61A}", [:kissing_closed_eyes], "KISSING FACE WITH CLOSED EYES"),
18
+ self.new("\u{1F633}", [:flushed], "FLUSHED FACE"),
19
+ self.new("\u{1F625}", [:relieved], "DISAPPOINTED BUT RELIEVED FACE"),
20
+ self.new("\u{1F60C}", [:satisfied], "RELIEVED FACE"),
21
+ self.new("\u{1F601}", [:grin], "GRINNING FACE WITH SMILING EYES"),
22
+ self.new("\u{1F609}", [:wink], "WINKING FACE"),
23
+ self.new("\u{1F61C}", [:wink2, :stuck_out_tongue_winking_eye], "FACE WITH STUCK OUT TONGUE AND WINKING EYE"), # "kidding, not serious"
24
+ self.new("\u{1F61D}", [:stuck_out_tongue_closed_eyes], "FACE WITH STUCK-OUT TONGUE AND TIGHTLY-CLOSED EYES"), # "kidding, not serious"
25
+ self.new("\u{1F600}", [:grinning], "GRINNING FACE"),
26
+ self.new("\u{1F617}", [:kissing], "KISSING FACE"),
27
+ self.new("\u{1F619}", [:kissing_smiling_eyes], "KISSING FACE WITH SMILING EYES"),
28
+ self.new("\u{1F61B}", [:stuck_out_tongue], "FACE WITH STUCK-OUT TONGUE"),
29
+ self.new("\u{1F634}", [:sleeping], "SLEEPING FACE"),
30
+ self.new("\u{1F61F}", [:worried], "WORRIED FACE"),
31
+ self.new("\u{1F626}", [:frowning], "FROWNING FACE WITH OPEN MOUTH"),
32
+ self.new("\u{1F627}", [:anguished], "ANGUISHED FACE"),
33
+ self.new("\u{1F62E}", [:open_mouth], "FACE WITH OPEN MOUTH"),
34
+ self.new("\u{1F62C}", [:grimacing], "GRIMACING FACE"),
35
+ self.new("\u{1F615}", [:confused], "CONFUSED FACE"),
36
+ self.new("\u{1F62F}", [:hushed], "HUSHED FACE"),
37
+ self.new("\u{1F611}", [:expressionless], "EXPRESSIONLESS FACE"),
38
+ self.new("\u{1F612}", [:unamused], "UNAMUSED FACE"),
39
+ self.new("\u{1F605}", [:sweat_smile], "SMILING FACE WITH OPEN MOUTH AND COLD SWEAT"),
40
+ self.new("\u{1F613}", [:sweat], "FACE WITH COLD SWEAT"),
41
+ self.new("\u{1F629}", [:weary], "WEARY FACE"),
42
+ self.new("\u{1F614}", [:pensive], "PENSIVE FACE"),
43
+ self.new("\u{1F61E}", [:dissapointed], "DISAPPOINTED FACE"),
44
+ self.new("\u{1F616}", [:confounded], "CONFOUNDED FACE"),
45
+ self.new("\u{1F628}", [:fearful], "FEARFUL FACE"),
46
+ self.new("\u{1F630}", [:cold_sweat], "FACE WITH OPEN MOUTH AND COLD SWEAT"),
47
+ self.new("\u{1F623}", [:persevere], "PERSEVERING FACE"),
48
+ self.new("\u{1F622}", [:cry], "CRYING FACE"),
49
+ self.new("\u{1F62D}", [:sob], "LOUDLY CRYING FACE"),
50
+ self.new("\u{1F602}", [:joy], "FACE WITH TEARS OF JOY"),
51
+ self.new("\u{1F632}", [:astonished], "ASTONISHED FACE"),
52
+ self.new("\u{1F631}", [:scream], "FACE SCREAMING IN FEAR"),
53
+ self.new("\u{1F62B}", [:tired_face]),
54
+ self.new("\u{1F620}", [:angry], "ANGRY FACE"),
55
+ self.new("\u{1F621}", [:rage], "POUTING FACE"),
56
+ self.new("\u{1F624}", [:triumph], "FACE WITH LOOK OF TRIUMPH"),
57
+ self.new("\u{1F62A}", [:sleepy], "SLEEPY FACE"),
58
+ self.new("\u{1F60B}", [:yum], "FACE SAVOURING DELICIOUS FOOD"),
59
+ self.new("\u{1F637}", [:mask], "FACE WITH MEDICAL MASK"),
60
+ self.new("\u{1F60E}", [:sunglasses], "SMILING FACE WITH SUNGLASSES"),
61
+ self.new("\u{1F635}", [:dizzy_face]),
62
+ self.new("\u{1F47F}", [:imp]),
63
+ self.new("\u{1F608}", [:smiling_imp], "SMILING FACE WITH HORNS"),
64
+ self.new("\u{1F610}", [:neutral_face]),
65
+ self.new("\u{1F636}", [:no_mouth], "FACE WITHOUT MOUTH"),
66
+ self.new("\u{1F607}", [:innocent], "SMILING FACE WITH HALO"),
67
+ self.new("\u{1F47D}", [:alien], "EXTRATERRESTRIAL ALIEN"),
68
+ self.new("\u{1F49B}", [:yellow_heart]),
69
+ self.new("\u{1F499}", [:blue_heart]),
70
+ self.new("\u{1F49C}", [:purple_heart]),
71
+ self.new("\u{2764}" , [:heart], "HEAVY BLACK HEART"),
72
+ self.new("\u{1F49A}", [:green_heart]),
73
+ self.new("\u{1F494}", [:broken_heart]),
74
+ self.new("\u{1F493}", [:heartbeat], "BEATING HEART"),
75
+ self.new("\u{1F497}", [:heartpulse], "GROWING HEART"),
76
+ self.new("\u{1F495}", [:two_hearts]),
77
+ self.new("\u{1F49E}", [:revolving_hearts]),
78
+ self.new("\u{1F498}", [:cupid], "HEART WITH ARROW"),
79
+ self.new("\u{1F496}", [:sparkling_heart]),
80
+ self.new("\u{2728}" , [:sparkles]),
81
+ self.new("\u{2B50}" , [:star], "WHITE MEDIUM STAR"),
82
+ self.new("\u{1F31F}", [:star2], "GLOWING STAR"),
83
+ self.new("\u{1F4AB}", [:dizzy], "DIZZY SYMBOL"), # "circling stars, squeans"
84
+ self.new("\u{1F4A5}", [:boom, :collision], "COLLISION SYMBOL"),
85
+ self.new("\u{1F4A2}", [:anger], "ANGER SYMBOL"),
86
+ self.new("\u{2757}" , [:exclamation], "HEAVY EXCLAMATION MARK SYMBOL"),
87
+ self.new("\u{2753}" , [:question], "BLACK QUESTION MARK ORNAMENT"),
88
+ self.new("\u{2755}" , [:grey_exclamation], "WHITE EXCLAMATION MARK ORNAMENT"),
89
+ self.new("\u{2754}" , [:grey_question], "WHITE QUESTION MARK ORNAMENT"),
90
+ self.new("\u{1F4A4}", [:zzz], "SLEEPING SYMBOL"),
91
+ self.new("\u{1F4A8}", [:dash], "DASH SYMBOL"), # "running dash, briffits"
92
+ self.new("\u{1F4A6}", [:sweat_drops], "SPLASHING SWEAT SYMBOL"), # "plewds"
93
+ self.new("\u{1F3B6}", [:notes], "MULTIPLE MUSICAL NOTES"), # "dancing notes, mood, melody"
94
+ self.new("\u{1F3B5}", [:musical_note]), # "music, being in good mood"
95
+ self.new("\u{1F525}", [:fire], "FIRE"),
96
+ # Poop
97
+ self.new("\u{1F4A9}", [:hankey, :poop, :shit], "PILE OF POO"), # "dog dirt"
98
+ self.new("\u{1F44D}", [:thumbsup, :"+1"], "THUMBS UP SIGN"),
99
+ self.new("\u{1F44E}", [:thumbsdown, :"-1"], "THUMBS DOWN SIGN"),
100
+ self.new("\u{1F44C}", [:ok_hand], "OK HAND SIGN"),
101
+ self.new("\u{1F44A}", [:punch, :facepunch], "FISTED HAND SIGN"), # "punch
102
+ self.new("\u{270A}" , [:fist], "RAISED FIST"),
103
+ self.new("\u{270C}" , [:v], "VICTORY HAND"),
104
+ self.new("\u{1F44B}", [:wave], "WAVING HAND SIGN"),
105
+ self.new("\u{270B}" , [:hand], "RAISED HAND"),
106
+ self.new("\u{1F450}", [:open_hands], "OPEN HANDS SIGN"),
107
+ self.new("\u{261D}" , [:point_up], "WHITE UP POINTING INDEX"),
108
+ self.new("\u{1F447}", [:point_down], "WHITE DOWN POINTING BACKHAND INDEX"),
109
+ self.new("\u{1F448}", [:point_left], "WHITE LEFT POINTING BACKHAND INDEX"),
110
+ self.new("\u{1F449}", [:point_right], "WHITE RIGHT POINTING BACKHAND INDEX"),
111
+ self.new("\u{1F64C}", [:raised_hands], "PERSON RAISING BOTH HANDS IN CELEBRATION"), # "banzai!"
112
+ self.new("\u{1F64F}", [:pray], "PERSON WITH FOLDED HANDS"), # "can indicate sorrow or regret; can indicate pleading"
113
+ self.new("\u{1F446}", [:point_up_2], "WHITE UP POINTING BACKHAND INDEX"),
114
+ self.new("\u{1F44F}", [:clap], "CLAPPING HANDS SIGN"),
115
+ self.new("\u{1F4AA}", [:muscle], "FLEXED BICEPS"), # "strong, muscled"
116
+ self.new("\u{1F6B6}", [:walking], "PEDESTRIAN"),
117
+ self.new("\u{1F3C3}", [:runner, :running]),
118
+ self.new("\u{1F46B}", [:couple], "MAN AND WOMAN HOLDING HANDS"),
119
+ self.new("\u{1F46A}", [:family]),
120
+ self.new("\u{1F46C}", [:two_men_holding_hands]),
121
+ self.new("\u{1F46D}", [:two_women_holding_hands]),
122
+ self.new("\u{1F483}", [:dancer]),
123
+ self.new("\u{1F46F}", [:dancers], "WOMAN WITH BUNNY EARS"),
124
+ self.new("\u{1F646}", [:ok_woman], "FACE WITH OK GESTURE"),
125
+ self.new("\u{1F645}", [:no_good], "FACE WITH NO GOOD GESTURE"),
126
+ self.new("\u{1F481}", [:information_desk_person]),
127
+ self.new("\u{1F64B}", [:raised_hand], "HAPPY PERSON RAISING ONE HAND"),
128
+ self.new("\u{1F470}", [:bride_with_veil]),
129
+ self.new("\u{1F64E}", [:person_with_pouting_face]),
130
+ self.new("\u{1F64D}", [:person_frowning]),
131
+ self.new("\u{1F647}", [:bow], "PERSON BOWING DEEPLY"),
132
+ self.new("\u{1F48F}", [:couplekiss], "KISS"), # "two people kissing"
133
+ self.new("\u{1F491}", [:couple_with_heart]),
134
+ self.new("\u{1F486}", [:massage], "FACE MASSAGE"),
135
+ self.new("\u{1F487}", [:haircut]), # "usually indicates a beauty parlor"
136
+ self.new("\u{1F485}", [:nail_care], "NAIL POLISH"), # "manicure, nail care"
137
+ self.new("\u{1F466}", [:boy]),
138
+ self.new("\u{1F467}", [:girl]),
139
+ self.new("\u{1F469}", [:woman]),
140
+ self.new("\u{1F468}", [:man]),
141
+ self.new("\u{1F476}", [:baby]),
142
+ self.new("\u{1F475}", [:older_woman]),
143
+ self.new("\u{1F474}", [:older_man]),
144
+ self.new("\u{1F471}", [:person_with_blond_hair]),
145
+ self.new("\u{1F472}", [:man_with_gua_pi_mao]),
146
+ self.new("\u{1F473}", [:man_with_turban]),
147
+ self.new("\u{1F477}", [:construction_worker]),
148
+ self.new("\u{1F46E}", [:cop], "POLICE OFFICER"),
149
+ self.new("\u{1F47C}", [:angel], "BABY ANGEL"),
150
+ self.new("\u{1F478}", [:princess]),
151
+ # Cats
152
+ self.new("\u{1F63A}", [:smiley_cat], "SMILING CAT FACE WITH OPEN MOUTH"),
153
+ self.new("\u{1F638}", [:smile_cat], "GRINNING CAT FACE WITH SMILING EYES"),
154
+ self.new("\u{1F63B}", [:heart_eyes_cat], "SMILING CAT FACE WITH HEART-SHAPED EYES"),
155
+ self.new("\u{1F63D}", [:kissing_cat], "KISSING CAT FACE WITH CLOSED EYES"),
156
+ self.new("\u{1F63C}", [:smirk_cat], "CAT FACE WITH WRY SMILE"),
157
+ self.new("\u{1F640}", [:scream_cat], "WEARY CAT FACE"),
158
+ self.new("\u{1F63F}", [:crying_cat_face], "CRYING CAT FACE"),
159
+ self.new("\u{1F639}", [:joy_cat], "CAT FACE WITH TEARS OF JOY"),
160
+ self.new("\u{1F63E}", [:pouting_cat], "POUTING CAT FACE"),
161
+ self.new("\u{1F479}", [:japanese_ogre]),
162
+ self.new("\u{1F47A}", [:japanese_goblin]),
163
+ # Monkeys
164
+ self.new("\u{1F648}", [:see_no_evil], "SEE-NO-EVIL MONKEY"),
165
+ self.new("\u{1F649}", [:hear_no_evil], "HEAR-NO-EVIL MONKEY"),
166
+ self.new("\u{1F64A}", [:speak_no_evil], "SPEAK-NO-EVIL MONKEY"),
167
+ self.new("\u{1F482}", [:guardsman]),
168
+ self.new("\u{1F480}", [:skull]),
169
+ self.new("\u{1F463}", [:feet], "FOOTPRINTS"),
170
+ self.new("\u{1F444}", [:lips], "MOUTH"),
171
+ self.new("\u{1F48B}", [:kiss], "KISS MARK"), # "lips"
172
+ self.new("\u{1F4A7}", [:droplet]), # "represents a drop of sweat or drop of water"
173
+ self.new("\u{1F442}", [:ear]),
174
+ self.new("\u{1F440}", [:eyes]),
175
+ self.new("\u{1F443}", [:nose]),
176
+ self.new("\u{1F445}", [:tongue]),
177
+ self.new("\u{1F48C}", [:love_letter]),
178
+ self.new("\u{1F464}", [:bust_in_silhouette]), # "guest account"
179
+ self.new("\u{1F465}", [:busts_in_silhouette]), # "accounts"
180
+ self.new("\u{1F4AC}", [:speech_balloon]), # "comic book conversation bubble"
181
+ self.new("\u{1F4AD}", [:thought_balloon]),
182
+ ]
183
+ end
184
+ end
@@ -0,0 +1,113 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ require 'rumoji/emoji'
4
+ require 'set'
5
+
6
+ module Rumoji
7
+ class Emoji
8
+ PLACES = Set[
9
+ self.new("\u{1f6a1}", [:aerial_tramway]),
10
+ self.new("\u{2708}" , [:airplane]),
11
+ self.new("\u{1f691}", [:ambulance]),
12
+ self.new("\u{2693}" , [:anchor]),
13
+ self.new("\u{1f69b}", [:articulated_lorry]),
14
+ self.new("\u{1f3e7}", [:atm]),
15
+ self.new("\u{1f3e6}", [:bank]),
16
+ self.new("\u{1f488}", [:barber]),
17
+ self.new("\u{1f530}", [:beginner]),
18
+ self.new("\u{1f6b2}", [:bike]),
19
+ self.new("\u{1f699}", [:blue_car]),
20
+ self.new("\u{26f5}" , [:boat, :sailboat]),
21
+ self.new("\u{1f309}", [:bridge_at_night]),
22
+ self.new("\u{1f685}", [:bullettrain_front]),
23
+ self.new("\u{1f684}", [:bullettrain_side]),
24
+ self.new("\u{1f68c}", [:bus]),
25
+ self.new("\u{1f68f}", [:busstop]),
26
+ self.new("\u{1f697}", [:car, :red_car]),
27
+ self.new("\u{1f3a0}", [:carousel_horse]),
28
+ self.new("\u{1f3c1}", [:checkered_flag]),
29
+ self.new("\u{26ea}" , [:church]),
30
+ self.new("\u{1f3aa}", [:circus_tent]),
31
+ self.new("\u{1f307}", [:city_sunrise]),
32
+ self.new("\u{1f306}", [:city_sunset]),
33
+ self.new("\u{1f6a7}", [:construction]),
34
+ self.new("\u{1f3ea}", [:convenience_store]),
35
+ self.new("\u{1f38c}", [:crossed_flags]),
36
+ self.new("\u{1f3ec}", [:department_store]),
37
+ self.new("\u{1f3f0}", [:european_castle]),
38
+ self.new("\u{1f3e4}", [:european_post_office]),
39
+ self.new("\u{1f3ed}", [:factory]),
40
+ self.new("\u{1f3a1}", [:ferris_wheel]),
41
+ self.new("\u{1f692}", [:fire_engine]),
42
+ self.new("\u{26f2}" , [:fountain]),
43
+ self.new("\u{26fd}" , [:fuelpump]),
44
+ self.new("\u{1f681}", [:helicopter]),
45
+ self.new("\u{1f3e5}", [:hospital]),
46
+ self.new("\u{1f3e8}", [:hotel]),
47
+ self.new("\u{2668}" , [:hotsprings]),
48
+ self.new("\u{1f3e0}", [:house]),
49
+ self.new("\u{1f3e1}", [:house_with_garden]),
50
+ self.new("\u{1f5fe}", [:japan]),
51
+ self.new("\u{1f3ef}", [:japanese_castle]),
52
+ self.new("\u{1f688}", [:light_rail]),
53
+ self.new("\u{1f3e9}", [:love_hotel]),
54
+ self.new("\u{1f690}", [:minibus]),
55
+ self.new("\u{1f69d}", [:monorail]),
56
+ self.new("\u{1f5fb}", [:mount_fuji]),
57
+ self.new("\u{1f6a0}", [:mountain_cableway]),
58
+ self.new("\u{1f69e}", [:mountain_railway]),
59
+ self.new("\u{1f5ff}", [:moyai]),
60
+ self.new("\u{1f3e2}", [:office]),
61
+ self.new("\u{1f698}", [:oncoming_automobile]),
62
+ self.new("\u{1f68d}", [:oncoming_bus]),
63
+ self.new("\u{1f694}", [:oncoming_police_car]),
64
+ self.new("\u{1f696}", [:oncoming_taxi]),
65
+ self.new("\u{1f3ad}", [:performing_arts]),
66
+ self.new("\u{1f693}", [:police_car]),
67
+ self.new("\u{1f3e3}", [:post_office]),
68
+ self.new("\u{1f683}", [:railway_car, :train]),
69
+ self.new("\u{1f308}", [:rainbow]),
70
+ self.new("\u{1f680}", [:rocket]),
71
+ self.new("\u{1f3a2}", [:roller_coaster]),
72
+ self.new("\u{1f6a8}", [:rotating_light]),
73
+ self.new("\u{1f4cd}", [:round_pushpin]),
74
+ self.new("\u{1f6a3}", [:rowboat]),
75
+ self.new("\u{1f3eb}", [:school]),
76
+ self.new("\u{1f6a2}", [:ship]),
77
+ self.new("\u{1f3b0}", [:slot_machine]),
78
+ self.new("\u{1f6a4}", [:speedboat]),
79
+ self.new("\u{1f303}", [:stars]),
80
+ self.new("\u{1f689}", [:station]),
81
+ self.new("\u{1f5fd}", [:statue_of_liberty]),
82
+ self.new("\u{1f682}", [:steam_locomotive]),
83
+ self.new("\u{1f305}", [:sunrise]),
84
+ self.new("\u{1f304}", [:sunrise_over_mountains]),
85
+ self.new("\u{1f69f}", [:suspension_railway]),
86
+ self.new("\u{1f695}", [:taxi]),
87
+ self.new("\u{26fa}" , [:tent]),
88
+ self.new("\u{1f3ab}", [:ticket]),
89
+ self.new("\u{1f5fc}", [:tokyo_tower]),
90
+ self.new("\u{1f69c}", [:tractor]),
91
+ self.new("\u{1f6a5}", [:traffic_light]),
92
+ self.new("\u{1f686}", [:train2]),
93
+ self.new("\u{1f68a}", [:tram]),
94
+ self.new("\u{1f6a9}", [:triangular_flag_on_post]),
95
+ self.new("\u{1f68e}", [:trolleybus]),
96
+ self.new("\u{1f69a}", [:truck]),
97
+ self.new("\u{1f6a6}", [:vertical_traffic_light]),
98
+ self.new("\u{26a0}" , [:warning]),
99
+ self.new("\u{1f492}", [:wedding]),
100
+ # Regional Indicator Symbols
101
+ self.new("\u{1f1ef}\u{1f1f5}", [:jp], "REGIONAL INDICATOR SYMBOL LETTERS JP"),
102
+ self.new("\u{1f1f0}\u{1f1f7}", [:kr], "REGIONAL INDICATOR SYMBOL LETTERS KR"),
103
+ self.new("\u{1f1e8}\u{1f1f3}", [:cn], "REGIONAL INDICATOR SYMBOL LETTERS CN"),
104
+ self.new("\u{1f1fa}\u{1f1f8}", [:us], "REGIONAL INDICATOR SYMBOL LETTERS US"),
105
+ self.new("\u{1f1eb}\u{1f1f7}", [:fr], "REGIONAL INDICATOR SYMBOL LETTERS FR"),
106
+ self.new("\u{1f1ea}\u{1f1f8}", [:es], "REGIONAL INDICATOR SYMBOL LETTERS ES"),
107
+ self.new("\u{1f1ee}\u{1f1f9}", [:it], "REGIONAL INDICATOR SYMBOL LETTERS IT"),
108
+ self.new("\u{1f1f7}\u{1f1fa}", [:ru], "REGIONAL INDICATOR SYMBOL LETTERS RU"),
109
+ self.new("\u{1f1ec}\u{1f1e7}", [:gb, :uk], "REGIONAL INDICATOR SYMBOL LETTERS GB"),
110
+ self.new("\u{1f1e9}\u{1f1ea}", [:de], "REGIONAL INDICATOR SYMBOL LETTERS DE"),
111
+ ]
112
+ end
113
+ end