aitech-moj-2023/wyk/02_Jezyki.ipynb

1400 lines
194 KiB
Plaintext

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"![Logo 1](https://git.wmi.amu.edu.pl/AITech/Szablon/raw/branch/master/Logotyp_AITech1.jpg)\n",
"<div class=\"alert alert-block alert-info\">\n",
"<h1> Modelowanie języka</h1>\n",
"<h2> 2. <i>Języki</i> [wykład]</h2> \n",
"<h3> Filip Graliński (2022)</h3>\n",
"</div>\n",
"\n",
"![Logo 2](https://git.wmi.amu.edu.pl/AITech/Szablon/raw/branch/master/Logotyp_AITech2.jpg)\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Języki i ich prawa\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Jakim rozkładom statystycznym podlegają języki?\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Język naturalny albo „Pan Tadeusz” w liczbach\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Przygotujmy najpierw „infrastrukturę” do *segmentacji* tekstu na różnego rodzaju jednostki.\n",
"Używać będziemy generatorów.\n",
"\n",
"**Pytanie** Dlaczego generatory zamiast list?\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'Księga pierwsza\\r\\n\\r\\n\\r\\n\\r\\nGospodarstwo\\r\\n\\r\\nPowrót pani'"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import requests\n",
"\n",
"url = 'https://wolnelektury.pl/media/book/txt/pan-tadeusz.txt'\n",
"pan_tadeusz = requests.get(url).content.decode('utf-8')\n",
"\n",
"pan_tadeusz[100:150]"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Znaki\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"['K',\n",
" 's',\n",
" 'i',\n",
" 'ę',\n",
" 'g',\n",
" 'a',\n",
" ' ',\n",
" 'p',\n",
" 'i',\n",
" 'e',\n",
" 'r',\n",
" 'w',\n",
" 's',\n",
" 'z',\n",
" 'a',\n",
" '\\r',\n",
" '\\n',\n",
" '\\r',\n",
" '\\n',\n",
" '\\r',\n",
" '\\n',\n",
" '\\r',\n",
" '\\n',\n",
" 'G',\n",
" 'o',\n",
" 's',\n",
" 'p',\n",
" 'o',\n",
" 'd',\n",
" 'a',\n",
" 'r',\n",
" 's',\n",
" 't',\n",
" 'w',\n",
" 'o',\n",
" '\\r',\n",
" '\\n',\n",
" '\\r',\n",
" '\\n',\n",
" 'P',\n",
" 'o',\n",
" 'w',\n",
" 'r',\n",
" 'ó',\n",
" 't',\n",
" ' ',\n",
" 'p',\n",
" 'a',\n",
" 'n',\n",
" 'i']"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from itertools import islice\n",
"\n",
"def get_characters(t):\n",
" yield from t\n",
"\n",
"list(islice(get_characters(pan_tadeusz), 100, 150))"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"Counter({'A': 698,\n",
" 'd': 11465,\n",
" 'a': 30979,\n",
" 'm': 10269,\n",
" ' ': 63444,\n",
" 'M': 585,\n",
" 'i': 29353,\n",
" 'c': 14153,\n",
" 'k': 12362,\n",
" 'e': 25343,\n",
" 'w': 14625,\n",
" 'z': 22741,\n",
" '\\r': 10851,\n",
" '\\n': 10851,\n",
" 'P': 1265,\n",
" 'n': 15505,\n",
" 'T': 971,\n",
" 'u': 7699,\n",
" 's': 15255,\n",
" 'y': 13732,\n",
" 'l': 6677,\n",
" 'o': 23050,\n",
" 't': 10757,\n",
" 'j': 6586,\n",
" 'L': 316,\n",
" 'I': 795,\n",
" 'S': 1045,\n",
" 'B': 567,\n",
" 'N': 793,\n",
" '9': 8,\n",
" '7': 2,\n",
" '8': 10,\n",
" '-': 33,\n",
" '3': 3,\n",
" '2': 6,\n",
" '4': 2,\n",
" '5': 2,\n",
" 'K': 683,\n",
" 'ę': 5534,\n",
" 'g': 4775,\n",
" 'p': 8031,\n",
" 'r': 15328,\n",
" 'G': 358,\n",
" 'ó': 3097,\n",
" '—': 720,\n",
" ',': 9130,\n",
" 'ł': 10059,\n",
" 'W': 1258,\n",
" 'ż': 3334,\n",
" 'ś': 2524,\n",
" 'ą': 4794,\n",
" 'Ż': 219,\n",
" 'O': 567,\n",
" 'ź': 414,\n",
" 'b': 5753,\n",
" 'R': 489,\n",
" 'E': 23,\n",
" '!': 1083,\n",
" ':': 1152,\n",
" 'ć': 1956,\n",
" '.': 2380,\n",
" 'D': 552,\n",
" 'J': 729,\n",
" 'C': 556,\n",
" 'h': 3915,\n",
" '(': 76,\n",
" 'f': 386,\n",
" ';': 1445,\n",
" 'ń': 651,\n",
" ')': 76,\n",
" 'Z': 785,\n",
" 'Ś': 71,\n",
" 'U': 184,\n",
" 'F': 47,\n",
" 'é': 43,\n",
" '?': 441,\n",
" '…': 157,\n",
" '«': 540,\n",
" 'H': 309,\n",
" '»': 538,\n",
" 'Ó': 13,\n",
" 'Ł': 24,\n",
" 'x': 3,\n",
" 'v': 5,\n",
" '*': 150,\n",
" 'à': 1,\n",
" 'Ź': 4,\n",
" 'V': 3,\n",
" '/': 19,\n",
" 'Ć': 1,\n",
" 'q': 2,\n",
" '1': 4,\n",
" 'æ': 2,\n",
" '6': 1,\n",
" '0': 1})"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from collections import Counter\n",
"\n",
"c = Counter(get_characters(pan_tadeusz))\n",
"\n",
"c"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Napiszmy pomocniczą funkcję, która zwraca **listę frekwencyjną**.\n",
"\n",
"Counter({' ': 63444, 'a': 30979, 'i': 29353, 'e': 25343, 'o': 23050, 'z': 22741, 'n': 15505, 'r': 15328, 's': 15255, 'w': 14625, 'c': 14153, 'y': 13732, 'k': 12362, 'd': 11465, '\\r': 10851, '\\n': 10851, 't': 10757, 'm': 10269, 'ł': 10059, ',': 9130, 'p': 8031, 'u': 7699, 'l': 6677, 'j': 6586, 'b': 5753, 'ę': 5534, 'ą': 4794, 'g': 4775, 'h': 3915, 'ż': 3334, 'ó': 3097, 'ś': 2524, '.': 2380, 'ć': 1956, ';': 1445, 'P': 1265, 'W': 1258, ':': 1152, '!': 1083, 'S': 1045, 'T': 971, 'I': 795, 'N': 793, 'Z': 785, 'J': 729, '—': 720, 'A': 698, 'K': 683, 'ń': 651, 'M': 585, 'B': 567, 'O': 567, 'C': 556, 'D': 552, '«': 540, '»': 538, 'R': 489, '?': 441, 'ź': 414, 'f': 386, 'G': 358, 'L': 316, 'H': 309, 'Ż': 219, 'U': 184, '…': 157, '\\*': 150, '(': 76, ')': 76, 'Ś': 71, 'F': 47, 'é': 43, '-': 33, 'Ł': 24, 'E': 23, '/': 19, 'Ó': 13, '8': 10, '9': 8, '2': 6, 'v': 5, 'Ź': 4, '1': 4, '3': 3, 'x': 3, 'V': 3, '7': 2, '4': 2, '5': 2, 'q': 2, 'æ': 2, 'à': 1, 'Ć': 1, '6': 1, '0': 1})\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"OrderedDict([(' ', 63444),\n",
" ('a', 30979),\n",
" ('i', 29353),\n",
" ('e', 25343),\n",
" ('o', 23050),\n",
" ('z', 22741),\n",
" ('n', 15505),\n",
" ('r', 15328)])"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from collections import Counter\n",
"from collections import OrderedDict\n",
"\n",
"def freq_list(g, top=None):\n",
" c = Counter(g)\n",
"\n",
" if top is None:\n",
" items = c.items()\n",
" else:\n",
" items = c.most_common(top)\n",
"\n",
" return OrderedDict(sorted(items, key=lambda t: -t[1]))\n",
"\n",
"freq_list(get_characters(pan_tadeusz), top=8)"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_8747/6903746.py:14: UserWarning: Glyph 13 (\r",
") missing from current font.\n",
" plt.savefig(fname)\n"
]
},
{
"data": {
"text/plain": [
"'02_Jezyki/pt-chars.png'"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"/usr/lib/python3.10/site-packages/IPython/core/pylabtools.py:151: UserWarning: Glyph 13 (\r",
") missing from current font.\n",
" fig.canvas.print_figure(bytes_io, **kw)\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAuEAAADCCAYAAADn5xwjAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAsGElEQVR4nO3de/wVVb3/8ddbQMULXhBNQf1q0kU9pUJm2U2pI5WFdjSxY2JRpFnasX6G1TnZhdLudtEyMdG8cSiTY2oZaFqRiooB4oUUlTTBO2qo4Of3x1pbhs3s/d3fL9+9v7f38/HYjz2zZtbMmtlrz17z2WtmFBGYmZmZmVnrbNDdBTAzMzMz62/cCDczMzMzazE3ws3MzMzMWsyNcDMzMzOzFnMj3MzMzMysxdwINzMzMzNrsYHdXYDusM0220RbW1t3F8PMzMzM+rBbbrnl0YgYVjatXzbC29ramDt3bncXw8zMzMz6MEn315rm7ihmZmZmZi3mRriZmZmZWYu5EW5mZmZm1mJuhJuZmZmZtZgb4WZmZmZmLdYv747SXdom/3adtCWnvbcbSmJmZmZm3cmRcDMzMzOzFnMj3MzMzMysxdwINzMzMzNrMTfCzczMzMxarKmNcElbSpoh6U5JiyS9SdLWkq6RdE9+36ow/ymSFku6S9JBhfRRkubnaT+UpJy+kaRLc/qNktqauT1mZmZmZl2h2ZHwM4CrI+I1wOuBRcBkYFZEjARm5XE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AZfl8g4kRbavzsuq/n2+CxiqdDH3clKD/T/zPnoBeBR4seQ3qNb3/zO5DJ8GLswN7XtJ/8ITEaskfYoU0BsAnBsRlX/Reww/MdN6jHzgvRU4PKr+8u3gck4l3Wf6yTy+JalP3qnrX8oOlWNP0sU/JxXS2kgXtuxZM2PH1zOU9Pfhzu3OvHa+k4GZEXFnVfoWwDci4vg8vllu1GxCinBMinX/wuxxyvZ/f6LU3/TnEbFvuzP3UUqR7Jfya6OIWClpcET8q/LezUXsVSRNJfUd/0NV+mGkbgSfLc/Zc0i6lXTb0Rfbndm6RP5NfiYivtPdZelp3B3FegRJu5OiJbPWpwHek0TEgmY3AHMUaw6p+0ZHvUCKEL6qKn0T4A05igDpQrZ5pBOkX/WGBji0Zv/3VDnSeTGpS1C/FREvRupiFJXobaXh7QZ4p/yY9M9CtQ+xdnS4x4qIfdwAt57CkXDrc5TuwTqWNfcR3oD0V+SZ3VcqM7PeT9JHSRdQVroRbUi69uP8+jnNrJob4WZmZmZmLebuKGZmZmZmLeZGuJmZmZlZi7kRbmZmZmbWYm6Em5mZmZm1mBvhZmZmZmYt9v8BTMoyJdreKYQAAAAASUVORK5CYII=\n",
"text/plain": [
"<Figure size 864x216 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"import matplotlib.pyplot as plt\n",
"from collections import OrderedDict\n",
"\n",
"def rang_freq_with_labels(name, g, top=None):\n",
" freq = freq_list(g, top)\n",
"\n",
" plt.figure(figsize=(12, 3))\n",
" plt.ylabel('liczba wystąpień')\n",
"\n",
" plt.bar(freq.keys(), freq.values())\n",
"\n",
" fname = f'02_Jezyki/{name}.png'\n",
"\n",
" plt.savefig(fname)\n",
"\n",
" return fname\n",
"\n",
"rang_freq_with_labels('pt-chars', get_characters(pan_tadeusz))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Słowa\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Co rozumiemy pod pojęciem słowa czy wyrazu, nie jest oczywiste. W praktyce zależy to od wyboru **tokenizatora**.\n",
"\n",
"Załóżmy, że przez wyraz rozumieć będziemy nieprzerwany ciąg liter bądź cyfr (oraz gwiazdek\n",
"— to za chwilę ułatwi nam analizę pewnego tekstu…).\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"['Ty',\n",
" 'co',\n",
" 'gród',\n",
" 'zamkowy',\n",
" 'Nowogródzki',\n",
" 'ochraniasz',\n",
" 'z',\n",
" 'jego',\n",
" 'wiernym',\n",
" 'ludem',\n",
" 'Jak',\n",
" 'mnie',\n",
" 'dziecko',\n",
" 'do',\n",
" 'zdrowia',\n",
" 'powróciłaś',\n",
" 'cudem',\n",
" 'Gdy',\n",
" 'od',\n",
" 'płaczącej',\n",
" 'matki',\n",
" 'pod',\n",
" 'Twoją',\n",
" 'opiekę',\n",
" 'Ofiarowany',\n",
" 'martwą',\n",
" 'podniosłem',\n",
" 'powiekę',\n",
" 'I',\n",
" 'zaraz']"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from itertools import islice\n",
"import regex as re\n",
"\n",
"def get_words(t):\n",
" for m in re.finditer(r'[\\p{L}0-9\\*]+', t):\n",
" yield m.group(0)\n",
"\n",
"list(islice(get_words(pan_tadeusz), 100, 130))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Zobaczmy 20 najczęstszych wyrazów.\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/pt-words-20.png'"
]
},
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAtoAAADCCAYAAAB39GXsAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9y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lbSHGNdzopwO7A4yUeAbwAn0HTUfDLJ9sDXgL/vMP7Ia+1cnvgH7qyq6vIEtaqqe5Msozm2v8ETJ8QdSTM07vT2bwHw0qpaN8E5fA54RzuM4w6a3/mEG/Va/hrwwsl+T6mqlUmWAl9OsoHmd308cE6S/wOspZv30RG30IxJ/6dRbTuPDGeZbrwy5BST5A3AI1X1uUHnImnz2l6fFVXV1TkVEtDMOkJzQuABg85lsvj60rbAoSNTzwbgfUkOGXQikjatHQ52De03U5Imjq8vbSvs0ZYkSZI6YI+2JEmS1AELbUmSJKkDFtqSJElSByy0JUmSpA5YaEuSJEkdsNCWJEmSOvD/Aebp3uNUsxinAAAAAElFTkSuQmCC\n",
"text/plain": [
"<Figure size 864x216 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"rang_freq_with_labels('pt-words-20', get_words(pan_tadeusz), top=20)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Zobaczmy pełny obraz, już bez etykiet.\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/pt-words.png'"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAD4CAYAAAAAczaOAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAWYUlEQVR4nO3df6zd9X3f8ecLG+zwK9hwYa5taqez2kG2JcRldImiaqyDZlXMpEVytC7WhmYtI206tetgmZb+Yyn71a3RBJOXZHG2KMRJ02F1TRfktoqmpJBLAgFDCE4g+AYH34QEWCgGw3t/nC/k3PO9P8w594fv9zwf0tX5ns/3+z3fz/no+nU/fp/v93xTVUiSxsNZK90BSdLyMfQlaYwY+pI0R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s_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"import matplotlib.pyplot as plt\n",
"from math import log\n",
"\n",
"def rang_freq(name, g):\n",
" freq = freq_list(g)\n",
"\n",
" plt.figure().clear()\n",
" plt.plot(range(1, len(freq.values())+1), freq.values())\n",
"\n",
" fname = f'02_Jezyki/{name}.png'\n",
"\n",
" plt.savefig(fname)\n",
"\n",
" return fname\n",
"\n",
"rang_freq('pt-words', get_words(pan_tadeusz))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Widać, jak różne skale obejmuje ten wykres. Zastosujemy logarytm,\n",
"najpierw tylko do współrzędnej $y$.\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/pt-words-log.png'"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAWoAAAD4CAYAAADFAawfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAUOklEQVR4nO3de5DdZ33f8ff37E3WzbKs9QVdkC/YGUMHWywUR9QtEBObZkJJ6dTMkJJMOmonpANNM4zTzHRC+0ebtmFKC01HCRRoCKYheJpQl1tsYtqA7ZXjK4pAvoCEZWuFLFuWLK1299s/zlmxN2l/kvec33P2vF8zO3v0O789+z3PHH/87PN7fs8TmYkkqVyNuguQJJ2dQS1JhTOoJalwBrUkFc6glqTC9bfjRTds2JBbt25tx0tL0rK0a9euQ5k5vNBzbQnqrVu3Mjo62o6XlqRlKSJ+cKbnHPqQpMIZ1JJUOINakgpnUEtS4QxqSSqcQS1JhTOoJalwxQT11FTyiXv28vgzL9RdiiQVpS03vJyPoycm+I9f28OR4+O89lUX1l2OJBWjmB71hSsHWD3Yz8SUGxlI0kzFBDUAAW44I0m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[
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"import matplotlib.pyplot as plt\n",
"from math import log\n",
"\n",
"def rang_log_freq(name, g):\n",
" freq = freq_list(g)\n",
"\n",
" plt.figure().clear()\n",
" plt.plot(range(1, len(freq.values())+1), [log(y) for y in freq.values()])\n",
"\n",
" fname = f'02_Jezyki/{name}.png'\n",
"\n",
" plt.savefig(fname)\n",
"\n",
" return fname\n",
"\n",
"rang_log_freq('pt-words-log', get_words(pan_tadeusz))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"****Pytanie**** Dlaczego widzimy coraz dłuższe „schodki”?\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Hapax legomena\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Z poprzedniego wykresu możemy odczytać, że ok. 2/3 wyrazów wystąpiło\n",
"dokładnie 1 raz. Słowa występujące jeden raz w danym korpusie noszą\n",
"nazwę *hapax legomena* (w liczbie pojedynczej *hapax legomenon*, ἅπαξ\n",
"λεγόμενον, „raz powiedziane”, żargonowo: „hapaks”).\n",
"\n",
"„Prawdziwe” hapax legomena, słowa, które wystąpiły tylko raz w *całym*\n",
"korpusie tekstów danego języka (np. starożytnego) rzecz jasna\n",
"sprawiają olbrzymie trudności w tłumaczeniu. Przykładem jest greckie\n",
"słowo ἐπιούσιος, przydawka odnosząca się do chleba w modlitwie „Ojcze\n",
"nasz”. Jest to jedyne poświadczenie tego słowa w całym znanym korpusie\n",
"greki (nie tylko z Pisma Świętego). W języku polskim tłumaczymy je na\n",
"„powszedni”, ale na przykład w rosyjskim przyjął się odpowiednik\n",
"„насущный” — o przeciwstawnym do polskiego znaczeniu!\n",
"\n",
"W sumie podobne problemy hapaksy mogą sprawiać metodom statystycznym\n",
"przy przetwarzaniu jakiekolwiek korpusu.\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Wykres log-log\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Jeśli wspomniany wcześniej wykres narysujemy używając skali\n",
"logarytmicznej dla ****obu**** osi, otrzymamy kształt zbliżony do linii prostej.\n",
"\n",
"Tę własność tekstów nazywamy ****prawem Zipfa****.\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/pt-words-log-log.png'"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAWoAAAD4CAYAAADFAawfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAdZ0lEQVR4nO3deXxU1d3H8c9vJnsIgSxsCSGEVRYRSEFAVLAq1AWrtpW2Pu5oa7Xa+lhtfbT60mpba6u1tiJSpa5UxQ1ttSggimDYlVX2kAhh37Oe548EKhjCxGRyb2a+79fLF5k7k+E7Il9Pzr3nHnPOISIi/hXwOoCIiNRNRS0i4nMqahERn1NRi4j4nIpaRMTnYsLxphkZGS43Nzccby0iEpHmzZu31TmXWdtzYSnq3NxcCgoKwvHWIiIRyczWH+s5TX2IiPicilpExOdU1CIiPqeiFhHxORW1iIjPqahFRHxORS0i4nNhuY7663pk2ioqKquOPGh25MNavu+ol2BHvSolIYaOaUlkt04ku3UiKQmxjZBWRKRp+Kqo/zZjNQfKKw8/DtetslMTY+mYlkh2q/+Wd3WRVz9OjvfVvxYRiXK+aqSl94yq9/ccvfHB0eXugJ37yyjccYCNO/ZTuOMAhTW/rtqyh/dXbKG04shRfLuWCXx7QBbfH5RDx7SkemcSEWlMFo4dXvLz811zWULunGPr3rLD5b1xx37mr9/Je8s344DTumfyw8GdGNGzDcFAbRMvIiINZ2bznHP5tT3nqxG1F8yMzJR4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M6xBN7GHgX865nkA/Ivzzm1kWcCOQ75zrQ/Utki/xNlVYPAWMOurYbcA051w3YFrN4wbxRVHzpQ10nXNlwKENdCOWc67YOTe/5us9VP/FzfI2VfiZWTZwDjDB6yxNxcxaAqcCTwI458qcczs9DdU0YoBEM4sBkojAnaGcczOB7UcdHgM8XfP108AFDf19/FLUtW2gG/GldYiZ5QL9gTkeR2kKfwJuBao8ztGU8oAS4O81Uz4TzCzZ61Dh5JzbBDwIbACKgV3OuXe8TdVk2jrniqF6QAa0aegb+qWoQ9pANxKZWQvgZeAm59xur/OEk5mdC2xxzs3zOksTiwEGAH91zvUH9tEIPw77Wc287BigM9ABSDazH3qbqvnyS1FH5Qa6ZhZLdUk/65x7xes8TWAYcL6ZraN6emukmT3jbaQmUQgUOucO/cT0EtXFHcm+Cax1zpU458qBV4ChHmdqKpvNrD1Aza9bGvqGfinqqNtA18yM6jnLZc65h7zO0xScc7c757Kdc7lU/xm/55yL+FGWc+4LYKOZ9ag5dAaw1MNITWEDcLKZJdX8t34GEX4C9UteBy6r+foy4LWGvmFIeyaGW5RuoDsMuBRYYmYLa479smZ/Sok8NwDP1gxE1gBXeJwnrJxzc8zsJWA+1Vc4LSACl5Ob2fPA6UCGmRUCdwEPAJPN7Cqq/4f1nQb/PlpCLiLib36Z+hARkWNQUYuI+JyKWkTE51TUIiI+p6IWEfE5FbWIiM+pqEVEfO7/AY7fihqmy5vnAAAAAElFTkSuQmCC\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"import matplotlib.pyplot as plt\n",
"from math import log\n",
"\n",
"def log_rang_log_freq(name, g):\n",
" freq = freq_list(g)\n",
"\n",
" plt.figure().clear()\n",
" plt.plot([log(x) for x in range(1, len(freq.values())+1)], [log(y) for y in freq.values()])\n",
"\n",
" fname = f'02_Jezyki/{name}.png'\n",
"\n",
" plt.savefig(fname)\n",
"\n",
" return fname\n",
"\n",
"log_rang_log_freq('pt-words-log-log', get_words(pan_tadeusz))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Związek między frekwencją a długością\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Powiązane z prawem Zipfa prawo językowe opisuje zależność między\n",
"częstością użycia słowa a jego długością. Generalnie im krótsze słowo, tym częstsze.\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/pt-lengths.png'"
]
},
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAWoAAAD4CAYAAADFAawfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAABQg0lEQVR4nO2dd3gUVffHvzeFhBYIvfemICBFxAIqSBEV7Ng7dn15bdh77w0b+FqwgxVRsSGCUkITUOkQBITQe+r5/fHN/GaS7CZ3dpfdTTyf55lndid7z96d7J45c+4pRkSgKIqixC8JsZ6AoiiKUjqqqBVFUeIcVdSKoihxjipqRVGUOEcVtaIoSpyTdCCE1qlTR1q0aHEgRCuKolRI5syZs1lE6gb62wFR1C1atEBGRsaBEK0oilIhMcasCfY3dX0oiqLEOaqoFUVR4hxV1IqiKHGOKmpFUZQ4J34U9f79wIwZwJIlsZ3Hli3A1KnA6tWxnYeiKEoh8aGo334baNYMuOYaoF8/4Oijgb//ju4cRIDbbwfatAFuuw047DDgtNOAXbuiOw9FUZRixF5Rz5oF3HorcPXVQNu2wIknAh07UklGs7LfmDHA5MnA0qXA9OlAZiZQrRpwww3Rm4OiKEoAYq+oX34ZSE0Ffv0VGDIEaNkS+OILYOVKYP786M3jtdeARx8F6hbGm6emAs88A4wfD+zZE715KIqiFOOAJLz4Yu5cID0d+PZbwBgeO+UUWtV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l4++jlbwBNPc+bAFgfndkFZDCAuSKysfgf4uWcFrLRcREV7jcFeE1cnFtjzIUATgRwrhQ6T4tj8T05oIjIRhHJF5ECAK8Hef+4OJ8AYIxJAnAqgA+DvSbW59SWCquoC31TYwH8KSJPB3lNg8LXwRhzGHg+tkRvloAxpqoxprrzGFxYWlTsZV8AuKAw+uNwADucW/oYEdRKiYdz6uELABcWPr4QwOcBXjMbQFtjTMvCO4XhheOihjFmEIBbAZwsInuDvMbme3JAKbYuckqQ94/5+fTQH8BfIvJ3oD/Gwzm1JtarmQdqA3AUeMv1O4D5hdsJAK4EcGXha64FsBhcmZ4B4IgYzLNV4fsvKJzLHYXHvfM0AF4CV9MXAugRw/NaBVS8NTzHYn5OwQvHBgC5oFV3KYDaAH4AsKxwX6vwtY0ATPKMPQGMClrhnP8oz3M56Nd1vqevFJ9nsO9JlOf5TuH373dQ+TaM9fkMNtfC428630vPa2N2TsPZNIVcURQlzqmwrg9FUZSKgipqRVGUOEcVtaIoSpyjilpRFCXOUUWtKIoS56iiVhRFiXNUUSuKosQ5/wfd/FznAEBEjwAAAABJRU5ErkJggg==\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"def freq_vs_length(name, g, top=None):\n",
" freq = freq_list(g)\n",
"\n",
" plt.figure().clear()\n",
" plt.scatter([len(x) for x in freq.keys()], [log(y) for y in freq.values()],\n",
" facecolors='none', edgecolors='r')\n",
"\n",
" fname = f'02_Jezyki/{name}.png'\n",
"\n",
" plt.savefig(fname)\n",
"\n",
" return fname\n",
"\n",
"freq_vs_length('pt-lengths', get_words(pan_tadeusz))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### N-gramy\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"W modelowaniu języka często rozpatruje się n-gramy, czyli podciągi o\n",
"rozmiarze $n$.\n",
"\n",
"Na przykład *digramy* (*bigramy*) to zbitki dwóch jednostek, np. liter albo wyrazów.\n",
"\n",
"| $n$|$n$-gram|nazwa|\n",
"|---|---|---|\n",
"| 1|1-gram|unigram|\n",
"| 2|2-gram|digram/bigram|\n",
"| 3|3-gram|trigram|\n",
"| 4|4-gram|tetragram|\n",
"| 5|5-gram|pentagram|\n",
"\n",
"**Pytanie:** Jak nazywa się 6-gram?\n",
"\n",
"Jak widać, dla symetrii mówimy czasami o unigramach, jeśli operujemy\n",
"po prostu na jednostkach, nie na ich podciągach.\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### N-gramy z Pana Tadeusza\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Statystyki, które policzyliśmy dla pojedynczych liter czy wyrazów, możemy powtórzyć dla n-gramów.\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[('k', 'o', 't'), ('o', 't', 'e'), ('t', 'e', 'k')]"
]
},
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"def ngrams(iter, size):\n",
" ngram = []\n",
" for item in iter:\n",
" ngram.append(item)\n",
" if len(ngram) == size:\n",
" yield tuple(ngram)\n",
" ngram = ngram[1:]\n",
"\n",
"list(ngrams(\"kotek\", 3))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Zauważmy, że policzyliśmy wszystkie n-gramy, również częściowo pokrywające się.\n",
"\n",
"Zawsze powinniśmy się upewnić, czy jest jasne, czy chodzi o n-gramy znakowe czy wyrazowe\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### 3-gramy znakowe\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/pt-3-char-ngrams-log-log.png'"
]
},
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAW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"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"log_rang_log_freq('pt-3-char-ngrams-log-log', ngrams(get_characters(pan_tadeusz), 3))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### 2-gramy wyrazowe\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/pt-2-word-ngrams-log-log.png'"
]
},
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAWoAAAD4CAYAAADFAawfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAX7ElEQVR4nO3deXhU9b3H8c93JpONhC0JawgBRBZBBKOCoLbWVqhU7GJrbb2trcVebWtbq60+7a23t3azm4/tbUuVaq3VolKLW60VqkIRDci+aCQgEJawhyX77/6RwGWZkCGZM+fMzPv1PDwmZ04mn3mCH375zlnMOScAQHCF/A4AADg1ihoAAo6iBoCAo6gBIOAoagAIuAwvnrSwsNCVlpZ68dQAkJIWL1680zlXFO0xT4q6tLRU5eXlXjw1AKQkM9vY1mOMPgAg4ChqAAg4ihoAAo6iBoCAo6gBIOAoagAIOIoaAAIuUEV930tv629Lt2jngTq/owBAYHhywktH1DY0aeaCSu051CBJGt4nX5POKNTEoYU6v7SnumQFJioAJJR5ceOAsrIy15EzE5uanVZu2af5FTu1oGKnyjfuUX1jszJCpnElPTTxjEJNGlqgs4u7KxIO1C8DANApZrbYOVcW9bEgFfWJahuaVL5hz9HiXlm1T85JeVkZumBQz9biLtTQXnkyszgkBwB/nKqoAz1PyI6ENWloSxlL0p6D9Vq4fpcWtBb3S2t3SJKK8rM06YxCXTikQJOGFqpvtxw/YwNAXAV6Rd2eTbsP6d/v7NT8il36d8VO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needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"log_rang_log_freq('pt-2-word-ngrams-log-log', ngrams(get_words(pan_tadeusz), 2))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Tajemniczy język Manuskryptu Wojnicza\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"[Manuskrypt Wojnicza](https://pl.wikipedia.org/wiki/Manuskrypt_Wojnicza) to powstały w XV w. manuskrypt spisany w\n",
"tajemniczym alfabecie, do dzisiaj nieodszyfrowanym. Rękopis stanowi\n",
"jedną z największych zagadek historii (i lingwistyki).\n",
"\n",
"![Źródło: Wikipedia Commons](./02_Jezyki/voynich135.jpg)\n",
"\n",
"Sami zbadajmy statystyczne własności tekstu manuskryptu. Użyjmy\n",
"transkrypcji Vnow, gdzie poszczególne znaki tajemniczego alfabetu\n",
"zamienione na litery alfabetu łacińskiego, cyfry i gwiazdkę. Jak\n",
"transkrybować manuskrypt, pozostaje sprawą dyskusyjną, natomiast wybór\n",
"takiego czy innego systemu transkrypcji nie powinien wpływać\n",
"dramatycznie na analizę statystyczną.\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'9 OR 9FAM ZO8 QOAR9 Q*R 8ARAM 29 [O82*]OM OPCC9 OP'"
]
},
"execution_count": 15,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import requests\n",
"\n",
"voynich_url = 'http://www.voynich.net/reeds/gillogly/voynich.now'\n",
"voynich = requests.get(voynich_url).content.decode('utf-8')\n",
"\n",
"voynich = re.sub(r'\\{[^\\}]+\\}|^<[^>]+>|[-# ]+', '', voynich, flags=re.MULTILINE)\n",
"\n",
"voynich = voynich.replace('\\n\\n', '#')\n",
"voynich = voynich.replace('\\n', ' ')\n",
"voynich = voynich.replace('#', '\\n')\n",
"\n",
"voynich = voynich.replace('.', ' ')\n",
"\n",
"voynich[100:150]"
]
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_8747/6903746.py:14: UserWarning: Glyph 9 (\t) missing from current font.\n",
" plt.savefig(fname)\n"
]
},
{
"data": {
"text/plain": [
"'02_Jezyki/voy-chars.png'"
]
},
"execution_count": 16,
"metadata": {},
"output_type": "execute_result"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"/usr/lib/python3.10/site-packages/IPython/core/pylabtools.py:151: UserWarning: Glyph 9 (\t) missing from current font.\n",
" fig.canvas.print_figure(bytes_io, **kw)\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAuEAAADCCAYAAADn5xwjAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAiMklEQVR4nO3debhkVXmo8fejW5lkpiFIIw2KGuAqSoskxAliRCECBrRJFFQUNSAglyQQvReMIUG9aEgUDAIyqEAHBwjIYBjEAYFmUGgQQWmgBaUZhHZA7ea7f6x1oDhdw+5zTtU5Xf3+nqeeqr1q7bVXzV+t/e21IzORJEmSNDirTHYHJEmSpJWNQbgkSZI0YAbhkiRJ0oAZhEuSJEkDZhAuSZIkDdj0ye7AZNhwww1z1qxZk90NSZIkDbEbbrjhocyc0e6+lTIInzVrFvPmzZvsbkiSJGmIRcQ9ne4zHUWSJEkaMINwSZIkacAMwiVJkqQBMwiXJEmSBswgXJIkSRowg3BJkiRpwFbKKQony6wjL+p6/4LjdhtQTyRJkjSZHAmXJEmSBswgXJIkSRowg3BJkiRpwPoWhEfEZhFxZUTcHhHzI+LQWr5+RHwzIu6s1+u1rHNURNwVEXdExBtayrePiFvqff8eEVHLV42Ic2v5tRExq1+PR5IkSZoo/RwJXwL878z8Y2BH4KCI2Bo4Erg8M7cCLq/L1PvmANsAuwInRsS02tZJwIHAVvWyay0/AHg0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zUvzbSC52HeU/bCQtSWMXEVdRpqxdMMld6SoiTqUcE/I/DeruTUlj6LXnom/qe/ZXmbnMHsDl/WysCOpAwo3APj1StoaSI+GSJkRmfq+mJA0yAH8/JfD/yKC2OZVk5q3DFIBLffAZ6gwcDfw17ff2qg8iYmvgLuDylTEAh+4HNEjSlJZlXuXP9ayoFclSYJ2IuDm7zBVec9avocxl3ulAygcps/uM3L8KZXe1VhKZeVOUswpP65buUPPrv56ZYz6ofCJ020tT9zoMzSh4Zt5GmcJ0pWU6iiRJWi5Rppb9ejacdlHSsgzCJUmSpAEzJ1ySJEkaMINwSZIkacAMwiVJkqQBMwiXJEmSBuz/AxzN8jESVS5fAAAAAElFTkSuQmCC\n",
"text/plain": [
"<Figure size 864x216 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"rang_freq_with_labels('voy-chars', get_characters(voynich))"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/voy-log-log.png'"
]
},
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAWoAAAD4CAYAAADFAawfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAcd0lEQVR4nO3deXzV5Z328c/3LNkXloRIwhLZRHYwsio4SitVtFaty9NS2zql9bFUHVttp9NOp+3Y2lZKndqp1O1x7ShaOypQcCkoKBr2fd8iwSQgBAhkvZ8/EqggISckJ7/fybnerxcvknNOjpcHcnHnPvfvvs05h4iI+FfA6wAiInJmKmoREZ9TUYuI+JyKWkTE51TUIiI+F4rGk2ZlZbn8/PxoPLWISLu0dOnSMudc9unui0pR5+fnU1hYGI2nFhFpl8xsZ2P3aepDRMTnVNQiIj6nohYR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Y0s+Vm9qrXWfzEzDqY2Swz29Dwd6f1z4eKQWZ2V8P30Roze87MkrzOFAlfFLUO0D2jGuBu59z5wGjgdr02J7kDWO91CB/6HTDXOdcfGIpeI8wsD/gOUOCcG0T9ts03eZsqMr4oaj5xgK5zrgo4foBu3HPOFTvnljV8fIj6b7g8b1P5g5l1A64EHvE6i5+YWQYwHngUwDlX5Zw74Gko/wgByWYWAlKIkdOq/FLUpztAV2V0CjPLB4YDSzyO4hczgHuAOo9z+E0voBR4vGFa6BEzS/U6lNeccx8CvwF2AcXAQefcPG9TRcYvRR3RAbrxzMzSgBeBO51z5V7n8ZqZTQZKnHNLvc7iQyFgBPDfzrnhwBEg7t/3MbOO1P+kfi6QC6Sa2Ze9TRUZvxS1DtA9AzMLU1/SzzjnXvI6j0+MA642sx3UT5VdamZPexvJN4qAIufc8Z+8ZlFf3PFuIrDdOVfqnKsGXgLGepwpIn4pah2g2wgzM+rnGtc756Z7nccvnHM/cM51c87lU//35U3nXEyMjqLNObcX2G1m5zXcdBmwzsNIfrELGG1mKQ3fV5cRI2+yRnRmYrTpAN0zGgdMAVab2YqG2/614RxLkcZMA55pGPhsA77mcR7POeeWmNksYBn1q6mWEyOXkusSchERn/PL1IeIiDRCRS0i4nMqahERn1NRi4j4nIpaRMTnVNQiIj6nohYR8bn/D2zTRLc1/1QcAAAAAElFTkSuQmCC\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"log_rang_log_freq('voy-log-log', get_words(voynich))"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/voy-words-20.png'"
]
},
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAtQAAADCCAYAAABpPVVfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuM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AAAASUVORK5CYII=\n",
"text/plain": [
"<Figure size 864x216 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"rang_freq_with_labels('voy-words-20', get_words(voynich), top=20)"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/voy-words-log-log.png'"
]
},
"execution_count": 19,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAWoAAAD4CAYAAADFAawfAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAcd0lEQVR4nO3deXzV5Z328c/3LNkXloRIwhLZRHYwsio4SitVtFaty9NS2zql9bFUHVttp9NOp+3Y2lZKndqp1O1x7ShaOypQcCkoKBr2fd8iwSQgBAhkvZ8/EqggISckJ7/fybnerxcvknNOjpcHcnHnPvfvvs05h4iI+FfA6wAiInJmKmoREZ9TUYuI+JyKWkTE51TUIiI+F4rGk2ZlZbn8/PxoPLWISLu0dOnSMudc9unui0pR5+fnU1hYGI2nFhFpl8xsZ2P3aepDRMTnVNQiIj6nohYR8TkVtYiIz6moRUR8TkUtIuJzKmoREZ/zVVE/+MZmVhcd9DqGiIiv+KaoD1RU8dz7u/jCHxbx+zc3U1unfbJFRMBHRd0hJYE5d1zMpEHn8Jt5m7jx4XfZvb/C61giIp7zTVFDfVn/183DmXHjMDbuPcSkGQt5vnA3OoVGROKZr4oawMy4Zngec+68mEF5mdwzaxXfenop+49UeR1NRMQTvivq47p1TOHZb4zmB5/rz5sbSrh8xkL+vrHE61giIm3Ot0UNEAwY35zQm7/efhEdU8J89fEP+PFf13C0qtbraCIibcbXRX3cgNwM/vfbF/H1cefy5Ls7mfxfb7PmQy3jE5H4EFFRm1kHM5tlZhvMbL2ZjYl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wBEg7t/3MbOO1P+kfi6QC6Sa2Ze9TRUZvxS1DtA9AzMLU1/SzzjnXvI6j0+MA642sx3UT5VdamZPexvJN4qAIufc8Z+8ZlFf3PFuIrDdOVfqnKsGXgLGepwpIn4pah2g2wgzM+rnGtc756Z7nccvnHM/cM51c87lU//35U3nXEyMjqLNObcX2G1m5zXcdBmwzsNIfrELGG1mKQ3fV5cRI2+yRnRmYrTpAN0zGgdMAVab2YqG2/614RxLkcZMA55pGPhsA77mcR7POeeWmNksYBn1q6mWEyOXkusSchERn/PL1IeIiDRCRS0i4nMqahERn1NRi4j4nIpaRMTnVNQiIj6nohYR8bn/D2zTRLc1/1QcAAAAAElFTkSuQmCC\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"log_rang_log_freq('voy-words-log-log', get_words(voynich))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Język DNA\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Kod genetyczny przejawia własności zaskakująco podobne do języków naturalnych.\n",
"Przede wszystkim ma charakter dyskretny, genotyp to ciąg symboli ze skończonego alfabetu.\n",
"Podstawowe litery są tylko cztery, reprezentują one nukleotydy, z których zbudowana jest nić DNA:\n",
"a, g, c, t.\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'TATAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTA'"
]
},
"execution_count": 20,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import requests\n",
"\n",
"dna_url = 'https://raw.githubusercontent.com/egreen18/NanO_GEM/master/rawGenome.txt'\n",
"dna = requests.get(dna_url).content.decode('utf-8')\n",
"\n",
"dna = ''.join(dna.split('\\n')[1:])\n",
"dna = dna.replace('N', 'A')\n",
"\n",
"dna[0:100]"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/dna-chars.png'"
]
},
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAucAAADCCAYAAADq+WxkAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAVSUlEQVR4nO3df+xd9X3f8ecLkxDaQILBocxmMQ1OW0BpWlyDlK4ZsIGrsBkaaM2UxWvduKNUIeu0FKJJZGFs0KhlyVRIWXAxdK2xaFZQEkotfix0QoChpMxQYi8EcCDgxA5xN0Fi8t4f9/Md11++/vpgfH3PfJ8P6eic8z7n8/m+r3Vlve9Hn/M5qSokSZIkjd9B405AkiRJ0oDFuSRJktQTFueSJElST1icS5IkST1hcS5JkiT1hMW5JEmS1BMHjzuBPjnqqKNq4cKF405DkiRJB7iHHnro21U1b3rc4nzIwoUL2bBhw7jTkCRJ0gEuyVMzxZ3WIkmSJPWExbkkSZLUExbnkiRJUk9YnEuSJEk9YXEuSZIk9YSrtfTAwku+NO4UNGbfuPID405BkiT1gMW5JH8gTjh/HEpSfzitRZIkSeoJi3NJkiSpJyzOJUmSpJ6wOJckSZJ6wuJckiRJ6gmLc0mSJKknLM4lSZKknrA4lyRJknrC4lySJEnqCYtzSZIkqScsziVJkqSesDiXJEmSesLiXJIkSeqJkRfnSeYk+eskX2znc5OsT7Kp7Y8YuvfSJJuTPJHkrKH4yUkebdc+myQtfkiSm1v8/iQLh9qsaH9jU5IVo/6ckiRJ0hu1P0bOLwYeHzq/BLizqhYBd7ZzkpwALAdOBJYC1ySZ09pcC6wCFrVtaYuvBLZX1fHA1cBVra+5wGXAKcAS4LLhHwGSJElSH420OE+yAPgA8Pmh8DJgTTteA5wzFF9b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J6gmLc0mSJKknLM4lSZKknrA4lyRJknrC4lySJEnqCYtzSZIkqScsziVJkqSe+L8R0iJI9Cn5CgAAAABJRU5ErkJggg==\n",
"text/plain": [
"<Figure size 864x216 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"rang_freq_with_labels('dna-chars', get_characters(dna))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Tryplety — znaczące cząstki genotypu\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Nukleotydy rzeczywiście są jak litery, same w sobie nie niosą\n",
"znaczenia. Dopiero ciągi trzech nukleotydów, *tryplety*, kodują jeden\n",
"z dwudziestu aminokwasów.\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/dna-aminos.png'"
]
},
"execution_count": 22,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAuEAAADCCAYAAADn5xwjAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAbKElEQVR4nO3df7hdVX3n8ffHoEhVFCFQJGC0pk6BUSqRUm3HCm2JhRnQooZpC23T0lqsWqdVcDqP2Bme4jhKVQotI1Sgo5ChVagWlQEZrYNgUBSDRVL5YQQFBCG0giR+54+9rj1cbm4OMXuf5OT9ep7znLO/Z6/9XTvJPfmedddeO1WFJEmSpOE8btIdkCRJkrY3FuGSJEnSwCzCJUmSpIFZhEuSJEkDswiXJEmSBmYRLkmSJA1sh0l3YBJ22223Wrx48aS7IUmSpCl27bXX3l1VC+d6b7sswhcvXsyqVasm3Q1JkiRNsSS3buw9p6NIkiRJA7MIlyRJkgZmES5JkiQNzCJckiRJGphFuCRJkjSw7XJ1lElZfO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nYFzi555zQ/eezduTRyzJKM9oH71HAS5LcnOQa4Fy6C0qmzTF0q0uM+hu6eXvT6IPA8+mm3Qxl9pzwwVZHaf/JLgP+OMmRQ+UdSvtZfTnwC+mWKFxN95k0VReMj5zn0UluAr4NfL+qTplsz6bGzM/oauD/0F3/9LYB87+TbrWSvl3f8nx2Vuy+qrp7gPyDq6q1VfXuSffjh+UdMyVJ2gokeRHdF8pXVNX2cGGqtF2zCJckSb1q16lcPsdbh7ZVjqTtjkW4JEmSNDDnhEuSJEkDswiXJEmSBmYRLkmSJA3MIlySJEkamEW4JEmSNDCLcEmSJGlg/x+2x6C903VV6gAAAABJRU5ErkJggg==\n",
"text/plain": [
"<Figure size 864x216 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"genetic_code = {\n",
" 'ATA':'I', 'ATC':'I', 'ATT':'I', 'ATG':'M',\n",
" 'ACA':'T', 'ACC':'T', 'ACG':'T', 'ACT':'T',\n",
" 'AAC':'N', 'AAT':'N', 'AAA':'K', 'AAG':'K',\n",
" 'AGC':'S', 'AGT':'S', 'AGA':'R', 'AGG':'R',\n",
" 'CTA':'L', 'CTC':'L', 'CTG':'L', 'CTT':'L',\n",
" 'CCA':'P', 'CCC':'P', 'CCG':'P', 'CCT':'P',\n",
" 'CAC':'H', 'CAT':'H', 'CAA':'Q', 'CAG':'Q',\n",
" 'CGA':'R', 'CGC':'R', 'CGG':'R', 'CGT':'R',\n",
" 'GTA':'V', 'GTC':'V', 'GTG':'V', 'GTT':'V',\n",
" 'GCA':'A', 'GCC':'A', 'GCG':'A', 'GCT':'A',\n",
" 'GAC':'D', 'GAT':'D', 'GAA':'E', 'GAG':'E',\n",
" 'GGA':'G', 'GGC':'G', 'GGG':'G', 'GGT':'G',\n",
" 'TCA':'S', 'TCC':'S', 'TCG':'S', 'TCT':'S',\n",
" 'TTC':'F', 'TTT':'F', 'TTA':'L', 'TTG':'L',\n",
" 'TAC':'Y', 'TAT':'Y', 'TAA':'_', 'TAG':'_',\n",
" 'TGC':'C', 'TGT':'C', 'TGA':'_', 'TGG':'W',\n",
" }\n",
"\n",
"def get_triplets(t):\n",
" for triplet in re.finditer(r'.{3}', t):\n",
" yield genetic_code[triplet.group(0)]\n",
"\n",
"rang_freq_with_labels('dna-aminos', get_triplets(dna))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### „Zdania” w języku DNA\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Z aminokwasów zakodowanych przez tryplet budowane są białka.\n",
"Maszyneria budująca białka czyta sekwencję aż do napotkania\n",
"trypletu STOP (\\_ powyżej). Taka sekwencja to *gen*.\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'02_Jezyki/dna_length.png'"
]
},
"execution_count": 23,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAD4CAYAAAAAczaOAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAV5klEQVR4nO3dbYxc53ne8f8V0pblF9ZStBJYki7pgnVLCbBsESpTN0ZbJRFtp6baQgWNpiJaAWwFpbX7goaqgTr9QEDuS9AIrRSwtiuqdawwjg0RMZSaYOMGBVTLK1k2Rcks15YsbciQGxWpmbpgQuXuh3noHC+Hu7MUd2bF8/8Bg3PmnvPM3ntWuubwmTNzUlVIkvrhRybdgCRpfAx9SeoRQ1+SesTQl6QeMfQlqUdWT7qBxVx33XW1cePGSbchSa8rTz311O9W1dT8+ooP/Y0bNzI9PT3pNiTpdSXJd4fVnd6RpB4x9CWpRwx9SeoRQ1+SesTQl6QeMfQlqUcMfUnqEUNfknrE0JekHhkp9JP8oyRHkzyb5HNJ3pTk2iSHkhxvy2s629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HgV1tpJe3DhVysn0nuy48D54DPttJJ4B1V9R7gHwO/nGTNhHpc6t91UvvxI/zwAchK2ocLuhJDf0V91UOSNzAI/M9W1RcAqupUVb1aVX8E/Ef+ePph7L1X1Ym2PA18sfVyqv2z9Pw/T09Pqr+ODwBPV9Wp1u+K2YfNUvfZLD88vTKWPpPsAn4a+FttuoE2ZfJKW3+KwXz5n5lEj5fwdx17j0lWA38d+JVO3ytmHy7mSgz9FfNVD23e79PA81X1C5362s5mfw04f3bAQWBnkquSbAI2M3gTaLn6e0uSt51fZ/BG37Otj11ts13AY5Pob54fOrJaKfuwY0n7rE0BnUmyrf13cldnzLLI4AJGPwd8uKq+36lPZXCtC5K8s/X4nQn1uKS/6yR6BH4C+FZV/WDaZiXtw0VN8l3k5boBH2Rwpsy3gY9PsI+/yOCfct8Enmm3DwL/GTjS6geBtZ0xH299H2OZ3+VncIbTN9rt6Pl9BfwocBg43pbXTqK/zs98M/AK8Cc6tYntQwYvPieBP2RwJHf3pewzYCuDUPs28O9pn5Bfxh5nGMyLn/9v8Zfatn+j/f2/ATwN/NUJ9rjkv+ty9Tisv1Z/GPj787adyD68lJtfwyBJPXIlTu9Iki7C0JekHjH0JalHDH1J6hFDX5J6xNCXpB4x9CWpR/4/m4TDqkDtsIcAAAAASUVORK5CYII=\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"def get_genes(triplets):\n",
" gene = []\n",
" for ammino in triplets:\n",
" if ammino == '_':\n",
" yield gene\n",
" gene = []\n",
" else:\n",
" gene.append(ammino)\n",
"\n",
"plt.figure().clear()\n",
"plt.hist([len(g) for g in get_genes(get_triplets(dna))], bins=100)\n",
"\n",
"fname = '02_Jezyki/dna_length.png'\n",
"\n",
"plt.savefig(fname)\n",
"\n",
"fname"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"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.10.2"
},
"org": null
},
"nbformat": 4,
"nbformat_minor": 1
}