nlp-lab/Project/Tools/emoji_plotting.ipynb

170 lines
100 KiB
Plaintext
Raw Normal View History

2018-07-16 11:54:56 +02:00
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAEXCAYAAACzhgONAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzt3Xm4HFWZx/HvLwkQCARGEhwgCfsygUHUK4ssgjAMm4mjIEQBg0BGxgVRUFRAQJ1RWUQGGAgzGImyCcKEyMgmAQbZEoFAgmAmLGFRQCAsAll4549zLrfS6a5bSW7f7tz8Ps9zn1vrqbdOV/fbdarqtCICMzOzRvq1OgAzM2tvThRmZlbKicLMzEo5UZiZWSknCjMzK+VEYWZmpZworGkknSfp+z1U1hRJR/ZEWRW3t6qkOyXt11vbrNn+0ZL+LOl1SWt3s+wpkn6+hOXPkLTbMgW5eJk7SbpP0nt6slxrPScKq0zSE5LelPSapFck/U7S5yUtdhxJGgfMi4hvtyDUnnAhcFZE/LqnC871uGfJ/JWAs4C9ImL1iPhLT8cQEVtFxJSeKk/ScOBfgf0i4qWeKtfaw4BWB2DLnY9FxM2S1gQ+AvwE2B44vLhQRIxvRXA9JSIOa+Hm3wsMBGb0dMGSBkTEgp4uNyLmkI4H64N8RmFLJSLmRsQk4CDgs5K2BpC0iqQzJD2Vm04ukLRqnveIpP07y5A0QNILkj6Qx3fIZymvSHqwUdOIpH6STpT0pKTnJV2SExeSNpQUksZJelbSc5KOK6x7iqSrJF2Rz4x+L+l9hfnrSbo6x/W4pC8X5m0naaqkV/O+ndWofiTtL+mBwpnXNnn6RGAEc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IwM7NSThRmZlbKicLMzEo5UZiZWSknCjMzK+VEYWZmpZwozMyslBOFmZmVcqIwM7NSThRmZlbKicLMzEo5UZiZWSknCjMzK+VEYWZmpZwozMys1IBWB2A9Z/LkyZx99tksWLCAd955h3XWWYdTTz2VrbbaqtWhmdlyzImijzj77LOZPn06V199NWuuuSYAjz32GJ/73Oc4/fTT2XHHHVscoZktr9z01AfMnj2bm266iY9+9KPsvvvuzJgxgzPPPJNDDz2UH/zgBxx33HGtDtHMlmNOFH3Addddx4IFC3j00Ue58sormTlzJvPmzWPChAncfPPNvPTSSzzyyCOtDtPMllOKiOYVLu0N/AToD/xnRPygZv4I4GfAWnmZEyLi+rIyOzo6YurUqU2KePnz6quvMnbsWI488kh+9KMfLTZ/4403Zvjw4UjipJNOon///i2I0sxaTdK0iOhYmnWbdkYhqT9wHrAPMBIYI2lkzWInAldGxPuBg4HzmxVPXzVlyhSGDRvGa6+9xuDBgxkyZAg777wzZ599Nm+++SaDBw/mueeeo1+/fjz33HOtDtfMlkPNvJi9HTArImYDSLocGA3MLCwTwOA8vCbwbBPj6ZNGjRrFnnvuyYEHHsgxxxzDt771Ld5++23mz5/PwoULGT16NBMnTuTkk09udahmtpxqZqJYH5hTGH8a2L5mmVOAGyV9CRgE7FmvIEnjgHEAI0aM6PFAl3errbYaJ554IieddBInnXQSEcGAAQPYYost+N73vsfVV1/d6hDNbDnW6ovZY4AJETEM2BeYKGmxmCJifER0RETH0KFDez3I5cGOO+7IT3/6U+644w7OPfdczj//fObOncvkyZNZa621Wh2emS3HmnlG8QwwvDA+LE8rOgLYGyAi7pI0EBgCPN/EuPqs4cOHc8YZZ7Q6DDPrY5p5RnEfsJmkjSStTLpYPalmmaeAPQAk/R0wEHihiTGZmdkSalqiiIgFwBeBG4BHSHc3zZB0mqRRebGvAUdJehC4DBgbzbxf18zMllhTu/DIz0RcXzPt5ML
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"from __future__ import unicode_literals\n",
"\n",
"import matplotlib.pyplot as plt\n",
"\n",
"#plt.rc('font', family='Arial') \n",
"\n",
"#plt.rc('font', **{'sans-serif' : 'Arial', 'family' : 'sans-serif'}) \n",
"\n",
"plt.title('Développés et fabriqués')\n",
"plt.xlabel(\"réactivité nous permettent d'être sélectionnés et adoptés\")\n",
"plt.ylabel('André was here!')\n",
"plt.text(0.2, 0.8, '😂')\n",
"#plt.text(0.4, 0.2, 'AVA (check kerning)')\n",
"\n",
"plt.show()"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"def sentiment_score(s):\n",
" #(pos, neg, neu)^T\n",
" return s[0] - s[1]"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [
"import Emoji_Distance as edist\n",
"import numpy as np"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [],
"source": [
"list_emoticon_scores = np.array([sentiment_score(x) for x in edist.list_sentiment_emoticon_vectors])"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {},
"outputs": [],
"source": [
"def plot_emoji_list(sentiment_vectors, unicode_repr, title=\"Emoji Space\"):\n",
" \n",
" # sentiment score axis\n",
" X = np.array([sentiment_score(x) for x in sentiment_vectors])\n",
" \n",
" # neutral axis:\n",
" Y = np.array([x[2] for x in sentiment_vectors])\n",
" \n",
" plt.title(title)\n",
" plt.xlabel(\"sentiment score\")\n",
" plt.ylabel(\"neutrality\")\n",
" plt.xlim([-1,1])\n",
" for i in range(len(X)):\n",
" plt.text(X[i], Y[i], unicode_repr[i])\n",
" plt.show()\n",
" "
]
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAY0AAAEWCAYAAACaBstRAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB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BCCJNJ0hBCCGEySRpCCCFMJklDCCGEySRpCCGEMJkkDSGEECaTpCGEEMJkkjSEEEKYTJKGEEIIk0nSEEIIYTJJGkIIIUwmSUMIIYTJJGkIIYQwmSQNIYQQJpOkIYQQwmSSNIQQQphMkoYQQgiTZWjSUErVV0r9pZS6rJQa9Ix1PlNKnVNKnVVKrcjIeIQQQryaLBm1Y6WUOTATqAeEAEeUUr5a63NG65QEBgMfaa3vKaXyZ1Q8QgghXl1G3mlUBi5rrYO01vHAKqDZE+t0BmZqre8BaK3/zsB4hBBCvCKTkoZSKs9L7LsQcN3odUjKMmOlgFJKqYNKKX+lVP1nHL+LUipAKRUQFhb2EqEIIYRID6beafgrpdYqpRoqpVQ6Hj8LUBJwBdoA85RSNk+upLWeq7V20Vq75MuXLx0PL4QQ4kWYmjRKAXOBL4BLSqmxSqlSz9nmBlDY6LVDyjJjIYCv1jpBa30FuEhyEhFCCJEJmZQ0dLIdWus2JNdDeAJ/KqX2KqWqPWOzI0BJpZSTUior0BrwfWKdjSTfZaCUyktycgp68dMQQgjxOpjUeiqlTsOD5DuN20AvkhNAeWAt4PTkNlrrR0qpnsB2wBxYoLU+q5QaCQRorX1T3vtEKXUOSAQGaK3vvPppCSGEyAhKa/38lZS6CCwFFmqtQ554b6DW+scMiu8pLi4uOiAg4HUdTggh/hWUUke
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"plot_emoji_list(sentiment_vectors=edist.list_sentiment_emoticon_vectors, unicode_repr=edist.list_emoticon_emojis, title=\"Emoticon Emoji space\")"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAY0AAAEWCAYAAACaBstRAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodH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3eWgYGB0svLq8Tjw8LCpIWFhbSwsJA1atSQCQkJ8tlnn5Xm5uZSp9PJ0aNHP4C7UB4XwHFZDs9g1TylKPchNjaWp556im3btjFkyBDt99y5c5k2bRq7d+8u8Rzu7u6kpaWRlpbGW2+9BcDu3bvJyMggNjZWrbmhPJRUoaEo98HFxYVDhw4xaNAgNm/erP1+7733mD17Nn369KnsEBWlQqhCQ1Huw61btxg+fDiLFy9m4sSJ2u/333+f+fPns3z58hLPER4ejpmZGWZmZnzzzTcA9OrVCzMzM5ycnIiKiqro21CUMlMd4Ypyn8zMzBBCYGpqWuB3aRhHTwF88803jBgxAjs7O/r37092djZt27YFIC0tjZ07d+Ls7MzFixeJjo7WzmFubs57772Hubl5+d+gohRCzQhXlPt0/fp1vLy82LFjB/3792fHjh28/vrrfP7550yfPp39+/ff97lv3LjBmDFjAEhJSdHmeuj1epKTkxk/fjzNmjXTUpWo1CNKScprRrhqnlKU+1AeHeHFSUlJ0QqiYcOG8Y9//INffvmFXbt2kZ2dzaFDhxg9erSWal1RHhTVPKUo98HYEV5UTaNPnz5/q6aR23PPPccXX3xBkyZNyMjIIDExkdjYWBITE+ndu3eBeSC
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"plot_emoji_list(sentiment_vectors=edist.list_sentiment_vectors, unicode_repr=edist.list_emojis, title=\"Full Emoji space\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"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.5"
}
},
"nbformat": 4,
"nbformat_minor": 2
}