{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[nltk_data] Downloading package stopwords to /home/jonas/nltk_data...\n", "[nltk_data] Package stopwords is already up-to-date!\n" ] } ], "source": [ "import pandas as pd\n", "import nltk\n", "nltk.download('stopwords')\n", "from nltk.corpus import stopwords" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "table = pd.read_csv(\"emoji_descriptions.csv\")" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | Unnamed: 0 | \n", "code | \n", "character | \n", "description | \n", "description_de | \n", "
---|---|---|---|---|---|
0 | \n", "0 | \n", "126980 | \n", "π | \n", "MAHJONG TILE RED DRAGON | \n", "MAHJONG FLIESE ROT DRACHE | \n", "
1 | \n", "1 | \n", "129525 | \n", "𧡠| \n", "SPOOL OF THREAD | \n", "Spool Gewinde | \n", "
2 | \n", "2 | \n", "129526 | \n", "π§Ά | \n", "BALL OF YARN | \n", "BALL OF YARN | \n", "
3 | \n", "3 | \n", "127183 | \n", "π | \n", "PLAYING CARD BLACK JOKER | \n", "SPIELKARTE BLACK JOKER | \n", "
4 | \n", "4 | \n", "129296 | \n", "π€ | \n", "ZIPPER-MOUTH FACE | \n", "ZIPPER-MUND Gesicht | \n", "
\n", " | Unnamed: 0 | \n", "code | \n", "character | \n", "description | \n", "description_de | \n", "
---|---|---|---|---|---|
0 | \n", "0 | \n", "126980 | \n", "π | \n", "mahjong tile red dragon | \n", "mahjong fliese rot drache | \n", "
1 | \n", "1 | \n", "129525 | \n", "𧡠| \n", "spool thread | \n", "spool gewinde | \n", "
2 | \n", "2 | \n", "129526 | \n", "π§Ά | \n", "ball yarn | \n", "ball of yarn | \n", "
3 | \n", "3 | \n", "127183 | \n", "π | \n", "playing card black joker | \n", "spielkarte black joker | \n", "
4 | \n", "4 | \n", "129296 | \n", "π€ | \n", "zipper-mouth face | \n", "zipper-mund gesicht | \n", "
5 | \n", "5 | \n", "129297 | \n", "π€ | \n", "money-mouth face | \n", "geld-mund-gesicht | \n", "
6 | \n", "6 | \n", "129298 | \n", "π€ | \n", "face thermometer | \n", "gesicht thermometer | \n", "
7 | \n", "7 | \n", "129299 | \n", "π€ | \n", "nerd face | \n", "nerd gesicht | \n", "
8 | \n", "8 | \n", "129300 | \n", "π€ | \n", "thinking face | \n", "denken gesicht | \n", "
9 | \n", "9 | \n", "129301 | \n", "π€ | \n", "face head-bandage | \n", "gesicht head-bandage | \n", "
10 | \n", "10 | \n", "129302 | \n", "π€ | \n", "robot face | \n", "roboter-gesicht | \n", "
11 | \n", "11 | \n", "129303 | \n", "π€ | \n", "hugging face | \n", "umarmen gesicht | \n", "
12 | \n", "12 | \n", "129304 | \n", "π€ | \n", "sign horns | \n", "zeichen hΓΆrner | \n", "
13 | \n", "13 | \n", "129305 | \n", "π€ | \n", "call hand | \n", "ruf | \n", "
14 | \n", "14 | \n", "129306 | \n", "π€ | \n", "raised back hand | \n", "rΓΌckseite hand | \n", "
15 | \n", "15 | \n", "129307 | \n", "π€ | \n", "left-facing fist | \n", "links-facing fist | \n", "
16 | \n", "16 | \n", "129308 | \n", "π€ | \n", "right-facing fist | \n", "rechts-facing fist | \n", "
17 | \n", "17 | \n", "129309 | \n", "π€ | \n", "handshake | \n", "handshake | \n", "
18 | \n", "18 | \n", "129310 | \n", "π€ | \n", "hand index middle fingers crossed | \n", "hand index mittleren fingern gekreuzt | \n", "
19 | \n", "19 | \n", "129311 | \n", "π€ | \n", "love hand sign | \n", "liebe handzeichen | \n", "
20 | \n", "20 | \n", "129312 | \n", "π€ | \n", "face cowboy hat | \n", "gesicht cowboy-hut | \n", "
21 | \n", "21 | \n", "129313 | \n", "π€‘ | \n", "clown face | \n", "clown-gesicht | \n", "
22 | \n", "22 | \n", "129314 | \n", "π€’ | \n", "nauseated face | \n", "ungeΓ€tztes gesicht | \n", "
23 | \n", "23 | \n", "129315 | \n", "π€£ | \n", "rolling floor laughing | \n", "rollen boden lachen | \n", "
24 | \n", "24 | \n", "129316 | \n", "π€€ | \n", "drooling face | \n", "gesicht abtastend | \n", "
25 | \n", "25 | \n", "129317 | \n", "π€₯ | \n", "lying face | \n", "liegendes gesicht | \n", "
26 | \n", "26 | \n", "129318 | \n", "π€¦ | \n", "face palm | \n", "gesicht palme | \n", "
27 | \n", "27 | \n", "129319 | \n", "π€§ | \n", "sneezing face | \n", "snezing-gesicht | \n", "
28 | \n", "28 | \n", "129320 | \n", "π€¨ | \n", "face one eyebrow raised | \n", "gesicht augenbrauen erhΓΆht | \n", "
29 | \n", "29 | \n", "129321 | \n", "π€© | \n", "grinning face star eyes | \n", "gesicht sternenaugen | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
997 | \n", "997 | \n", "9995 | \n", "β | \n", "raised hand | \n", "raised hand | \n", "
998 | \n", "998 | \n", "128581 | \n", "π | \n", "face good gesture | \n", "gesicht gute geste | \n", "
999 | \n", "999 | \n", "128582 | \n", "π | \n", "face ok gesture | \n", "gesicht ok gestern | \n", "
1000 | \n", "1000 | \n", "128583 | \n", "π | \n", "person bowing deeply | \n", "person, tief biegt | \n", "
1001 | \n", "1001 | \n", "128584 | \n", "π | \n", "see-no-evil monkey | \n", "see-no-evil-affe | \n", "
1002 | \n", "1002 | \n", "129511 | \n", "𧧠| \n", "red gift envelope | \n", "roter geschenkumschlag | \n", "
1003 | \n", "1003 | \n", "128585 | \n", "π | \n", "hear-no-evil monkey | \n", "hear-no-evil affe | \n", "
1004 | \n", "1004 | \n", "127476 | \n", "π΄ | \n", "regional indicator symbol letter | \n", "regionaler indikator symbol letter o | \n", "
1005 | \n", "1005 | \n", "128586 | \n", "π | \n", "speak-no-evil monkey | \n", "speak-no-evil-affe | \n", "
1006 | \n", "1006 | \n", "10024 | \n", "β¨ | \n", "sparkles | \n", "funkeln | \n", "
1007 | \n", "1007 | \n", "129512 | \n", "𧨠| \n", "firecracker | \n", "firecracker | \n", "
1008 | \n", "1008 | \n", "127477 | \n", "π΅ | \n", "regional indicator symbol letter p | \n", "regionaler indikator symbol letter p | \n", "
1009 | \n", "1009 | \n", "10060 | \n", "β | \n", "cross mark | \n", "kreuzmarke | \n", "
1010 | \n", "1010 | \n", "10062 | \n", "β | \n", "negative squared cross mark | \n", "negative quadrierte kreuzmarke | \n", "
1011 | \n", "1011 | \n", "129513 | \n", "𧩠| \n", "jigsaw puzzle piece | \n", "jigsaw puzzle stück | \n", "
1012 | \n", "1012 | \n", "127478 | \n", "πΆ | \n", "regional indicator symbol letter q | \n", "regionaler indikator symbol letter q | \n", "
1013 | \n", "1013 | \n", "10067 | \n", "β | \n", "black question mark ornament | \n", "schwarzes fragenzeichen-verzierung | \n", "
1014 | \n", "1014 | \n", "10068 | \n", "β | \n", "white question mark ornament | \n", "weisses frage-zeichen-verzierung | \n", "
1015 | \n", "1015 | \n", "10069 | \n", "β | \n", "white exclamation mark ornament | \n", "weisses ausrufs-markierungs-verzierung | \n", "
1016 | \n", "1016 | \n", "10071 | \n", "β | \n", "heavy exclamation mark symbol | \n", "schweres ausrufzeichen symbol | \n", "
1017 | \n", "1017 | \n", "129514 | \n", "π§ͺ | \n", "test tube | \n", "testrohr | \n", "
1018 | \n", "1018 | \n", "129515 | \n", "𧫠| \n", "petri dish | \n", "petrischale | \n", "
1019 | \n", "1019 | \n", "10133 | \n", "β | \n", "heavy plus sign | \n", "schwere plus zeichen | \n", "
1020 | \n", "1020 | \n", "10134 | \n", "β | \n", "heavy minus sign | \n", "schwere minuszeichen | \n", "
1021 | \n", "1021 | \n", "10135 | \n", "β | \n", "heavy division sign | \n", "schweres abteilungszeichen | \n", "
1022 | \n", "1022 | \n", "129424 | \n", "π¦ | \n", "shrimp | \n", "garnele | \n", "
1023 | \n", "1023 | \n", "129425 | \n", "π¦ | \n", "squid | \n", "tintenfisch | \n", "
1024 | \n", "1024 | \n", "10160 | \n", "β° | \n", "curly loop | \n", "lockige schleife | \n", "
1025 | \n", "1025 | \n", "10175 | \n", "βΏ | \n", "double curly loop | \n", "doppelt lockige schleife | \n", "
1026 | \n", "1026 | \n", "129520 | \n", "π§° | \n", "TOOLBOX | \n", "WERKZEUGKASTEN | \n", "
1027 rows Γ 5 columns
\n", "