Skip to content

Commit

Permalink
Unicode 10 characters & keywords
Browse files Browse the repository at this point in the history
Better support for (skintone-less) unicode 10 emojis in following categories:
- persons
- clothes
- hand gestures
  • Loading branch information
maoschanz authored Feb 24, 2018
1 parent 6742485 commit fc48322
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 20 deletions.
28 changes: 20 additions & 8 deletions emojisCharacters.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,35 @@ let ALL = [
'😷','🤒','🤕','🤢','🤮','🤧','😇','🤠','🤡','🤥',
'🤫','🤭','🧐','🤓','😈','👿','👹','👺','💀','☠',
'👻','👽','👾','🤖','💩','😺','😸','😹','😻','😼',
'😽','🙀','😿','😾','🙈','🙉','🙊','👶',/*skins skipped*/'👦','👧',
'👨','👩','👴','👵',/*'👨‍⚕️'etc.,*/'👮','🕵','💂','👷','🤴',
'👸','👳','👲','🧕','👱','🤵','👰','🤰','👼','🎅',
'🤶',/*skip*/'🙍','🙎','🙅','🙆','💁','🙋','🙇','🤦','🤷',
'😽','🙀','😿','😾','🙈','🙉','🙊',
/* "person" (skin tones not included for now) */
'👶','🧒','👦','👧','🧑','👨','👩','🧓','👴','👵',
'👨‍⚕️','👩‍⚕️','👨‍🎓','👩‍🎓','👨‍🏫','👩‍🏫','👨‍⚖️','👩‍⚖️','👨‍🌾','👩‍🌾',
'👨‍🍳','👩‍🍳','👨‍🔧','👩‍🔧','👨‍🏭','👩‍🏭','👨‍💼','👩‍💼','👨‍🔬','👩‍🔬',
'👨‍💻','👩‍💻','👨‍🎤','👩‍🎤','👨‍🎨','👩‍🎨','👨‍✈️','👩‍✈️','👨‍🚀','👩‍🚀',
'👨‍🚒','👩‍🚒','👮','👮‍♀️','🕵','🕵️‍♀️','💂','💂‍♀️','👷','👷‍♀️',
'🤴','👸','👳','👳‍♀️','👲','🧕','🧔','👱','👱‍♀️','🤵',
'👰','🤰','🤱',
//person (fantasy)
'👼','🎅','🤶','🧙','🧚','🧛','🧜','🧝','🧞','🧟',
//person (gesture)
'🙍','🙎','🙅','🙆','💁','🙋','🙇','🤦','🤷',
'🙍‍♂️','🙎‍♂️','🙅‍♂️','🙆‍♂️','💁‍♂️','🙋‍♂️','🙇‍♀️','🤦‍♂️','🤷‍♂️',
'💆','💇','🚶','🏃','💃','🕺','👯',/**/'🛀','🛌','🕴',
'💆‍♂️','💇‍♂️','🚶‍♀️','🏃‍♀️','🧖','🧗','🧘',
'🗣','👤','👥',
//-----family
'👫','👬','👭','💏','💑','👪',
//-----body
'🤳','💪',
'👈','👉','☝','👆','🖕','👇','✌','🤞','🖖','🤘',
'🤙','🖐','✋','👌','👍','👎','✊','👊','🤛','🤜',
'🤚','👋','✍','👏','👐','🙌','🙏','🤝','💅','👂',
'👃','👣','👀','👁','👁️‍🗨️','👅','👄',
'🤚','👋','🤟','✍','👏','👐','🙌','🤲','🙏','🤝','💅','👂',
'👃','👣','👀','👁','👁️‍🗨️','🧠','👅','👄',
//-----clothing
'👓','🕶','👔',
'👕','👖','👗','👘','👙','👚','👛','👜','👝','🛍',
'🎒','👞','👟','👠','👡','👢','👑','👒','🎩','🎓',
'👕','👖','🧣','🧤','🧥','🧦','👗','👘','👙','👚','👛','👜','👝','🛍',
'🎒','👞','👟','👠','👡','👢','👑','👒','🎩','🎓','🧢',
'⛑','📿','💄','💍','💎'
], [
//-----animal
Expand Down Expand Up @@ -163,6 +174,7 @@ let ALL = [
//-----emotion
'💋','💘','❤',
'💓','💔','💕','💖','💗','💙','💚','💛','💜','🖤',
'🧡',
'💝','💞','💟','❣','💌','💤','💢','💣','💥','💦',
'💨','💫','💬','🗨','🗯','💭','🕳',
//music and sound
Expand Down
110 changes: 98 additions & 12 deletions emojisKeywords.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,33 +121,91 @@ let ALL_KEYWORDS = [
['see-no-evil monkey', 'evil', 'forbidden', 'gesture', 'monkey', 'no', 'not', 'prohibited', 'see'],
['hear-no-evil monkey', 'evil', 'forbidden', 'gesture', 'hear', 'monkey', 'no', 'not', 'prohibited'],
['speak-no-evil monkey', 'evil', 'forbidden', 'gesture', 'monkey', 'no', 'not', 'prohibited', 'speak'],


['baby', 'baby', 'young'],
['child', 'young'],
['boy', 'boy', 'young'],
['girl', 'virgo', 'young', 'zodiac'],
//-------------
['man', 'man'],
['woman', 'woman'],
['adult', 'man', 'young'],
['man'],
['woman'],
['older adult', 'adult', 'old'],
['old man', 'man', 'old'],
['old woman', 'old', 'woman'],
//['man health worker', 'doctor', 'healthcare', 'man', 'nurse', 'therapist'],
//-------------
['man health worker', 'doctor', 'healthcare', 'nurse', 'therapist'],
['woman health worker', 'doctor', 'healthcare', 'nurse', 'therapist'],
['man student', 'student', 'university'],
['woman student', 'student', 'university'],
['man teacher', 'teacher'],
['woman teacher', 'teacher'],
['man judge', 'judge'],
['woman judge', 'judge'],
['man farmer', 'farmer'],
['woman farmer', 'farmer'],
//-------------
['man cook', 'cook'],
['woman cook', 'cook'],
['man mechanic', 'mechanic'],
['woman mechanic', 'mechanic'],
['man factory worker', 'factory', 'factory worker'],
['woman factory worker', 'factory', 'factory worker'],
['man office worker', 'office', 'office worker'],
['woman office worker', 'office', 'office worker'],
['man scientist', 'scientist'],
['woman scientist', 'scientist'],
//-------------
['man technologist', 'technologist', 'hacker', 'matrix', 'computing'],
['woman technologist', 'technologist', 'hacker', 'matrix', 'computing'],
['man singer', 'singer', 'rock', 'music'],
['woman singer', 'singer', 'rock', 'music'],
['man artist', 'artist'],
['woman artist', 'artist'],
['man pilot', 'pilot'],
['woman pilot', 'pilot'],
['man astronaut', 'astronaut', 'cosmonaut', 'spationaut'],
['woman astronaut', 'astronaut', 'cosmonaut', 'spationaut'],
//------------
['man firefighter', 'firefighter', 'fireman'],
['woman firefighter', 'firefighter', 'firewoman'],
['police officer', 'cop', 'officer', 'police'],
['woman police officer', 'cop', 'officer', 'police'],
['detective', 'detective', 'sleuth', 'spy'],
['guard', 'guard'],
['woman detective', 'detective', 'sleuth', 'spy'],
['guard', 'royal guard'],
['woman guard', 'guard', 'royal guard'],
['construction worker', 'construction', 'hat', 'worker'],
['prince'],
['woman construction worker', 'construction', 'hat', 'worker'],
//-------------
['prince', 'king'],
['princess', 'fairy tale', 'fantasy'],
['person wearing turban', 'turban'],
['man with chinese cap', 'gua pi mao', 'hat', 'man', 'chinese'],
['woman wearing turban', 'turban'],
['man with chinese cap', 'gua pi mao', 'hat', 'chinese'],
['woman with headscarf', 'headscarf', 'hijab', 'mantilla', 'tichel', 'bandana', 'head kerchief'],
['bearded person', 'beard'],
['blond-haired person', 'blond'],
['man in tuxedo', 'groom', 'man', 'tuxedo'],
['blond-haired woman', 'blond'],
//missing unicode 11 items FIXME
['man in tuxedo', 'groom', 'tuxedo', 'wedding'],
//-------------
['bride with veil', 'bride', 'veil', 'wedding'],
['pregnant woman', 'pregnant', 'woman'],
['baby angel', 'angel', 'baby', 'fairy tale', 'fantasy'],
['breast-feeding', 'breast', 'woman', 'baby', 'milk'],
//------------person (fantasy)
['baby angel', 'angel', 'baby', 'fantasy'],
['santa claus', 'christmas', 'celebration', 'claus', 'father', 'santa'],
//-------------
['mrs. claus', 'christmas', 'mrs.', 'celebration', 'claus', 'mother'],
//missing unicode 11 items FIXME
['mage', 'magus', 'wizard', 'fantasy'],
['fairy', 'pixy', 'fantasy'],
['vampire', 'blood', 'fantasy'],
['mermaid', 'merperson', 'sea'],
['elf', 'fantasy'],
['genie', 'wish', 'jinn'],
['zombie'],
//------------person (gesture)
['person frowning', 'frown', 'gesture'],
['person pouting', 'gesture', 'pouting'],
['person gesturing no', 'forbidden', 'gesture', 'hand', 'no', 'not', 'prohibited'],
Expand All @@ -158,6 +216,16 @@ let ALL_KEYWORDS = [
['person facepalming', 'disbelief', 'exasperation', 'palm'],
['person shrugging', 'doubt', 'ignorance', 'indifference', 'shrug'],
//-------------
['man frowning', 'frown', 'gesture'],
['man pouting', 'gesture', 'pouting'],
['man gesturing no', 'forbidden', 'gesture', 'hand', 'no', 'not', 'prohibited'],
['man gesturing ok', 'ok', 'ok', 'gesture', 'hand'],
['man tipping hand', 'hand', 'help', 'information', 'sassy', 'tipping'],
['man raising hand', 'gesture', 'hand', 'happy', 'raised'],
['woman bowing', 'apology', 'bow', 'gesture', 'sorry'],
['man facepalming', 'disbelief', 'exasperation', 'palm'],
['man shrugging', 'doubt', 'ignorance', 'indifference', 'shrug'],
//-------------
['person getting massage', 'massage', 'salon'],
['person getting haircut', 'barber', 'beauty', 'haircut', 'parlor'],
['person walking', 'hike', 'walk', 'walking'],
Expand All @@ -167,7 +235,15 @@ let ALL_KEYWORDS = [
['people with bunny ears partying', 'bunny ear', 'dancer', 'partying'],
['person taking bath', 'bath', 'bathtub'],
['person in bed', 'hotel', 'sleep', 'bed'],
['man in business suit levitating', 'business', 'man', 'suit'],
['man in business suit levitating', 'business', 'suit'],
//-------------
['man getting massage', 'massage', 'salon'],
['man getting haircut', 'barber', 'beauty', 'haircut', 'parlor'],
['woman walking', 'hike', 'walk', 'walking'],
['woman running', 'marathon', 'running'],
['person in steamy room', 'steam', 'sauna'],
['person climbing', 'climbing', 'cliff'],
['person in lotus position', 'yoga', 'lotus'],
//-------------
['speaking head', 'head', 'silhouette', 'speak', 'speaking'],
['bust in silhouette', 'bust', 'silhouette'],
Expand Down Expand Up @@ -210,10 +286,12 @@ let ALL_KEYWORDS = [
//-------------
['raised back of hand', 'backhand', 'raised'],
['waving hand', 'hand', 'wave', 'waving'],
['love-you gesture', 'hand', 'love'],
['writing hand', 'hand', 'write'],
['clapping hands', 'clap', 'hand'],
['open hands', 'hand', 'open'],
['raising hands', 'celebration', 'gesture', 'hand', 'hooray', 'raised'],
['palms up together', 'hand'],
['folded hands', 'ask', 'bow', 'folded', 'gesture', 'hand', 'please', 'pray', 'thanks'],
['handshake', 'agreement', 'hand', 'handshake', 'meeting', 'shake'],
['nail polish', 'care', 'cosmetics', 'manicure', 'nail', 'polish'],
Expand All @@ -224,6 +302,7 @@ let ALL_KEYWORDS = [
['eyes', 'eye'],
['eye', 'body'],
['eye in speech bubble', 'eye', 'speech bubble', 'witness'],
['brain', 'body'],
['tongue', 'body'],
['mouth', 'lips'],

Expand All @@ -234,8 +313,12 @@ let ALL_KEYWORDS = [
//-------------
['t-shirt', 'clothing', 'shirt', 'tshirt'],
['jeans', 'clothing', 'pants', 'trousers'],
['dress', 'clothing'],
['scarf', 'clothing'],
['gloves', 'clothing'],
['coat', 'clothing'],
['socks', 'clothing'],
['kimono', 'clothing'],
['dress', 'clothing'],
['bikini', 'clothing', 'swim'],
['woman’s clothes', 'clothing', 'woman'],
['purse', 'clothing', 'coin'],
Expand All @@ -253,6 +336,7 @@ let ALL_KEYWORDS = [
['woman’s hat', 'clothing', 'hat', 'woman'],
['top hat', 'clothing', 'hat', 'top', 'tophat'],
['graduation cap', 'cap', 'celebration', 'clothing', 'graduation', 'hat'],
['billed cap', 'cap', 'clothing', 'hat'],
//-------------
['rescue worker’s helmet', 'aid', 'cross', 'hat', 'helmet'],
['prayer beads', 'beads', 'clothing', 'necklace', 'prayer', 'religion'],
Expand Down Expand Up @@ -1114,6 +1198,8 @@ let ALL_KEYWORDS = [
['yellow heart', 'yellow', 'heart'],
['purple heart', 'purple', 'heart'],
['black heart', 'heart', 'black', 'evil', 'wicked'],

['orange heart', 'heart', 'orange'],
//-------------
['heart with ribbon', 'ribbon', 'valentine'],
['revolving hearts', 'revolving', 'heart'],
Expand Down

1 comment on commit fc48322

@maoschanz
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(issue #28)

Please sign in to comment.