Merge branch 'master' of ssh://the-cake-is-a-lie.net:20022/jonas/NLP-LAB

This commit is contained in:
Jonas Weinz 2018-06-04 20:37:44 +02:00
commit 4941cb5f85
4 changed files with 2391 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,45 @@
Icon,Emoji,Meaning
(>_<)(>_<)>,😣😖,Troubled[19][20]
(';'),👶,Baby[19]
(^^ゞ(^_^;)(-_-;)(~_~;) (・.・;)(・_・;)(・・;) ^^;^_^;(#^.^#)(^^;),😅😳😓😥,"Nervous, embarrassed,[19] troubled, shy,[20] sweat drop[7]"
(^.^)y-.o○(-.-)y-°°°,🚬,Smoking[19]
(-_-)zzz,😴💤,Sleeping[19]
(^_-)(^_-)-☆,😉😜,Wink[19]
((+_+))(+o+)(°°)(°-°) (°.°)(°_°)(°_°>)(°レ°),😕😶😵🙄,Confused[19]
(o|o),,Ultraman [19]
<(^´)>,,N/A[19]
^_^(°o°)(^_^)/(^O^)(^o^)(^^)/ (≧∇≦)/(/◕ヮ◕)/(^o^)丿∩(·ω·)∩(·ω·)^ω^,😀😅😆😃😄🙌,Joyful[19][20][21]
(__)_(._.)__(_^_)_<(_ _)> <m(__)m>m(__)mm(_ _)m,🙇,"Kowtow as a sign of respect, or dogeza for apology[19][20]"
(°ロ\)(/ロ°),,Questioning[19]
('_')(/_;)(T_T) (;_;)(;_;(;_:)(;O;)(:_;)(ToT)(T▽T) ;_;;-;;n;;;Q.QT.TTnTQQQ_Q,😭😢,"Sad, crying[10][19][20]"
(ー_ー)!!(-.-)(-_-)(一一)(一_一),😒😩😑😞😔,Shame[19]
(=_=),😫😩😪,Tired[19]
(=^·^=)(=^··^=)=_^=,😺😸😹😻😼😽🙀😿😾🐱,Cat[19][21]
(..)(._.),🙍😔,Looking down[19]
^m^,,Giggling with hand covering mouth[19]
(・・?(?_?),😕😵,Confusion[19]
(-‸ლ),🤦,Facepalm [22]
>^_^<<^!^>^/^*^_^*)§^.^§(^<^) (^.^)(^ム^)(^·^)(^.^)(^_^.)(^_^)(^^) (^J^)(*^.^*)^_^(#^.^#)^—^,😃😄☺️😁😀😍,Normal laugh[19]
(^^)/~~~(^_^)/~(;_;)/~~~(^.^)/~~~(-_-)/~~~ ($··)/~~~(@^^)/~~~(T_T)/~~~(ToT)/~~~,👋,Waving[19]
(V)o¥o(V),👽👾,Alien Baltan[19]
(~o~)(^o^)(-o-) ヽ(^。^)ノヽ(^o^)丿(*^0^*),😍😀🙌💃,Excited[19]
(*_*)(*_*;(+_+) (@_@)(@_@。(_;)(◎o◎),😍,Amazed[19]
!(^^)!,,N/A[19]
(*^^)v(^^)v(^_^)v-*) ()(^▽^)(・∀・)(´∀`)(⌒▽⌒),😂✌️,"Laughing, cheerful[19][20]"
(~o~)(~_~),😔😒😏,N/A [19]
(^^ゞ,😙😚,N/A [19]
(p_-),,N/A [19]
((d[-_-]b)),🎧,"Headphones, listening to music[19]"
"(-""-)(ーー゛)(^_^メ)(-_-メ)(~_~メ)(--〆) (・へ・)(´)<`´><`ヘ´>(ーー;)",😟😓😬,Worried[19][20]
(^0_0^),😎🤓,Eyeglasses[19]
( ..)φφ(..),,Jotting note[19]
(●o●)()()(^◇^) ( ^)o(^ )(^O^)(^o^)(^○^))^o^( (*^▽^*)(✿◠‿◠),😀😁😆😅😃😄,Happy[19][20]
( ̄ー ̄),😁,Grinning[20]
( ̄□ ̄;)°o°°O°:O o_Oo_0o.O(o.o)oO,😲😮😯,Surprised[3][20]
(*´▽`*)(*°∀°)=3,,Infatuation[20]
゚ Д゚)(°◇°),😨😱😮😲,"Shocked, surprised[20]"
(* ̄m ̄),😬😠😡,Dissatisfied[20]
ヽ(´ー`)┌¯\_(ツ)_/¯,,"Mellow, shrug[20]"
(´・ω・`)(A`),,Snubbed or deflated[20]
(*^3^)/~☆,😘😚😙😗,Blowing a kiss[23]
.....φ(・∀・*),,Studying is good[23]
1 Icon Emoji Meaning
2 (>_<)(>_<)> 😣😖 Troubled[19][20]
3 (';') 👶 Baby[19]
4 (^^ゞ(^_^;)(-_-;)(~_~;) (・.・;)(・_・;)(・・;) ^^;^_^;(#^.^#)(^^;) 😅😳😓😥 Nervous, embarrassed,[19] troubled, shy,[20] sweat drop[7]
5 (^.^)y-.o○(-.-)y-°°° 🚬 Smoking[19]
6 (-_-)zzz 😴💤 Sleeping[19]
7 (^_-)(^_-)-☆ 😉😜 Wink[19]
8 ((+_+))(+o+)(°°)(°-°) (°.°)(°_°)(°_°>)(°レ°) 😕😶😵🙄 Confused[19]
9 (o|o) Ultraman [19]
10 <(`^´)> N/A[19]
11 ^_^(°o°)(^_^)/(^O^)/(^o^)/(^^)/ (≧∇≦)/(/◕ヮ◕)/(^o^)丿∩(·ω·)∩(·ω·)^ω^ 😀😅😆😃😄🙌 Joyful[19][20][21]
12 (__)_(._.)__(_^_)_<(_ _)> <m(__)m>m(__)mm(_ _)m 🙇 Kowtow as a sign of respect, or dogeza for apology[19][20]
13 \(°ロ\)(/ロ°)/ Questioning[19]
14 ('_')(/_;)(T_T) (;_;)(;_;(;_:)(;O;)(:_;)(ToT)(T▽T) ;_;;-;;n;;;Q.QT.TTnTQQQ_Q 😭😢 Sad, crying[10][19][20]
15 (ー_ー)!!(-.-)(-_-)(一一)(;一_一) 😒😩😑😞😔 Shame[19]
16 (=_=) 😫😩😪 Tired[19]
17 (=^·^=)(=^··^=)=_^= 😺😸😹😻😼😽🙀😿😾🐱 Cat[19][21]
18 (..)(._.) 🙍😔 Looking down[19]
19 ^m^ Giggling with hand covering mouth[19]
20 (・・?(?_?) 😕😵 Confusion[19]
21 (-‸ლ) 🤦 Facepalm [22]
22 >^_^<<^!^>^/^(*^_^*)§^.^§(^<^) (^.^)(^ム^)(^·^)(^.^)(^_^.)(^_^)(^^) (^J^)(*^.^*)^_^(#^.^#)(^—^) 😃😄☺️😁😀😍 Normal laugh[19]
23 (^^)/~~~(^_^)/~(;_;)/~~~(^.^)/~~~(-_-)/~~~ ($··)/~~~(@^^)/~~~(T_T)/~~~(ToT)/~~~ 👋 Waving[19]
24 (V)o¥o(V) 👽👾 Alien Baltan[19]
25 \(~o~)/\(^o^)/\(-o-)/ ヽ(^。^)ノヽ(^o^)丿(*^0^*) 😍😀🙌💃 Excited[19]
26 (*_*)(*_*;(+_+) (@_@)(@_@。(@_@;)\(◎o◎)/! 😍 Amazed[19]
27 !(^^)! N/A[19]
28 (*^^)v(^^)v(^_^)v(’-’*) (^v^)(^▽^)(・∀・)(´∀`)(⌒▽⌒) 😂✌️ Laughing, cheerful[19][20]
29 (~o~)(~_~) 😔😒😏 N/A [19]
30 (^^ゞ 😙😚 N/A [19]
31 (p_-) N/A [19]
32 ((d[-_-]b)) 🎧 Headphones, listening to music[19]
33 (-"-)(ーー゛)(^_^メ)(-_-メ)(~_~メ)(--〆) (・へ・)(`´)<`~´><`ヘ´>(ーー;) 😟😓😬 Worried[19][20]
34 (^0_0^) 😎🤓 Eyeglasses[19]
35 ( ..)φφ(..) Jotting note[19]
36 (●^o^●)(^v^)(^u^)(^◇^) ( ^)o(^ )(^O^)(^o^)(^○^))^o^( (*^▽^*)(✿◠‿◠) 😀😁😆😅😃😄 Happy[19][20]
37 ( ̄ー ̄) 😁 Grinning[20]
38 ( ̄□ ̄;)°o°°O°:O o_Oo_0o.O(o.o)oO 😲😮😯 Surprised[3][20]
39 (*´▽`*)(*°∀°)=3 Infatuation[20]
40 ( ゚ Д゚)(°◇°) 😨😱😮😲 Shocked, surprised[20]
41 (* ̄m ̄) 😬😠😡 Dissatisfied[20]
42 ヽ(´ー`)┌¯\_(ツ)_/¯ Mellow, shrug[20]
43 (´・ω・`)(‘A`) Snubbed or deflated[20]
44 (*^3^)/~☆ 😘😚😙😗 Blowing a kiss[23]
45 .....φ(・∀・*) Studying is good[23]

View File

@ -0,0 +1,26 @@
Icon,Icon,Icon,Icon,Icon,Icon,Icon,Icon,Icon,Icon,Icon,Emoji,Meaning
:) :),:-] :],:-3 :3,:-> :>,8-) 8),:-} :},:o),:c),:^),=],=),☺️🙂😊😀😁,Smiley or happy face.[4][5][6]
:D :D,8D 8D,xD xD,XD XD,=D,=3,B^D,,,,,😃😄😆😍,"Laughing,[4] big grin,[5][6] laugh with glasses,[7] or wide-eyed surprise[8]"
:-)),:-)),:-)),:-)),:-)),:-)),:-)),:-)),:-)),:-)),:-)),,Very happy or double chin[7]
:( :(,:c :c,:< :<,:[ :[,:-||,>:[,:{,:@,>:(,,,☹️🙁😠😡😞😟😣😖,"Frown,[4][5][6] sad,[9] angry,[7] pouting"
:'( :'(,:'( :'(,:'( :'(,:'( :'(,:'( :'(,:'( :'(,:'( :'(,:'( :'(,:'( :'(,:'( :'(,:'( :'(,😢😭,Crying[9]
:') :'),:') :'),:') :'),:') :'),:') :'),:') :'),:') :'),:') :'),:') :'),:') :'),:') :'),😂,Tears of happiness[9]
D':,D:<,D:,D8,D;,D=,DX,,,,,😨😧😦😱😫😩,"Horror, disgust, sadness, great dismay[5][6] (right to left)"
:O :O,:o :o,:-0,80,>:O,,,,,,,😮😯😲,"Surprise,[3] shock,[4][10] yawn[11]"
:-* :*,:×,,,,,,,,,,😗😙😚😘😍,Kiss
;) ;),*-) *),;] ;],;^),":,",;D,,,,,,😉😜😘,"Wink,[4][5][6] smirk[10][11]"
:P :P,XP XP,xp xp,:p :p,:‑Þ :Þ,:‑þ :þ,:b :b,d:,=p,>:P,,😛😝😜🤑,"Tongue sticking out, cheeky/playful,[4] blowing a raspberry"
:/ :/,:.,>:\,>:/,:\,=/,=\,:L,=L,:S,,🤔😕😟,"Skeptical, annoyed, undecided, uneasy, hesitant[4]"
:| :|,,,,,,,,,,,😐😑,"Straight face[5] no expression, indecision[9]"
:$,,,,,,,,,,,😳😞😖,"Embarrassed,[6] blushing[7]"
:X :X,:# :#,:& :&,,,,,,,,,🤐😶,"Sealed lips or wearing braces,[4] tongue-tied[9]"
O:) O:),0:3 0:3,0:) 0:),0;^),,,,,,,,😇👼,"Angel,[4][5][10] saint,[9] innocent"
>:) >:),}:) }:),3:) 3:),>;),,,,,,,,😈,"Evil,[5] devilish[9]"
|;),|O,,,,,,,,,,😎😪,"Cool,[9] bored/yawning[10]"
:J,:J,:J,:J,:J,:J,:J,:J,:J,:J,:J,😏😒,Tongue-in-cheek[12]
#),#),#),#),#),#),#),#),#),#),#),—,Partied all night[9]
%) %),%) %),%) %),%) %),%) %),%) %),%) %),%) %),%) %),%) %),%) %),😵😕🤕,"Drunk,[9] confused"
:###.. :###..,:###.. :###..,:###.. :###..,:###.. :###..,:###.. :###..,:###.. :###..,:###.. :###..,:###.. :###..,:###.. :###..,:###.. :###..,:###.. :###..,🤒😷🤢,Being sick[9]
<:|,<:|,<:|,<:|,<:|,<:|,<:|,<:|,<:|,<:|,<:|,—,"Dumb, dunce-like[10]"
"',:-|","',:-l",,,,,,,,,,🤨,"Scepticism, disbelief, or disapproval[13][14]"
<_<,>_>,,,,,,,,,,,Sideways look. Devious or guilty.
1 Icon Icon Icon Icon Icon Icon Icon Icon Icon Icon Icon Emoji Meaning
2 :‑) :) :-] :] :-3 :3 :-> :> 8-) 8) :-} :} :o) :c) :^) =] =) ☺️🙂😊😀😁 Smiley or happy face.[4][5][6]
3 :‑D :D 8‑D 8D x‑D xD X‑D XD =D =3 B^D 😃😄😆😍 Laughing,[4] big grin,[5][6] laugh with glasses,[7] or wide-eyed surprise[8]
4 :-)) :-)) :-)) :-)) :-)) :-)) :-)) :-)) :-)) :-)) :-)) Very happy or double chin[7]
5 :‑( :( :‑c :c :‑< :< :‑[ :[ :-|| >:[ :{ :@ >:( ☹️🙁😠😡😞😟😣😖 Frown,[4][5][6] sad,[9] angry,[7] pouting
6 :'‑( :'( :'‑( :'( :'‑( :'( :'‑( :'( :'‑( :'( :'‑( :'( :'‑( :'( :'‑( :'( :'‑( :'( :'‑( :'( :'‑( :'( 😢😭 Crying[9]
7 :'‑) :') :'‑) :') :'‑) :') :'‑) :') :'‑) :') :'‑) :') :'‑) :') :'‑) :') :'‑) :') :'‑) :') :'‑) :') 😂 Tears of happiness[9]
8 D‑': D:< D: D8 D; D= DX 😨😧😦😱😫😩 Horror, disgust, sadness, great dismay[5][6] (right to left)
9 :‑O :O :‑o :o :-0 8‑0 >:O 😮😯😲 Surprise,[3] shock,[4][10] yawn[11]
10 :-* :* 😗😙😚😘😍 Kiss
11 ;‑) ;) *-) *) ;‑] ;] ;^) :‑, ;D 😉😜😘 Wink,[4][5][6] smirk[10][11]
12 :‑P :P X‑P XP x‑p xp :‑p :p :‑Þ :Þ :‑þ :þ :‑b :b d: =p >:P 😛😝😜🤑 Tongue sticking out, cheeky/playful,[4] blowing a raspberry
13 :‑/ :/ :‑. >:\ >:/ :\ =/ =\ :L =L :S 🤔😕😟 Skeptical, annoyed, undecided, uneasy, hesitant[4]
14 :‑| :| 😐😑 Straight face[5] no expression, indecision[9]
15 :$ 😳😞😖 Embarrassed,[6] blushing[7]
16 :‑X :X :‑# :# :‑& :& 🤐😶 Sealed lips or wearing braces,[4] tongue-tied[9]
17 O:‑) O:) 0:‑3 0:3 0:‑) 0:) 0;^) 😇👼 Angel,[4][5][10] saint,[9] innocent
18 >:‑) >:) }:‑) }:) 3:‑) 3:) >;) 😈 Evil,[5] devilish[9]
19 |;‑) |‑O 😎😪 Cool,[9] bored/yawning[10]
20 :‑J :‑J :‑J :‑J :‑J :‑J :‑J :‑J :‑J :‑J :‑J 😏😒 Tongue-in-cheek[12]
21 #‑) #‑) #‑) #‑) #‑) #‑) #‑) #‑) #‑) #‑) #‑) Partied all night[9]
22 %‑) %) %‑) %) %‑) %) %‑) %) %‑) %) %‑) %) %‑) %) %‑) %) %‑) %) %‑) %) %‑) %) 😵😕🤕 Drunk,[9] confused
23 :‑###.. :###.. :‑###.. :###.. :‑###.. :###.. :‑###.. :###.. :‑###.. :###.. :‑###.. :###.. :‑###.. :###.. :‑###.. :###.. :‑###.. :###.. :‑###.. :###.. :‑###.. :###.. 🤒😷🤢 Being sick[9]
24 <:‑| <:‑| <:‑| <:‑| <:‑| <:‑| <:‑| <:‑| <:‑| <:‑| <:‑| Dumb, dunce-like[10]
25 ',:-| ',:-l 🤨 Scepticism, disbelief, or disapproval[13][14]
26 <_< >_> Sideways look. Devious or guilty.

View File

@ -0,0 +1,999 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Emoticon Emoji Assignment\n",
"https://en.wikipedia.org/wiki/List_of_emoticons\n",
"download of eastern and western table as csv file in project git folder"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import pandas as pd\n",
"import math"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style>\n",
" .dataframe thead tr:only-child th {\n",
" text-align: right;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: left;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>icon0</th>\n",
" <th>icon1</th>\n",
" <th>icon2</th>\n",
" <th>icon3</th>\n",
" <th>icon4</th>\n",
" <th>icon5</th>\n",
" <th>icon6</th>\n",
" <th>icon7</th>\n",
" <th>icon8</th>\n",
" <th>icon9</th>\n",
" <th>icon10</th>\n",
" <th>emoji</th>\n",
" <th>meaning</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>:) :)</td>\n",
" <td>:-] :]</td>\n",
" <td>:-3 :3</td>\n",
" <td>:-&gt; :&gt;</td>\n",
" <td>8-) 8)</td>\n",
" <td>:-} :}</td>\n",
" <td>:o)</td>\n",
" <td>:c)</td>\n",
" <td>:^)</td>\n",
" <td>=]</td>\n",
" <td>=)</td>\n",
" <td>☺️🙂😊😀😁</td>\n",
" <td>Smiley or happy face.[4][5][6]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>:D :D</td>\n",
" <td>8D 8D</td>\n",
" <td>xD xD</td>\n",
" <td>XD XD</td>\n",
" <td>=D</td>\n",
" <td>=3</td>\n",
" <td>B^D</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>😃😄😆😍</td>\n",
" <td>Laughing,[4] big grin,[5][6] laugh with glasse...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>:-))</td>\n",
" <td>:-))</td>\n",
" <td>:-))</td>\n",
" <td>:-))</td>\n",
" <td>:-))</td>\n",
" <td>:-))</td>\n",
" <td>:-))</td>\n",
" <td>:-))</td>\n",
" <td>:-))</td>\n",
" <td>:-))</td>\n",
" <td>:-))</td>\n",
" <td>NaN</td>\n",
" <td>Very happy or double chin[7]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>:( :(</td>\n",
" <td>:c :c</td>\n",
" <td>:&lt; :&lt;</td>\n",
" <td>:[ :[</td>\n",
" <td>:-||</td>\n",
" <td>&gt;:[</td>\n",
" <td>:{</td>\n",
" <td>:@</td>\n",
" <td>&gt;:(</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>☹️🙁😠😡😞😟😣😖</td>\n",
" <td>Frown,[4][5][6] sad,[9] angry,[7] pouting</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>:'( :'(</td>\n",
" <td>:'( :'(</td>\n",
" <td>:'( :'(</td>\n",
" <td>:'( :'(</td>\n",
" <td>:'( :'(</td>\n",
" <td>:'( :'(</td>\n",
" <td>:'( :'(</td>\n",
" <td>:'( :'(</td>\n",
" <td>:'( :'(</td>\n",
" <td>:'( :'(</td>\n",
" <td>:'( :'(</td>\n",
" <td>😢😭</td>\n",
" <td>Crying[9]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>:') :')</td>\n",
" <td>:') :')</td>\n",
" <td>:') :')</td>\n",
" <td>:') :')</td>\n",
" <td>:') :')</td>\n",
" <td>:') :')</td>\n",
" <td>:') :')</td>\n",
" <td>:') :')</td>\n",
" <td>:') :')</td>\n",
" <td>:') :')</td>\n",
" <td>:') :')</td>\n",
" <td>😂</td>\n",
" <td>Tears of happiness[9]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>D':</td>\n",
" <td>D:&lt;</td>\n",
" <td>D:</td>\n",
" <td>D8</td>\n",
" <td>D;</td>\n",
" <td>D=</td>\n",
" <td>DX</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>😨😧😦😱😫😩</td>\n",
" <td>Horror, disgust, sadness, great dismay[5][6] (...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>:O :O</td>\n",
" <td>:o :o</td>\n",
" <td>:-0</td>\n",
" <td>80</td>\n",
" <td>&gt;:O</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>😮😯😲</td>\n",
" <td>Surprise,[3] shock,[4][10] yawn[11]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>:-* :*</td>\n",
" <td>:×</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>😗😙😚😘😍</td>\n",
" <td>Kiss</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>;) ;)</td>\n",
" <td>*-) *)</td>\n",
" <td>;] ;]</td>\n",
" <td>;^)</td>\n",
" <td>:,</td>\n",
" <td>;D</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>😉😜😘</td>\n",
" <td>Wink,[4][5][6] smirk[10][11]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>:P :P</td>\n",
" <td>XP XP</td>\n",
" <td>xp xp</td>\n",
" <td>:p :p</td>\n",
" <td>:‑Þ :Þ</td>\n",
" <td>:‑þ :þ</td>\n",
" <td>:b :b</td>\n",
" <td>d:</td>\n",
" <td>=p</td>\n",
" <td>&gt;:P</td>\n",
" <td>NaN</td>\n",
" <td>😛😝😜🤑</td>\n",
" <td>Tongue sticking out, cheeky/playful,[4] blowin...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>11</th>\n",
" <td>:/ :/</td>\n",
" <td>:.</td>\n",
" <td>&gt;:\\</td>\n",
" <td>&gt;:/</td>\n",
" <td>:\\</td>\n",
" <td>=/</td>\n",
" <td>=\\</td>\n",
" <td>:L</td>\n",
" <td>=L</td>\n",
" <td>:S</td>\n",
" <td>NaN</td>\n",
" <td>🤔😕😟</td>\n",
" <td>Skeptical, annoyed, undecided, uneasy, hesitan...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>12</th>\n",
" <td>:| :|</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>😐😑</td>\n",
" <td>Straight face[5] no expression, indecision[9]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>13</th>\n",
" <td>:$</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>😳😞😖</td>\n",
" <td>Embarrassed,[6] blushing[7]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14</th>\n",
" <td>:X :X</td>\n",
" <td>:# :#</td>\n",
" <td>:&amp; :&amp;</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>🤐😶</td>\n",
" <td>Sealed lips or wearing braces,[4] tongue-tied[9]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15</th>\n",
" <td>O:) O:)</td>\n",
" <td>0:3 0:3</td>\n",
" <td>0:) 0:)</td>\n",
" <td>0;^)</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>😇👼</td>\n",
" <td>Angel,[4][5][10] saint,[9] innocent</td>\n",
" </tr>\n",
" <tr>\n",
" <th>16</th>\n",
" <td>&gt;:) &gt;:)</td>\n",
" <td>}:) }:)</td>\n",
" <td>3:) 3:)</td>\n",
" <td>&gt;;)</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>😈</td>\n",
" <td>Evil,[5] devilish[9]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>17</th>\n",
" <td>|;)</td>\n",
" <td>|O</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>😎😪</td>\n",
" <td>Cool,[9] bored/yawning[10]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>18</th>\n",
" <td>:J</td>\n",
" <td>:J</td>\n",
" <td>:J</td>\n",
" <td>:J</td>\n",
" <td>:J</td>\n",
" <td>:J</td>\n",
" <td>:J</td>\n",
" <td>:J</td>\n",
" <td>:J</td>\n",
" <td>:J</td>\n",
" <td>:J</td>\n",
" <td>😏😒</td>\n",
" <td>Tongue-in-cheek[12]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>19</th>\n",
" <td>#)</td>\n",
" <td>#)</td>\n",
" <td>#)</td>\n",
" <td>#)</td>\n",
" <td>#)</td>\n",
" <td>#)</td>\n",
" <td>#)</td>\n",
" <td>#)</td>\n",
" <td>#)</td>\n",
" <td>#)</td>\n",
" <td>#)</td>\n",
" <td>—</td>\n",
" <td>Partied all night[9]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20</th>\n",
" <td>%) %)</td>\n",
" <td>%) %)</td>\n",
" <td>%) %)</td>\n",
" <td>%) %)</td>\n",
" <td>%) %)</td>\n",
" <td>%) %)</td>\n",
" <td>%) %)</td>\n",
" <td>%) %)</td>\n",
" <td>%) %)</td>\n",
" <td>%) %)</td>\n",
" <td>%) %)</td>\n",
" <td>😵😕🤕</td>\n",
" <td>Drunk,[9] confused</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21</th>\n",
" <td>:###.. :###..</td>\n",
" <td>:###.. :###..</td>\n",
" <td>:###.. :###..</td>\n",
" <td>:###.. :###..</td>\n",
" <td>:###.. :###..</td>\n",
" <td>:###.. :###..</td>\n",
" <td>:###.. :###..</td>\n",
" <td>:###.. :###..</td>\n",
" <td>:###.. :###..</td>\n",
" <td>:###.. :###..</td>\n",
" <td>:###.. :###..</td>\n",
" <td>🤒😷🤢</td>\n",
" <td>Being sick[9]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>22</th>\n",
" <td>&lt;:|</td>\n",
" <td>&lt;:|</td>\n",
" <td>&lt;:|</td>\n",
" <td>&lt;:|</td>\n",
" <td>&lt;:|</td>\n",
" <td>&lt;:|</td>\n",
" <td>&lt;:|</td>\n",
" <td>&lt;:|</td>\n",
" <td>&lt;:|</td>\n",
" <td>&lt;:|</td>\n",
" <td>&lt;:|</td>\n",
" <td>—</td>\n",
" <td>Dumb, dunce-like[10]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>23</th>\n",
" <td>',:-|</td>\n",
" <td>',:-l</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>🤨</td>\n",
" <td>Scepticism, disbelief, or disapproval[13][14]</td>\n",
" </tr>\n",
" <tr>\n",
" <th>24</th>\n",
" <td>&lt;_&lt;</td>\n",
" <td>&gt;_&gt;</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Sideways look. Devious or guilty.</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" icon0 icon1 icon2 icon3 \\\n",
"0 :) :) :-] :] :-3 :3 :-> :> \n",
"1 :D :D 8D 8D xD xD XD XD \n",
"2 :-)) :-)) :-)) :-)) \n",
"3 :( :( :c :c :< :< :[ :[ \n",
"4 :'( :'( :'( :'( :'( :'( :'( :'( \n",
"5 :') :') :') :') :') :') :') :') \n",
"6 D': D:< D: D8 \n",
"7 :O :O :o :o :-0 80 \n",
"8 :-* :* :× NaN NaN \n",
"9 ;) ;) *-) *) ;] ;] ;^) \n",
"10 :P :P XP XP xp xp :p :p \n",
"11 :/ :/ :. >:\\ >:/ \n",
"12 :| :| NaN NaN NaN \n",
"13 :$ NaN NaN NaN \n",
"14 :X :X :# :# :& :& NaN \n",
"15 O:) O:) 0:3 0:3 0:) 0:) 0;^) \n",
"16 >:) >:) }:) }:) 3:) 3:) >;) \n",
"17 |;) |O NaN NaN \n",
"18 :J :J :J :J \n",
"19 #) #) #) #) \n",
"20 %) %) %) %) %) %) %) %) \n",
"21 :###.. :###.. :###.. :###.. :###.. :###.. :###.. :###.. \n",
"22 <:| <:| <:| <:| \n",
"23 ',:-| ',:-l NaN NaN \n",
"24 <_< >_> NaN NaN \n",
"\n",
" icon4 icon5 icon6 icon7 \\\n",
"0 8-) 8) :-} :} :o) :c) \n",
"1 =D =3 B^D NaN \n",
"2 :-)) :-)) :-)) :-)) \n",
"3 :-|| >:[ :{ :@ \n",
"4 :'( :'( :'( :'( :'( :'( :'( :'( \n",
"5 :') :') :') :') :') :') :') :') \n",
"6 D; D= DX NaN \n",
"7 >:O NaN NaN NaN \n",
"8 NaN NaN NaN NaN \n",
"9 :, ;D NaN NaN \n",
"10 :‑Þ :Þ :‑þ :þ :b :b d: \n",
"11 :\\ =/ =\\ :L \n",
"12 NaN NaN NaN NaN \n",
"13 NaN NaN NaN NaN \n",
"14 NaN NaN NaN NaN \n",
"15 NaN NaN NaN NaN \n",
"16 NaN NaN NaN NaN \n",
"17 NaN NaN NaN NaN \n",
"18 :J :J :J :J \n",
"19 #) #) #) #) \n",
"20 %) %) %) %) %) %) %) %) \n",
"21 :###.. :###.. :###.. :###.. :###.. :###.. :###.. :###.. \n",
"22 <:| <:| <:| <:| \n",
"23 NaN NaN NaN NaN \n",
"24 NaN NaN NaN NaN \n",
"\n",
" icon8 icon9 icon10 emoji \\\n",
"0 :^) =] =) ☺️🙂😊😀😁 \n",
"1 NaN NaN NaN 😃😄😆😍 \n",
"2 :-)) :-)) :-)) NaN \n",
"3 >:( NaN NaN ☹️🙁😠😡😞😟😣😖 \n",
"4 :'( :'( :'( :'( :'( :'( 😢😭 \n",
"5 :') :') :') :') :') :') 😂 \n",
"6 NaN NaN NaN 😨😧😦😱😫😩 \n",
"7 NaN NaN NaN 😮😯😲 \n",
"8 NaN NaN NaN 😗😙😚😘😍 \n",
"9 NaN NaN NaN 😉😜😘 \n",
"10 =p >:P NaN 😛😝😜🤑 \n",
"11 =L :S NaN 🤔😕😟 \n",
"12 NaN NaN NaN 😐😑 \n",
"13 NaN NaN NaN 😳😞😖 \n",
"14 NaN NaN NaN 🤐😶 \n",
"15 NaN NaN NaN 😇👼 \n",
"16 NaN NaN NaN 😈 \n",
"17 NaN NaN NaN 😎😪 \n",
"18 :J :J :J 😏😒 \n",
"19 #) #) #) — \n",
"20 %) %) %) %) %) %) 😵😕🤕 \n",
"21 :###.. :###.. :###.. :###.. :###.. :###.. 🤒😷🤢 \n",
"22 <:| <:| <:| — \n",
"23 NaN NaN NaN 🤨 \n",
"24 NaN NaN NaN NaN \n",
"\n",
" meaning \n",
"0 Smiley or happy face.[4][5][6] \n",
"1 Laughing,[4] big grin,[5][6] laugh with glasse... \n",
"2 Very happy or double chin[7] \n",
"3 Frown,[4][5][6] sad,[9] angry,[7] pouting \n",
"4 Crying[9] \n",
"5 Tears of happiness[9] \n",
"6 Horror, disgust, sadness, great dismay[5][6] (... \n",
"7 Surprise,[3] shock,[4][10] yawn[11] \n",
"8 Kiss \n",
"9 Wink,[4][5][6] smirk[10][11] \n",
"10 Tongue sticking out, cheeky/playful,[4] blowin... \n",
"11 Skeptical, annoyed, undecided, uneasy, hesitan... \n",
"12 Straight face[5] no expression, indecision[9] \n",
"13 Embarrassed,[6] blushing[7] \n",
"14 Sealed lips or wearing braces,[4] tongue-tied[9] \n",
"15 Angel,[4][5][10] saint,[9] innocent \n",
"16 Evil,[5] devilish[9] \n",
"17 Cool,[9] bored/yawning[10] \n",
"18 Tongue-in-cheek[12] \n",
"19 Partied all night[9] \n",
"20 Drunk,[9] confused \n",
"21 Being sick[9] \n",
"22 Dumb, dunce-like[10] \n",
"23 Scepticism, disbelief, or disapproval[13][14] \n",
"24 Sideways look. Devious or guilty. "
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df = pd.read_csv(\"/Users/Carsten/GitRepos/NLP-LAB/Project/Tools/Emoji-Emoticon-Assignment_western.csv\", names=[\"icon0\",\"icon1\",\"icon2\",\"icon3\",\"icon4\",\"icon5\",\"icon6\",\"icon7\",\"icon8\",\"icon9\",\"icon10\",\"emoji\",\"meaning\"],header=0)\n",
"df#.head()"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"#list of emoticon , list of emojis, meaning as string\n",
"assignment = []\n",
"\n",
"tmp_single_assignments = []"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"#icon,icon1,icon2,icon3,icon4,icon5,icon6,icon7,icon8,icon9,icon10,emoji,meaning \n",
"for pos,d in df.iterrows():\n",
" #print(d)\n",
" emoticons = []\n",
" #ignore rows with no entry\n",
" if(isinstance(d[\"emoji\"],str) and d[\"emoji\"]!=\"—\"):\n",
" #concatinate all emoticons in one list\n",
" emoticons = []\n",
" column_name = \"icon\"\n",
" column_number = 0\n",
" for col in range(11):\n",
" column_name+=str(column_number)\n",
" if(isinstance(d[column_name],str) and d[column_name]!=\"\"):\n",
" #print(type(d[column_name]))\n",
" #print(d[column_name])\n",
" emoticons+=d[column_name].split()\n",
" column_name = \"icon\"\n",
" column_number += 1\n",
"\n",
" #remove doublicate entries in emoticons\n",
" emoticons=list(set(emoticons))\n",
" \n",
" #make list of emoticons\n",
" emojis = list(d[\"emoji\"])\n",
" \n",
" #for tmp ideas\n",
" #for e in emoticons:\n",
" # print([e,emojis])\n",
" # tmp_single_assignments.append([e,emojis])\n",
"\n",
"\n",
" \n",
" #append triple\n",
" assignment.append([emoticons,emojis,str(d[\"meaning\"])])\n",
"\n",
"#print(assignment)\n",
"\n",
" "
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"own_assignment = []"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
":) |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":) ☺\n",
"8-) |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
"8-) ☺\n",
":] |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":] ☺\n",
":-> |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":-> ☺\n",
":> |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":> ☺\n",
":o) |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":o) ☺\n",
"=) |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
"=) ☺\n",
"8) |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
"8) ☺\n",
":3 |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":3 ☺\n",
":-3 |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":-3 ☺\n",
":-} |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":-} ☺\n",
"=] |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
"=] ☺\n",
":c) |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":c) ☺\n",
":-] |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":-] ☺\n",
":) |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":) ☺\n",
":} |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":} ☺\n",
":^) |0 = ☺|1 = |2 = 🙂|3 = 😊|4 = 😀|5 = 😁\n",
":^) ☺\n",
"xD |0 = 😃|1 = 😄|2 = 😆|3 = 😍\n",
"xD 😃\n",
"XD |0 = 😃|1 = 😄|2 = 😆|3 = 😍\n",
"XD 😃\n",
"XD |0 = 😃|1 = 😄|2 = 😆|3 = 😍\n",
"XD 😃\n",
"=D |0 = 😃|1 = 😄|2 = 😆|3 = 😍\n",
"=D 😃\n",
":D |0 = 😃|1 = 😄|2 = 😆|3 = 😍\n",
":D 😃\n",
"8D |0 = 😃|1 = 😄|2 = 😆|3 = 😍\n",
"8D 😃\n",
"8D |0 = 😃|1 = 😄|2 = 😆|3 = 😍\n",
"8D 😃\n",
"B^D |0 = 😃|1 = 😄|2 = 😆|3 = 😍\n",
"B^D 😃\n",
"xD |0 = 😃|1 = 😄|2 = 😆|3 = 😍\n",
"xD 😃\n",
"=3 |0 = 😃|1 = 😄|2 = 😆|3 = 😍\n",
"=3 😃\n",
":D |0 = 😃|1 = 😄|2 = 😆|3 = 😍\n",
":D 😃\n",
":@ |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
":@ ☹\n",
":c |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
":c ☹\n",
":< |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
":< ☹\n",
":[ |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
":[ ☹\n",
":c |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
":c ☹\n",
":[ |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
":[ ☹\n",
":{ |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
":{ ☹\n",
":( |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
":( ☹\n",
":-|| |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
":-|| ☹\n",
">:( |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
">:( ☹\n",
">:[ |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
">:[ ☹\n",
":< |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
":< ☹\n",
":( |0 = ☹|1 = |2 = 🙁|3 = 😠|4 = 😡|5 = 😞|6 = 😟|7 = 😣|8 = 😖\n",
":( ☹\n",
":'( |0 = 😢|1 = 😭\n",
":'( 😢\n",
":'( |0 = 😢|1 = 😭\n",
":'( 😢\n",
":') |0 = 😂\n",
":') 😂\n",
":') |0 = 😂\n",
":') 😂\n",
"DX |0 = 😨|1 = 😧|2 = 😦|3 = 😱|4 = 😫|5 = 😩\n",
"DX 😨\n",
"D': |0 = 😨|1 = 😧|2 = 😦|3 = 😱|4 = 😫|5 = 😩\n",
"D': 😨\n",
"D: |0 = 😨|1 = 😧|2 = 😦|3 = 😱|4 = 😫|5 = 😩\n",
"D: 😨\n",
"D:< |0 = 😨|1 = 😧|2 = 😦|3 = 😱|4 = 😫|5 = 😩\n",
"D:< 😨\n",
"D; |0 = 😨|1 = 😧|2 = 😦|3 = 😱|4 = 😫|5 = 😩\n",
"D; 😨\n",
"D8 |0 = 😨|1 = 😧|2 = 😦|3 = 😱|4 = 😫|5 = 😩\n",
"D8 😨\n",
"D= |0 = 😨|1 = 😧|2 = 😦|3 = 😱|4 = 😫|5 = 😩\n",
"D= 😨\n",
":-0 |0 = 😮|1 = 😯|2 = 😲\n",
":-0 😮\n",
":o |0 = 😮|1 = 😯|2 = 😲\n",
":o 😮\n",
"80 |0 = 😮|1 = 😯|2 = 😲\n",
"80 😮\n",
":O |0 = 😮|1 = 😯|2 = 😲\n",
":O 😮\n",
":o |0 = 😮|1 = 😯|2 = 😲\n",
":o 😮\n",
":O |0 = 😮|1 = 😯|2 = 😲\n",
":O 😮\n",
">:O |0 = 😮|1 = 😯|2 = 😲\n",
">:O 😮\n",
":× |0 = 😗|1 = 😙|2 = 😚|3 = 😘|4 = 😍\n",
":× 😗\n",
":* |0 = 😗|1 = 😙|2 = 😚|3 = 😘|4 = 😍\n",
":* 😗\n",
":-* |0 = 😗|1 = 😙|2 = 😚|3 = 😘|4 = 😍\n",
":-* 😗\n",
";) |0 = 😉|1 = 😜|2 = 😘\n",
";) 😉\n",
";D |0 = 😉|1 = 😜|2 = 😘\n",
";D 😉\n",
";) |0 = 😉|1 = 😜|2 = 😘\n",
";) 😉\n",
"*) |0 = 😉|1 = 😜|2 = 😘\n",
"*) 😉\n",
";^) |0 = 😉|1 = 😜|2 = 😘\n",
";^) 😉\n",
"*-) |0 = 😉|1 = 😜|2 = 😘\n",
"*-) 😉\n",
";] |0 = 😉|1 = 😜|2 = 😘\n",
";] 😉\n",
":, |0 = 😉|1 = 😜|2 = 😘\n",
":, 😉\n",
";] |0 = 😉|1 = 😜|2 = 😘\n",
";] 😉\n",
":‑þ |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
":‑þ 😛\n",
"XP |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
"XP 😛\n",
"xp |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
"xp 😛\n",
"d: |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
"d: 😛\n",
":þ |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
":þ 😛\n",
":b |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
":b 😛\n",
":p |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
":p 😛\n",
":b |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
":b 😛\n",
":Þ |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
":Þ 😛\n",
":‑Þ |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
":‑Þ 😛\n",
">:P |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
">:P 😛\n",
":P |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
":P 😛\n",
":p |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
":p 😛\n",
"=p |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
"=p 😛\n",
":P |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
":P 😛\n",
"XP |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
"XP 😛\n",
"xp |0 = 😛|1 = 😝|2 = 😜|3 = 🤑\n",
"xp 😛\n",
"=L |0 = 🤔|1 = 😕|2 = 😟\n",
"=L 🤔\n",
"=\\ |0 = 🤔|1 = 😕|2 = 😟\n",
"=\\ 🤔\n",
":S |0 = 🤔|1 = 😕|2 = 😟\n",
":S 🤔\n",
"=/ |0 = 🤔|1 = 😕|2 = 😟\n",
"=/ 🤔\n",
":\\ |0 = 🤔|1 = 😕|2 = 😟\n",
":\\ 🤔\n",
">:\\ |0 = 🤔|1 = 😕|2 = 😟\n",
">:\\ 🤔\n",
":L |0 = 🤔|1 = 😕|2 = 😟\n",
":L 🤔\n",
":/ |0 = 🤔|1 = 😕|2 = 😟\n",
":/ 🤔\n",
":. |0 = 🤔|1 = 😕|2 = 😟\n",
":. 🤔\n",
":/ |0 = 🤔|1 = 😕|2 = 😟\n",
":/ 🤔\n",
">:/ |0 = 🤔|1 = 😕|2 = 😟\n",
">:/ 🤔\n",
":| |0 = 😐|1 = 😑\n",
":| 😐\n",
":| |0 = 😐|1 = 😑\n",
":| 😐\n",
":$ |0 = 😳|1 = 😞|2 = 😖\n",
":$ 😳\n",
":& |0 = 🤐|1 = 😶\n",
":& 🤐\n",
":# |0 = 🤐|1 = 😶\n",
":# 🤐\n",
":X |0 = 🤐|1 = 😶\n",
":X 🤐\n",
":& |0 = 🤐|1 = 😶\n",
":& 🤐\n",
":X |0 = 🤐|1 = 😶\n",
":X 🤐\n",
":# |0 = 🤐|1 = 😶\n",
":# 🤐\n",
"0:) |0 = 😇|1 = 👼\n",
"0:) 😇\n",
"O:) |0 = 😇|1 = 👼\n",
"O:) 😇\n",
"0:) |0 = 😇|1 = 👼\n",
"0:) 😇\n",
"0:3 |0 = 😇|1 = 👼\n",
"0:3 😇\n",
"O:) |0 = 😇|1 = 👼\n",
"O:) 😇\n",
"0;^) |0 = 😇|1 = 👼\n",
"0;^) 😇\n",
"0:3 |0 = 😇|1 = 👼\n",
"0:3 😇\n",
"3:) |0 = 😈\n",
"3:) 😈\n",
">;) |0 = 😈\n",
">;) 😈\n",
"3:) |0 = 😈\n",
"3:) 😈\n",
"}:) |0 = 😈\n",
"}:) 😈\n",
"}:) |0 = 😈\n",
"}:) 😈\n",
">:) |0 = 😈\n",
">:) 😈\n",
">:) |0 = 😈\n",
">:) 😈\n",
"|O |0 = 😎|1 = 😪\n",
"|O 😎\n",
"|;) |0 = 😎|1 = 😪\n",
"|;) 😎\n",
":J |0 = 😏|1 = 😒\n",
":J 😏\n",
"%) |0 = 😵|1 = 😕|2 = 🤕\n",
"%) 😵\n",
"%) |0 = 😵|1 = 😕|2 = 🤕\n",
"%) 😵\n",
":###.. |0 = 🤒|1 = 😷|2 = 🤢\n",
":###.. 🤒\n",
":###.. |0 = 🤒|1 = 😷|2 = 🤢\n",
":###.. 🤒\n",
"',:-l |0 = 🤨\n",
"',:-l 🤨\n",
"',:-| |0 = 🤨\n",
"',:-| 🤨\n"
]
}
],
"source": [
"for emoticons, emojis, meaning in assignment:\n",
" for emoticon in emoticons:\n",
" tmp = \" \"\n",
" c= 0\n",
" for emoji in emojis:\n",
" tmp+=\"|\"+str(c)+\" = \"+emoji\n",
" c+=1\n",
" number = input(str(emoticon)+str(tmp))\n",
" #if(not number.isnumeric() and int(number)in [0:len(emojis)]):\n",
" # number = 0\n",
" #else:\n",
" # number = int(number)\n",
" if(number == \"\"):number = 0\n",
" print(emoticon,emojis[number])\n",
" own_assignment.append([emoticon,emojis[number]])"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[[':)', '☺'], ['8-)', '☺'], [':]', '☺'], [':->', '☺'], [':>', '☺'], [':o)', '☺'], ['=)', '☺'], ['8)', '☺'], [':3', '😊'], [':-3', '😊'], [':-}', ''], ['=]', '☺'], [':c)', '☺'], [':-]', '☺'], [':)', '☺'], [':}', '☺'], [':^)', '😁'], ['xD', '😆'], ['XD', '😆'], ['XD', '😆'], ['=D', '😃'], [':D', '😃'], ['8D', '😃'], ['8D', '😃'], ['B^D', '😄'], ['xD', '😆'], ['=3', '😃'], [':D', '😃'], [':@', '😡'], [':c', '☹'], [':<', '☹'], [':[', '🙁'], [':c', '☹'], [':[', '🙁'], [':{', '☹'], [':(', '☹'], [':-||', '🙁'], ['>:(', '😡'], ['>:[', '😡'], [':<', '☹'], [':(', '🙁'], [':)', '☺'], ['8-)', '☺'], [':]', '☺'], [':->', '☺'], [':>', '☺'], [':o)', '☺'], ['=)', '☺'], ['8)', '☺'], [':3', '☺'], [':-3', '☺'], [':-}', '☺'], ['=]', '☺'], [':c)', '☺'], [':-]', '☺'], [':)', '☺'], [':}', '☺'], [':^)', '☺'], ['xD', '😃'], ['XD', '😃'], ['XD', '😃'], ['=D', '😃'], [':D', '😃'], ['8D', '😃'], ['8D', '😃'], ['B^D', '😃'], ['xD', '😃'], ['=3', '😃'], [':D', '😃'], [':@', '☹'], [':c', '☹'], [':<', '☹'], [':[', '☹'], [':c', '☹'], [':[', '☹'], [':{', '☹'], [':(', '☹'], [':-||', '☹'], ['>:(', '☹'], ['>:[', '☹'], [':<', '☹'], [':(', '☹'], [\":'(\", '😢'], [\":'(\", '😢'], [\":')\", '😂'], [\":')\", '😂'], ['DX', '😨'], [\"D':\", '😨'], ['D:', '😨'], ['D:<', '😨'], ['D;', '😨'], ['D8', '😨'], ['D=', '😨'], [':-0', '😮'], [':o', '😮'], ['80', '😮'], [':O', '😮'], [':o', '😮'], [':O', '😮'], ['>:O', '😮'], [':×', '😗'], [':*', '😗'], [':-*', '😗'], [';)', '😉'], [';D', '😉'], [';)', '😉'], ['*)', '😉'], [';^)', '😉'], ['*-)', '😉'], [';]', '😉'], [':,', '😉'], [';]', '😉'], [':‑þ', '😛'], ['XP', '😛'], ['xp', '😛'], ['d:', '😛'], [':þ', '😛'], [':b', '😛'], [':p', '😛'], [':b', '😛'], [':Þ', '😛'], [':‑Þ', '😛'], ['>:P', '😛'], [':P', '😛'], [':p', '😛'], ['=p', '😛'], [':P', '😛'], ['XP', '😛'], ['xp', '😛'], ['=L', '🤔'], ['=\\\\', '🤔'], [':S', '🤔'], ['=/', '🤔'], [':\\\\', '🤔'], ['>:\\\\', '🤔'], [':L', '🤔'], [':/', '🤔'], [':.', '🤔'], [':/', '🤔'], ['>:/', '🤔'], [':|', '😐'], [':|', '😐'], [':$', '😳'], [':&', '🤐'], [':#', '🤐'], [':X', '🤐'], [':&', '🤐'], [':X', '🤐'], [':#', '🤐'], ['0:)', '😇'], ['O:)', '😇'], ['0:)', '😇'], ['0:3', '😇'], ['O:)', '😇'], ['0;^)', '😇'], ['0:3', '😇'], ['3:)', '😈'], ['>;)', '😈'], ['3:)', '😈'], ['}:)', '😈'], ['}:)', '😈'], ['>:)', '😈'], ['>:)', '😈'], ['|O', '😎'], ['|;)', '😎'], [':J', '😏'], ['%)', '😵'], ['%)', '😵'], [':###..', '🤒'], [':###..', '🤒'], [\"',:-l\", '\\U0001f928'], [\"',:-|\", '\\U0001f928']]\n"
]
}
],
"source": [
"print(own_assignment)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
}