{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Posterior probabilities and Likelyhoods for origin based on word pronunciation\n", "\n", "Tables with the posterior probabilities and likelihoods of *being from a region* based on the *stated pronunciation of one specific word*" ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [], "source": [ "import sys\n", "sys.path.append('..')\n", "\n", "from stimmen.cbs import province_geojson, gwb_in_province\n", "\n", "import pandas\n", "import MySQLdb\n", "import numpy\n", "import json\n", "\n", "db = MySQLdb.connect(user='root', passwd='Nmmxhjgt1@', db='stimmen')\n", "\n", "from matplotlib import pyplot\n", "import folium\n", "from IPython.display import display\n", "from shapely.geometry import Polygon, MultiPolygon, shape, Point\n", "from jupyter_progressbar import ProgressBar\n", "from collections import defaultdict\n", "from ipy_table import make_table" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [], "source": [ "gemeentes = gwb_in_province('Friesland', region_level='gem', region_year=2018)" ] }, { "cell_type": "code", "execution_count": 11, "metadata": {}, "outputs": [], "source": [ "gemeente_shapes = [shape(feature['geometry']) for feature in gemeentes['features']]\n", "gemeente_names = [feature['properties']['GM_NAAM'] for feature in gemeentes['features']]\n", "\n", "def get_gemeente(point):\n", " for i, shape_ in enumerate(gemeente_shapes):\n", " if shape_.contains(point):\n", " return i\n", " return -1" ] }, { "cell_type": "code", "execution_count": 14, "metadata": {}, "outputs": [], "source": [ "# Answers to how participants state a word should be pronounces.\n", "\n", "answers = pandas.read_sql('''\n", "SELECT prediction_quiz_id, user_lat, user_lng, question_text, answer_text\n", "FROM core_surveyresult as survey\n", "INNER JOIN core_predictionquizresult as result ON survey.id = result.survey_result_id\n", "INNER JOIN core_predictionquizresultquestionanswer as answer\n", " ON result.id = answer.prediction_quiz_id\n", "''', db)" ] }, { "cell_type": "code", "execution_count": 15, "metadata": {}, "outputs": [], "source": [ "# Takes approximately 2 minutes\n", "\n", "gemeente_map = {\n", " (lng, lat): get_gemeente(Point(lng, lat))\n", " for lng, lat in set(zip(answers['user_lng'], answers['user_lat']))\n", "}\n", "\n", "answers['gemeente'] = [\n", " gemeente_map[(lng, lat)]\n", " for lat, lng in zip(answers['user_lat'], answers['user_lng'])\n", "]" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Posterior probability\n", "\n", "Probability for a gemeente given a specific pronunciation." ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "scrolled": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "\"armen\" (*lichaamsdeel)\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
_____n (??m?n)171.397259%6%6%12%6%6%6%
_____n (?Rm?n)20.693150%50%
_____n (e:?m?n)120.679258%42%
_____n (j??m?n)691.145059%7%3%25%4%1%
_____s (?:?ms)140.830564%7%29%
_____s (j??m?ns)10.0000100%
_____s (j??ms)281.461550%4%7%4%21%11%4%
a____n (??m?n)1872.33077%3%2%5%2%2%5%4%2%26%1%1%2%2%20%1%3%12%
a____n (?Rm?n)372.24015%3%3%5%3%5%5%3%30%3%16%3%14%3%
a____s (??ms)362.41346%6%19%3%3%3%11%14%3%3%8%11%8%3%
e____n (??m?n)241.94284%4%12%4%4%8%29%12%21%
e____n (e:?m?n)2022.41027%1%18%6%1%4%2%12%1%4%2%4%19%5%11%
e____s (?:?ms)1762.47419%7%6%13%5%7%5%6%5%6%10%5%16%
j____n (j??m?n)13232.46887%5%9%5%4%1%4%3%13%1%4%6%21%8%11%
j____s (j??m?ns)421.672910%5%26%2%2%2%2%43%2%5%
j____s (j??ms)7972.537114%12%3%11%5%5%5%7%2%8%9%5%8%6%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"avond\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
_____n (???n)20.693150%50%
_____n (?w?n)20.693150%50%
_____nd (?:bn?t)10.0000100%
_____nd (a:v?nt)50.673060%40%
a___n (???n)431.696112%2%5%2%2%5%7%2%14%49%
a__nd (a:v?nt)1101.94394%1%1%5%2%7%4%4%35%4%15%19%
i___n (?w?n)132.031815%15%8%15%8%15%8%15%
i___nd (?.?nt)70.796314%14%71%
j____n (joun)260.843669%23%4%4%
j____n (jun)781.374156%4%1%6%3%1%23%1%3%1%
j____ne (jaun?)100.325190%10%
j____ne (jun?)191.357142%11%32%11%5%
j___n (joun)2862.594910%3%9%6%3%6%2%9%3%9%14%11%6%7%1%
j___ne (j?:n?)801.680045%9%11%1%1%8%14%1%10%
j___ne (jaun?)161.890431%6%6%12%6%6%12%19%
j__n (jun)20442.50777%6%9%7%4%5%3%12%1%5%5%18%7%10%
j__ne (jun?)2172.322115%18%1%18%4%1%3%6%1%6%7%3%12%1%
o___nd (?:bn?t)81.906212%12%12%12%12%12%25%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"bij\" (*insect)\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
b___ (b?i)23042.55497%6%7%8%4%1%4%3%12%1%5%6%17%6%11%
b___ (be:i)1561.917937%23%1%2%1%1%8%3%1%4%9%7%4%
b___ (bi:)392.277018%5%3%5%10%13%5%3%5%21%8%5%
b___ (bæi)2062.542410%6%14%6%2%9%2%9%1%9%8%6%11%7%
b____ (b?i)1061.327758%1%2%1%2%2%1%25%1%3%4%1%
b____ (b?i?)642.401320%2%5%5%6%6%2%14%3%8%14%6%6%3%
b____ (be:i)100.940470%10%10%10%
b____ (bi:)20.693150%50%
b____ (bæi)101.279930%20%10%40%
h_________r (h?n??ow?r)61.242550%17%17%17%
h_________r (hy:n?xau?r)30.636567%33%
h_______r (h?n??ow?r)221.92479%5%9%5%14%14%18%27%
h______r (hy:n?xau?r)20.693150%50%
h_____k (hork)20.693150%50%
h___k (hork)191.807616%5%5%5%5%37%11%16%
i____ (im?)51.332220%20%40%20%
i__________r (i:n?fand?r)20.0000100%
i_______r (i:n?fand?r)91.889211%11%22%11%22%11%11%
k___ (ko:k?n)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"blad\" (aan een boom)\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
b___ (bl?:t)22112.51739%6%8%9%5%4%4%11%1%3%4%18%7%10%
b___ (bl?d)932.281411%6%4%2%2%1%9%3%3%30%1%2%11%3%11%
b___ (bl?t)1011.89627%4%1%2%3%7%20%2%1%19%1%34%
b___ (blet)5622.369121%7%6%2%7%5%5%2%14%14%5%8%2%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"borst\" (*lichaamsdeel)\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
b___t (b??t)241.96588%4%4%12%4%4%4%42%4%8%4%
b__st (b??st)2592.34879%1%1%11%4%2%3%5%3%17%1%1%2%2%25%3%10%1%
b__st (b?ast)6962.200629%8%2%2%1%7%8%2%3%14%14%2%7%1%
b__st (b?st)2231.72524%1%49%3%2%3%1%8%1%18%2%8%
b__st (bost)682.23014%4%1%3%1%3%3%4%3%16%4%22%1%3%25%
b__st (bw?st)16972.44346%7%3%11%6%3%4%14%2%4%18%8%13%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"dag\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
___ch (?:x)00
d___ (d?:x)611.84027%3%2%7%3%3%2%3%16%2%7%46%
d___ (d??)1271.332557%4%1%3%2%1%24%1%2%4%1%
d___ (d?x)1642.340413%4%3%1%3%2%4%4%7%26%1%1%1%15%1%2%12%1%
d__i (d??)26152.56049%7%8%8%4%4%3%10%1%5%7%16%7%9%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"deurtje\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
___ch (?.?x)00
d_____ (d?:?k?)301.131863%3%3%20%3%7%
d_____ (d?:tin)41.386325%25%25%25%
d_____ (d?:tsi)681.64907%3%1%1%1%1%1%16%1%21%44%
d_____ (d??k?)10.0000100%
d_____ (d??ti)61.329733%17%17%33%
d_____ (do:?tj?)20.693150%50%
d_____ (do?tj?)50.950320%20%60%
d_____ (dw??k?)971.319657%4%1%4%2%25%3%3%1%
d_____ (dø:?tj?)10.0000100%
d____e (d?:?k?)4062.50439%1%4%15%7%2%2%4%2%12%1%4%3%18%6%9%
d____e (d??k?)891.26632%2%69%1%1%1%1%4%2%11%3%1%
d____e (do:?tj?)362.14788%6%3%3%6%6%25%6%3%25%3%8%
d____e (do?tj?)692.284013%3%3%4%6%7%4%1%29%1%1%1%9%3%13%
d____e (dw??k?)21382.55519%8%4%8%5%5%4%11%1%6%7%15%8%9%
d____e (dø:?tj?)70.598329%71%
‘n lid d__ (da:?)20.0000100%
‘n lid d__r (da:?)61.560717%17%17%17%33%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"geel\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
___ch (?:x)00
___l (???l)19592.462215%5%10%3%1%5%6%8%1%7%9%17%7%5%
___l (?e:l)2662.38806%1%7%2%14%9%1%2%2%21%1%1%1%11%5%15%1%
___l (?e?l)6992.29192%1%9%1%17%10%1%2%2%14%1%1%1%10%6%21%
___l (?i?l)432.22999%2%9%2%9%2%7%23%2%14%5%14%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"gegaan\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
g___ (?i?n)412.494012%5%7%2%2%5%10%7%2%2%10%15%2%2%15%
g___ (g?:n)7572.385822%4%6%1%1%8%4%8%2%11%13%4%10%5%
g___ (g?nt)171.645929%6%12%6%35%6%6%
g___ (ga:n)1112.15505%6%2%1%5%4%5%5%21%2%2%1%18%25%
g___ (gi?n)14212.52148%10%7%13%6%2%6%9%1%3%1%4%16%7%7%
g___ (gi?nt)1271.90187%3%23%4%2%1%3%2%7%1%1%40%2%5%
g___ (gon?n)4052.16716%2%5%2%2%4%1%18%3%4%24%4%23%
g___ (x?:n)111.720218%18%18%27%9%9%
g___ (x?n)181.937122%17%11%6%11%6%22%6%
g___ (x?xa:n)591.73677%2%7%2%3%46%2%2%12%2%17%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"gezet\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
___n (s?dn)2972.55138%5%9%6%3%4%6%12%6%1%7%15%8%8%
___n (s?tn)11642.460111%5%10%6%4%1%4%4%10%4%4%21%6%11%
___t (??s?t)5632.581811%8%6%7%3%1%5%4%11%1%5%7%14%6%9%
___t (s?t)8182.596013%1%7%3%10%5%5%6%11%2%6%8%7%8%8%
___t (x?s?t)1252.424816%1%5%4%4%2%3%1%4%23%1%4%2%5%12%2%11%1%
k____e (kojts?)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"heel\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
h____ (h??l)1031.064062%4%2%1%27%1%1%2%
h____ (he:l)181.608750%6%6%6%6%17%6%6%
h____ (he?l)131.410554%8%8%8%15%8%
h____ (hi:l)71.277043%14%14%29%
h____ (hø:l)20.693150%50%
h___l (h??l)12972.524616%8%4%7%2%4%6%11%1%5%8%11%8%6%
h___l (he:l)9432.41022%5%11%9%6%1%4%1%13%3%1%3%20%6%15%
h___l (he?l)4232.39102%6%11%8%6%1%4%1%12%2%1%4%22%5%13%
h___l (hi:l)502.160714%12%6%2%2%2%16%10%22%8%6%
h___l (hø:l)1111.97983%2%1%14%4%3%9%32%22%6%4%2%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"kaas\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
____e (kez?)81.494238%12%25%12%12%
____s (k?:?s)362.199319%3%6%6%3%14%17%8%8%3%14%
____s (k?:s)111.846218%9%9%9%18%27%9%
____s (ke?s)711.95266%7%1%3%4%1%6%15%1%18%1%35%
____s (se?s)141.45087%7%7%7%7%57%7%
____s (si:s)5932.445215%4%13%3%2%9%2%7%2%13%13%10%5%3%1%
____s (tsi:s)21352.516811%7%6%9%5%3%5%11%1%3%5%16%8%10%
___t (s?t)00
k___s (ka:s)992.09625%1%2%2%6%1%6%4%4%36%3%14%2%13%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"koken\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
k___ (k?tj?)20.0000100%
k___ (ko:k?n)2062.408023%1%7%4%2%1%9%12%1%3%5%10%9%9%
k___ (kou?n)332.227827%6%3%3%3%6%15%9%3%6%9%9%
k____ (k?:kj?)31.098633%33%33%
k____ (kojts?)40.562325%75%
k____ (kouk?)241.055771%8%8%4%4%4%
k____e (kojts?)2231.74481%43%17%4%2%11%1%16%2%1%
k____e (kouk?)3322.463712%1%5%3%8%3%2%1%3%18%3%1%3%12%7%16%
k___e (k?:kj?)431.19485%2%5%2%2%9%2%2%70%
k___e (k?kj?)1781.13431%1%33%1%1%1%1%56%2%4%
k___e (k?tj?)91.523022%11%11%22%33%
s___ (s????)701.501950%6%1%7%3%24%3%4%1%
s___ (s??d?)20.693150%50%
s___e (s????)16392.53599%8%2%10%5%4%4%12%1%5%9%11%8%11%
s___e (s??d?)1582.46429%6%5%7%4%4%4%18%1%5%7%15%6%8%
sp___e (sp??kt?)00
ts___ (ts??d?)10.0000100%
ts___e (ts??d?)402.306215%8%8%12%8%5%10%5%5%18%8%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"oog\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
___ch (?.?x)6342.23246%2%4%4%2%3%2%21%1%3%1%3%15%3%27%
___ch (?:x)3572.10936%7%1%33%21%2%5%6%1%1%1%3%3%6%4%
___ch (a?x)221.944014%9%5%5%5%9%5%32%18%
___ch (e?x)17632.474315%8%10%3%1%5%5%7%1%7%8%17%8%3%
h___l (he?l)00
o___ (o:x)1632.03247%3%1%1%4%1%6%2%4%27%1%15%2%26%
o___ (o??)282.127321%7%4%4%7%25%4%11%4%11%4%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"sprak (toe)\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
sp___ (sp??k)241.242550%4%4%4%33%4%
sp___ (sp??kt?)211.142533%14%48%5%
sp___ (sp??ts)821.285263%2%1%5%2%16%4%5%1%
sp___ (sp?e?k)41.039750%25%25%
sp___ (sp?i:k)30.636567%33%
sp___ (sp?øk)20.693150%50%
sp___ (spR?k)70.0000100%
sp___e (sp??kt?)2342.432515%6%11%5%1%1%5%9%1%7%6%17%8%8%
sp___k (sp?e?k)182.062117%6%11%11%6%6%17%6%22%
sp___k (sp?øk)142.106614%14%14%7%7%21%7%7%7%
sp___k (spR?k)382.301018%3%3%5%8%3%3%18%3%5%13%5%13%
sp___s (sp??ts)21462.55569%7%7%8%4%5%3%11%1%6%7%16%7%9%
sp__k (sp??k)2872.42726%2%2%5%7%2%4%3%4%22%1%2%1%3%14%3%19%
sp__k (sp?i:k)872.27758%2%11%14%1%1%3%1%8%6%3%22%2%16%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"tand\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
k____ (ki:z?)10.0000100%
k___e (ki:z?)162.18306%6%6%6%6%6%12%6%31%6%6%
t____ (t?:n)61.011450%17%33%
t____ (t?nt)100.897960%10%30%
t____ (t?sk)360.902264%6%28%3%
t____ (t?sk?)10.0000100%
t____ (ta:n?)00
t____ (tosk)891.413355%3%1%4%2%24%1%3%4%1%
t___d (t?nt)1221.78633%3%1%7%2%3%38%2%1%12%1%27%1%
t___e (t?sk?)782.38045%1%22%6%3%1%13%4%8%12%5%12%5%4%
t___e (ta:n?)51.332220%20%40%20%
t___k (t?sk)2151.589653%15%2%15%1%2%1%4%2%2%1%
t___n (t?:n)772.53768%8%4%4%4%4%4%4%12%4%3%14%1%9%17%1%
t___s (tos)152.15357%13%7%7%7%7%7%27%7%13%
t___sk (tosk)22962.52706%6%8%8%4%5%3%11%1%6%7%17%8%10%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"trein\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
t____ (t???n)1031.385158%2%1%4%2%2%21%1%3%5%1%
t____ (t?e?n)310.986461%10%3%26%
t____ (tR??n)90.965044%11%44%
t____n (t???n)24012.53677%4%8%8%4%1%5%2%12%1%5%6%17%6%11%
t____n (t?e?n)2592.125523%26%1%4%2%1%14%3%1%3%1%5%5%11%1%
t____n (tR??n)1642.504313%4%4%5%5%1%7%5%12%1%4%13%11%10%4%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"vis\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
___s (f?s)8282.483411%1%2%17%3%1%2%7%3%10%2%8%6%16%3%9%
___sk (fisk)21392.524612%8%3%9%5%3%5%12%4%6%15%8%10%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"zaterdag\"\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
s_____ (s?:t??j?)7742.052728%12%1%3%12%2%3%11%14%1%13%
s_____ (sa:t?d?x)1562.281112%3%3%1%2%1%5%3%4%31%2%1%2%1%14%2%12%1%
s_____ (sa:t?dex)451.68584%4%2%2%4%4%2%16%2%2%2%53%
s_____ (sa:t?di)1742.007832%9%3%1%5%5%1%1%10%1%17%1%15%
s_____ (sn??n)351.548140%3%3%11%6%3%31%3%
s_____ (sn??t)110.88569%9%9%73%
s_____ (sn?wn)20.0000100%
s_____ (snjoun)31.098633%33%33%
s____n (sn??n)16852.26851%4%12%11%6%5%1%15%2%2%23%4%13%
s____n (sn?wn)212.14945%5%14%10%10%10%5%5%24%14%
s____n (snjoun)612.46867%10%11%7%2%3%3%8%2%3%2%21%2%7%11%2%
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "armen\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
_____n (??m?n)00
_____n (e:?m?n)00
_____s (?:?ms)00
_____s (??ms)00
_____s (j??ms)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "avond\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
_____n (?w?n)00
_____nd (?.?nt)00
_____nd (a:v?nt)00
j____n (joun)00
j____n (jun)00
j____ne (jaun?)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "bij\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
b____ (b?i)00
b____ (bæi)00
h_________r (h?n??ow?r)00
h_________r (hy:n?xau?r)00
h_____k (hork)00
i__________r (i:n?fand?r)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "blad\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
b___ (bl?:t)00
b___ (bl?d)00
b___ (bl?t)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "borst\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
b___t (b??t)00
b__st (b??st)00
b__st (b?st)00
b__st (bost)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "dag\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
d___ (d?:x)00
d___ (d??)00
d___ (d?x)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "deurtje\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
d_____ (d?:?k?)00
d_____ (do?tj?)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "geel\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
___l (???l)00
___l (?e:l)00
___l (?e?l)00
___l (?i?l)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "heel\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
h____ (h??l)00
h____ (he:l)00
h____ (he?l)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "ik ben gegaan\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
g___ (?i?n)00
g___ (ga:n)00
g___ (gi?n)00
g___ (gi?nt)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "ik heb gezet\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
___n (s?tn)00
___t (s?t)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "ik sprak\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
sp___ (sp??k)00
sp___ (sp??kt?)00
sp___ (sp??ts)00
sp___ (sp?e?k)00
sp___ (sp?i:k)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "kaas\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
____s (k?:?s)00
____s (k?:s)00
____s (ke?s)00
____s (se?s)00
____s (tsi:s)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "koken\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
k___ (k?tj?)00
k___ (ko:k?n)00
k____ (kojts?)00
k____ (kouk?)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "oog\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
___ch (?.?x)00
___ch (?:x)00
___ch (e?x)00
o___ (o:x)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "tand\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
k____ (ki:z?)00
t____ (t?:n)00
t____ (tos)00
t____ (tosk)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "trein\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
t____ (t???n)00
t____ (t?e?n)00
t____ (tR??n)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "vis\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
___s (f?s)00
___sk (fisk)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "zaterdag\n" ] }, { "data": { "text/html": [ "
supportentropyAchtkarspelenAmelandDantumadielDe Fryske MarrenDongeradeelFerwerderadielHarlingenHeerenveenKollumerland c.a.LeeuwardenOoststellingwerfOpsterlandSchiermonnikoogSmallingerlandSúdwest-FryslânTerschellingTytsjerksteradielVlielandWaadhoekeWeststellingwerf
s_____ (sa:t?d?x)00
s_____ (sn?wn)00
s_____ (snjoun)00
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "colors = pyplot.get_cmap('tab20').colors\n", "\n", "for question, rows in answers.groupby('question_text'):\n", " answer_texts = set(rows['answer_text'])\n", " print(question)\n", " display(make_table(\n", " [['', 'support', 'entropy'] + gemeente_names] + [\n", " [\n", " answer_text, summed,\n", " sum(\n", " -numpy.log(p) * p\n", " for gemeente, count in counts.items()\n", " if gemeente >= 0\n", " for p in [count / summed if summed > 0 else 0] # alias\n", " )] + [\n", " '%d%%' % percentage if percentage > 0 else ''\n", " for gemeente, gemeente_name in enumerate(gemeente_names)\n", " for percentage in [round(100 * counts[gemeente] / summed) if summed > 0 else 0] # alias\n", " ]\n", " for answer_text, rows_ in rows.groupby('answer_text')\n", " \n", " for counts in [defaultdict(lambda: 0, rows_['gemeente'][rows_['gemeente'] >= 0].value_counts())] # alias\n", " for summed in [sum(counts.values())] # alias\n", " ]\n", " ))" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Likelyhoods\n", "\n", "Probabilty of a pronunciation given that someone is from a municipality" ] }, { "cell_type": "code", "execution_count": 52, "metadata": { "scrolled": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "\"armen\" (*lichaamsdeel)\n" ] }, { "data": { "text/html": [ "
_____n (?Rm?n)_____s (j??m?ns)j____s (j??ms)_____s (?:?ms)_____n (j??m?n)_____s (j??ms)a____n (?Rm?n)_____n (e:?m?n)j____n (j??m?n)e____s (?:?ms)e____n (??m?n)j____s (j??m?ns)_____n (??m?n)e____n (e:?m?n)a____s (??ms)a____n (??m?n)
Achtkarspelen33.00003.000012.00004.00001.00002.000027.00005.00001.00003.00004.00001.00004.0000
Ameland12.000012.000012.000062.0000
Dantumadiel51.00003.00001.000034.00007.00001.00002.00002.0000
De Fryske Marren11.000055.00005.00005.000017.00001.00004.0000
Dongeradeel42.00001.00001.00001.000033.000011.00006.00003.00002.0000
Ferwerderadiel36.00001.00001.000044.00007.00003.00001.00003.00001.00004.0000
Harlingen5.000010.000035.00005.000045.0000
Heerenveen33.00002.000040.000010.00001.00002.00007.00001.00006.0000
Kollumerland c.a.1.000029.00003.000013.00005.00001.00004.000029.00007.00001.00001.00003.00003.00003.0000
Leeuwarden17.00003.000051.00003.00008.00002.000015.0000
Ooststellingwerf44.000037.00007.00004.00007.0000
Opsterland45.000041.00006.00006.00001.00001.0000
Schiermonnikoog17.000017.000033.000033.0000
Smallingerland40.00002.00001.000043.00006.00001.00004.00002.00002.0000
Súdwest-Fryslân9.00001.000062.00004.00002.00004.00009.00001.00009.0000
Terschelling100.0000
Tytsjerksteradiel32.00002.00001.00001.000051.00004.00002.00001.00001.00005.00003.0000
Waadhoeke18.00002.000050.000010.00002.00001.00008.00001.00008.0000
Weststellingwerf14.000014.000043.000014.000014.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"avond\"\n" ] }, { "data": { "text/html": [ "
j__n (jun)_____n (???n)a___n (???n)j___n (joun)j____n (jun)_____n (?w?n)i___nd (?.?nt)_____nd (?:bn?t)_____nd (a:v?nt)i___n (?w?n)o___nd (?:bn?t)a__nd (a:v?nt)j___ne (j?:n?)j____ne (jaun?)j___ne (jaun?)j__ne (jun?)j____n (joun)j____ne (jun?)
Achtkarspelen43.00008.000013.00001.00001.00001.000011.00003.00001.000010.00005.00002.0000
Ameland12.000012.000062.000012.0000
Dantumadiel65.00005.00002.00001.00001.00004.00001.000021.00001.0000
De Fryske Marren86.000012.00001.0000
Dongeradeel69.00001.00007.00002.00002.000018.0000
Ferwerderadiel81.00007.00002.00001.00002.00007.0000
Harlingen40.00005.00005.000040.000010.0000
Heerenveen73.00001.000014.00001.00001.00001.00001.00003.00006.0000
Kollumerland c.a.46.00001.00002.00005.000014.00001.00001.00002.00003.00007.00001.000011.00005.00005.0000
Leeuwarden76.00001.00008.00001.000012.00001.00001.0000
Ooststellingwerf56.000033.00004.00004.00004.0000
Opsterland66.000018.00001.00004.00001.000010.0000
Schiermonnikoog42.00008.00008.000033.00008.0000
Smallingerland60.00001.000022.00001.00006.00001.00009.00001.0000
Súdwest-Fryslân84.00001.00007.00001.00004.00001.00002.0000
Terschelling100.0000
Tytsjerksteradiel71.00009.00001.00001.00004.00001.000014.00001.00001.0000
Waadhoeke75.00007.00007.00001.00007.00001.0000
Weststellingwerf43.000029.000029.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"bij\" (*insect)\n" ] }, { "data": { "text/html": [ "
b____ (be:i)b____ (bi:)b___ (b?i)b___ (bi:)h___k (hork)b____ (b?i)b___ (be:i)i_______r (i:n?fand?r)b___ (bæi)h_______r (h?n??ow?r)h_________r (h?n??ow?r)b____ (b?i?)i____ (im?)k___ (ko:k?n)h______r (hy:n?xau?r)b____ (bæi)h_____k (hork)i__________r (i:n?fand?r)h_________r (hy:n?xau?r)
Achtkarspelen2.000046.00002.00001.000018.000017.00006.00001.00001.00004.00001.00001.00001.0000
Ameland75.000012.000012.0000
Dantumadiel70.00001.00001.000019.00006.00001.00001.00001.00001.0000
De Fryske Marren81.00001.000013.00001.00001.0000
Dongeradeel88.00001.00001.00006.00001.0000
Ferwerderadiel90.00002.00001.00004.00004.0000
Harlingen95.00005.0000
Heerenveen76.00002.00001.00002.00002.000014.00001.00003.0000
Kollumerland c.a.1.00001.000057.00003.000020.00009.00001.00003.00001.00001.00001.00003.00001.0000
Leeuwarden87.00002.00001.00006.00001.00003.00001.0000
Ooststellingwerf89.000011.0000
Opsterland82.00001.00001.000013.00001.00001.0000
Schiermonnikoog58.00008.000017.00008.00008.0000
Smallingerland81.00001.00002.00004.00009.00003.0000
Súdwest-Fryslân88.00002.00002.00003.00003.00001.00002.0000
Terschelling100.0000
Tytsjerksteradiel1.000074.00002.00001.00002.00006.000011.00002.00002.00001.0000
Waadhoeke87.00001.00001.00002.00005.00002.00001.0000
Weststellingwerf71.000029.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"blad\" (aan een boom)\n" ] }, { "data": { "text/html": [ "
b___ (blet)b___ (bl?:t)b___ (bl?t)b___ (bl?d)
Achtkarspelen36.000059.00002.00003.0000
Ameland25.000075.0000
Dantumadiel23.000075.00002.0000
De Fryske Marren16.000083.00001.0000
Dongeradeel6.000092.00002.00001.0000
Ferwerderadiel2.000096.00001.00001.0000
Harlingen5.000045.000010.000040.0000
Heerenveen32.000063.00002.00002.0000
Kollumerland c.a.22.000071.00005.00002.0000
Leeuwarden9.000077.00006.00009.0000
Ooststellingwerf44.000056.0000
Opsterland55.000045.0000
Schiermonnikoog75.000017.00008.0000
Smallingerland45.000053.00001.00001.0000
Súdwest-Fryslân6.000088.00004.00002.0000
Terschelling100.0000
Tytsjerksteradiel24.000074.00001.00002.0000
Waadhoeke4.000081.000012.00004.0000
Weststellingwerf29.000071.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"borst\" (*lichaamsdeel)\n" ] }, { "data": { "text/html": [ "
b__st (b?st)b__st (b??st)b__st (b?ast)b__st (bw?st)b__st (bost)b___t (b??t)
Achtkarspelen2.00007.000059.000030.00001.00001.0000
Ameland38.000012.000038.000012.0000
Dantumadiel2.00001.000031.000065.00001.00001.0000
De Fryske Marren52.000014.00006.000026.00001.00001.0000
Dongeradeel3.00005.00006.000085.0000
Ferwerderadiel5.00005.000089.00002.0000
Harlingen20.000035.000035.000010.0000
Heerenveen5.000010.000038.000044.00002.00001.0000
Kollumerland c.a.2.00006.000044.000046.00002.0000
Leeuwarden5.000014.00005.000073.00003.0000
Ooststellingwerf11.00007.000070.000011.0000
Opsterland1.00002.000067.000028.00002.0000
Schiermonnikoog33.000067.0000
Smallingerland2.000056.000042.0000
Súdwest-Fryslân9.000015.00003.000067.00003.00002.0000
Terschelling100.0000
Tytsjerksteradiel2.00004.000026.000066.00001.00001.0000
Waadhoeke6.00009.00001.000076.00006.00001.0000
Weststellingwerf29.000014.000043.000014.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"dag\"\n" ] }, { "data": { "text/html": [ "
d___ (d??)d___ (d?:x)d__i (d??)d___ (d?x)___ch (?:x)
Achtkarspelen22.00001.000071.00007.0000
Ameland25.000075.0000
Dantumadiel3.00001.000094.00003.0000
De Fryske Marren2.000097.00001.0000
Dongeradeel2.00001.000095.00002.0000
Ferwerderadiel2.00002.000094.00003.0000
Harlingen5.000060.000035.0000
Heerenveen1.00002.000093.00005.0000
Kollumerland c.a.23.000068.00008.0000
Leeuwarden3.000084.000013.0000
Ooststellingwerf100.0000
Opsterland99.00001.0000
Schiermonnikoog92.00008.0000
Smallingerland2.00001.000097.00001.0000
Súdwest-Fryslân1.000094.00005.0000
Terschelling100.0000
Tytsjerksteradiel3.000095.00002.0000
Waadhoeke10.000083.00007.0000
Weststellingwerf86.000014.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"deurtje\"\n" ] }, { "data": { "text/html": [ "
d____e (d?:?k?)d_____ (d?:?k?)‘n lid d__r (da:?)d_____ (do:?tj?)d_____ (d?:tsi)d____e (dw??k?)___ch (?.?x)d____e (d??k?)d_____ (d??k?)d____e (do:?tj?)d_____ (do?tj?)d____e (do?tj?)d_____ (d?:tin)d_____ (dø:?tj?)d_____ (d??ti)d____e (dø:?tj?)d_____ (dw??k?)‘n lid d__ (da:?)
Achtkarspelen11.00006.00001.000059.00001.00001.00003.00001.000016.00001.0000
Ameland50.000012.000012.000025.0000
Dantumadiel9.00001.000087.00001.00001.00002.0000
De Fryske Marren29.00001.000038.000029.00001.00001.0000
Dongeradeel12.000081.00002.00002.0000
Ferwerderadiel6.00001.000088.00001.00001.00001.00002.0000
Harlingen35.00005.000030.00005.000025.0000
Heerenveen13.00001.00001.000079.00001.00002.00001.00002.0000
Kollumerland c.a.7.00005.00001.00001.000063.00001.00002.00002.00001.00001.000018.0000
Leeuwarden15.00003.000070.00001.00003.00006.00001.0000
Ooststellingwerf15.000081.00004.0000
Opsterland12.000086.00001.00001.0000
Schiermonnikoog17.00008.00008.000050.000017.0000
Smallingerland7.000090.00001.00001.00002.0000
Súdwest-Fryslân17.00003.000073.00002.00002.00001.00001.0000
Terschelling100.0000
Tytsjerksteradiel12.00001.000082.00002.00001.00001.00001.00002.0000
Waadhoeke12.00001.000011.000071.00001.00003.0000
Weststellingwerf14.000071.000014.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"geel\"\n" ] }, { "data": { "text/html": [ "
___l (?e?l)___l (?e:l)___l (???l)___ch (?:x)___l (?i?l)
Achtkarspelen4.00005.000090.00001.0000
Ameland50.000025.000012.000012.0000
Dantumadiel34.000010.000056.0000
De Fryske Marren2.00002.000093.00002.0000
Dongeradeel55.000017.000028.0000
Ferwerderadiel64.000022.000014.00001.0000
Harlingen40.000015.000025.000020.0000
Heerenveen13.00004.000083.00001.0000
Kollumerland c.a.11.00004.000083.00002.0000
Leeuwarden30.000017.000050.00003.0000
Ooststellingwerf7.000011.000081.0000
Opsterland4.00002.000094.0000
Schiermonnikoog42.000025.000033.0000
Smallingerland5.00001.000094.00001.0000
Súdwest-Fryslân16.00006.000076.00001.0000
Terschelling100.0000
Tytsjerksteradiel22.00007.000071.00001.0000
Waadhoeke52.000015.000032.00002.0000
Weststellingwerf29.000029.000043.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"gegaan\"\n" ] }, { "data": { "text/html": [ "
g___ (g?:n)g___ (gon?n)g___ (?i?n)g___ (ga:n)g___ (x?:n)g___ (x?xa:n)g___ (g?nt)g___ (x?n)g___ (gi?nt)g___ (gi?n)
Achtkarspelen49.00007.00001.00002.00001.00001.00001.00001.00003.000034.0000
Ameland12.000088.0000
Dantumadiel17.00005.00001.00001.00001.00001.00002.000073.0000
De Fryske Marren21.000010.00001.00001.00001.000014.000050.0000
Dongeradeel5.00004.00002.00001.00002.000086.0000
Ferwerderadiel4.00009.00001.00001.00003.000083.0000
Harlingen5.00005.000020.000010.000020.00005.000035.0000
Heerenveen51.000013.00002.00004.00001.00003.000026.0000
Kollumerland c.a.21.00005.00003.00004.00002.00002.00002.000063.0000
Leeuwarden17.000022.00001.00007.00001.00008.00003.000041.0000
Ooststellingwerf52.00004.00004.00007.000033.0000
Opsterland60.00008.00001.00001.00001.00001.00001.000028.0000
Schiermonnikoog8.000017.00008.000067.0000
Smallingerland57.00008.00002.00001.00001.00002.00001.000029.0000
Súdwest-Fryslân8.000022.00001.00004.00002.00001.000011.000050.0000
Terschelling100.0000
Tytsjerksteradiel40.00009.00001.00001.00001.00001.000049.0000
Waadhoeke13.000033.00002.000010.00004.00002.000035.0000
Weststellingwerf29.000014.000014.000043.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"gezet\"\n" ] }, { "data": { "text/html": [ "
___t (s?t)___t (??s?t)k____e (kojts?)___n (s?dn)___t (x?s?t)___n (s?tn)
Achtkarspelen32.000019.00007.00006.000037.0000
Ameland62.000012.000012.000012.0000
Dantumadiel30.000025.00008.00003.000034.0000
De Fryske Marren11.000017.000013.00002.000056.0000
Dongeradeel39.000019.00009.00002.000031.0000
Ferwerderadiel35.000016.00009.00003.000037.0000
Harlingen5.000030.00005.000020.000040.0000
Heerenveen35.000021.000010.00001.000034.0000
Kollumerland c.a.34.000017.000014.00004.000032.0000
Leeuwarden27.000019.000011.00009.000035.0000
Ooststellingwerf48.000030.00004.000019.0000
Opsterland32.000021.000012.00004.000032.0000
Schiermonnikoog17.00008.000033.000017.000025.0000
Smallingerland38.000021.000012.00003.000026.0000
Súdwest-Fryslân13.000018.000010.00003.000056.0000
Terschelling100.0000
Tytsjerksteradiel35.000018.000012.00001.000035.0000
Waadhoeke23.000019.00009.00005.000044.0000
Weststellingwerf29.000014.000014.000043.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"heel\"\n" ] }, { "data": { "text/html": [ "
h___l (he:l)h___l (hø:l)h___l (he?l)h____ (he:l)h___l (hi:l)h____ (hø:l)h____ (hi:l)h___l (h??l)h____ (h??l)h____ (he?l)
Achtkarspelen7.00001.00003.00003.00002.00001.000063.000019.00002.0000
Ameland38.000025.000025.000012.0000
Dantumadiel24.000015.00003.000055.00002.00001.0000
De Fryske Marren51.000021.00001.000025.0000
Dongeradeel41.000016.000040.00001.0000
Ferwerderadiel49.000022.00001.000027.00001.0000
Harlingen70.000020.000010.0000
Heerenveen29.000012.000015.00001.00001.000041.00001.0000
Kollumerland c.a.6.00003.00002.00002.00001.00001.000062.000021.00002.0000
Leeuwarden36.00001.000015.00002.000045.0000
Ooststellingwerf7.000037.00004.000052.0000
Opsterland18.000026.00007.000049.0000
Schiermonnikoog50.000025.000025.0000
Smallingerland16.000013.00009.00003.00001.000057.00001.00001.0000
Súdwest-Fryslân41.00002.000021.00002.000033.0000
Terschelling100.0000
Tytsjerksteradiel28.00002.000012.00001.00002.00001.000054.00001.0000
Waadhoeke50.00001.000020.00001.000028.0000
Weststellingwerf14.000086.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"kaas\"\n" ] }, { "data": { "text/html": [ "
___t (s?t)____s (k?:s)k___s (ka:s)____s (si:s)____e (kez?)____s (se?s)____s (tsi:s)____s (ke?s)____s (k?:?s)
Achtkarspelen1.00001.000026.00001.000067.00001.00002.0000
Ameland12.000012.000062.000012.0000
Dantumadiel1.000012.000086.00001.0000
De Fryske Marren1.000036.000063.0000
Dongeradeel3.00008.000088.00001.0000
Ferwerderadiel1.00008.00001.000088.00002.0000
Harlingen30.00005.00005.000045.000015.0000
Heerenveen3.000040.000055.00001.00001.0000
Kollumerland c.a.1.00003.00008.00001.000081.00003.00004.0000
Leeuwarden11.000012.00001.000071.00003.00002.0000
Ooststellingwerf41.000059.0000
Opsterland1.000056.00001.000042.00001.0000
Schiermonnikoog8.000025.000017.000025.000025.0000
Smallingerland1.000042.00001.000056.0000
Súdwest-Fryslân1.00003.000014.00002.000077.00003.00001.0000
Terschelling100.0000
Tytsjerksteradiel1.00001.000016.00001.000081.00001.00001.0000
Waadhoeke5.00006.000079.00009.00002.0000
Weststellingwerf43.000014.000043.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"koken\"\n" ] }, { "data": { "text/html": [ "
k____e (kojts?)k___e (k?tj?)k___ (kou?n)s___e (s????)s___e (s??d?)k____ (k?:kj?)k___ (k?tj?)k___e (k?kj?)ts___e (ts??d?)k___e (k?:kj?)k____e (kouk?)k___ (ko:k?n)ts___ (ts??d?)k____ (kojts?)k____ (kouk?)s___ (s????)s___ (s??d?)sp___e (sp??kt?)
Achtkarspelen1.00001.00003.000046.00004.00001.00001.00002.00001.000012.000014.00005.000010.0000
Ameland12.000050.000038.0000
Dantumadiel1.000072.00005.00001.00002.000010.00008.00002.0000
De Fryske Marren45.000016.00004.000028.00005.0000
Dongeradeel73.00005.00001.00001.000012.00004.00002.0000
Ferwerderadiel1.00001.000074.00006.00005.00001.000010.00001.00002.0000
Harlingen5.000030.00005.000035.000025.0000
Heerenveen31.00002.000049.00006.00001.00002.00003.00003.00002.00002.0000
Kollumerland c.a.4.000048.00005.00001.00002.00001.00008.000014.00001.00002.00002.000013.00001.0000
Leeuwarden2.00001.000059.00009.00001.00001.000018.00008.0000
Ooststellingwerf15.000070.00004.00004.00007.0000
Opsterland18.00001.000062.00006.00001.00007.00005.0000
Schiermonnikoog17.000017.000017.00008.00008.000025.00008.0000
Smallingerland1.000079.00006.00001.00005.00006.00001.00001.0000
Súdwest-Fryslân8.00001.00001.000041.00005.000022.00002.00007.00009.00004.0000
Terschelling100.0000
Tytsjerksteradiel1.000070.00005.00001.00002.000012.00009.00001.00002.0000
Waadhoeke2.00001.000063.00005.00003.00001.000018.00007.0000
Weststellingwerf43.000029.000014.000014.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"oog\"\n" ] }, { "data": { "text/html": [ "
___ch (a?x)h___l (he?l)___ch (?.?x)___ch (e?x)___ch (?:x)o___ (o:x)o___ (o??)
Achtkarspelen1.000012.000076.00006.00004.00002.0000
Ameland12.000025.000062.0000
Dantumadiel8.000078.000013.00001.00001.0000
De Fryske Marren11.000086.00002.0000
Dongeradeel1.000013.000028.000055.00003.0000
Ferwerderadiel11.000018.000069.00001.00001.0000
Harlingen15.000040.000045.0000
Heerenveen1.000017.000073.00005.00003.00001.0000
Kollumerland c.a.1.000011.000068.000014.00005.00002.0000
Leeuwarden40.000037.00007.000013.00002.0000
Ooststellingwerf19.000074.00007.0000
Opsterland15.000082.00003.00001.0000
Schiermonnikoog17.000033.000017.000017.000017.0000
Smallingerland1.000011.000083.00005.0000
Súdwest-Fryslân2.000022.000068.00002.00005.00001.0000
Terschelling100.0000
Tytsjerksteradiel2.000010.000074.000011.00002.00001.0000
Waadhoeke61.000017.00006.000015.00001.0000
Weststellingwerf29.000057.000014.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"sprak (toe)\"\n" ] }, { "data": { "text/html": [ "
sp___ (sp?øk)sp__k (sp?i:k)sp___ (sp?i:k)sp__k (sp??k)sp___ (sp??kt?)sp___k (spR?k)sp___k (sp?e?k)sp___ (sp?e?k)sp___ (sp??k)sp___k (sp?øk)sp___s (sp??ts)sp___ (spR?k)sp___ (sp??ts)sp___e (sp??kt?)
Achtkarspelen2.00001.00005.00002.00002.00001.00001.00004.00001.000054.00002.000015.000010.0000
Ameland62.000012.000012.000012.0000
Dantumadiel1.00003.00002.00001.000085.00001.00008.0000
De Fryske Marren5.00006.00001.00001.000074.000012.0000
Dongeradeel6.00009.00001.000077.00002.00005.0000
Ferwerderadiel1.00005.00003.00001.000086.00002.00003.0000
Harlingen5.000055.00005.000035.0000
Heerenveen2.00007.00001.00002.00001.00001.00001.000084.00002.0000
Kollumerland c.a.1.00001.00001.00008.00008.00002.00001.00006.00001.000054.000010.00009.0000
Leeuwarden2.000019.00002.000070.00006.0000
Ooststellingwerf15.000074.000011.0000
Opsterland4.00001.000084.000011.0000
Schiermonnikoog42.000025.00008.000017.00008.0000
Smallingerland2.00004.00001.000084.00002.00007.0000
Súdwest-Fryslân4.00009.00001.00001.00001.000075.00009.0000
Terschelling100.0000
Tytsjerksteradiel1.00005.00001.00001.00001.00001.000080.00002.000010.0000
Waadhoeke5.000020.00002.00001.000065.00007.0000
Weststellingwerf14.000014.000071.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"tand\"\n" ] }, { "data": { "text/html": [ "
k____ (ki:z?)k___e (ki:z?)t____ (t?:n)t____ (ta:n?)t___k (t?sk)t____ (t?sk?)t____ (t?sk)t____ (tosk)t___e (t?sk?)t___d (t?nt)t___n (t?:n)t___sk (tosk)t____ (t?nt)t___s (tos)t___e (ta:n?)
Achtkarspelen1.000033.00007.000014.00001.00001.00002.000038.00002.0000
Ameland12.000075.000012.0000
Dantumadiel1.000018.00001.00002.00001.00002.000077.0000
De Fryske Marren8.00001.000088.00001.0000
Dongeradeel2.00002.00002.00002.00001.000089.0000
Ferwerderadiel1.00002.00002.00001.00003.000092.0000
Harlingen5.00005.000040.000015.000035.0000
Heerenveen2.00001.00008.00002.00002.000085.00001.0000
Kollumerland c.a.24.00008.000016.00002.00003.000044.00002.00001.00001.0000
Leeuwarden1.00002.000014.00003.000080.0000
Ooststellingwerf15.000081.00004.0000
Opsterland1.00001.00006.000091.0000
Schiermonnikoog17.000017.000025.000033.00008.0000
Smallingerland1.00005.00002.00002.00001.00001.000088.00001.0000
Súdwest-Fryslân1.00001.00002.00003.00002.000089.00001.0000
Terschelling100.0000
Tytsjerksteradiel1.00002.00001.00002.00002.00001.00004.000088.00001.0000
Waadhoeke1.00001.000012.00005.000080.00001.0000
Weststellingwerf14.000014.000071.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"trein\"\n" ] }, { "data": { "text/html": [ "
t____n (t?e?n)t____n (tR??n)t____n (t???n)t____ (t???n)t____ (tR??n)t____ (t?e?n)
Achtkarspelen18.00007.000051.000018.00001.00006.0000
Ameland88.000012.0000
Dantumadiel37.00004.000057.00001.00002.0000
De Fryske Marren1.00003.000095.0000
Dongeradeel5.00004.000089.00002.0000
Ferwerderadiel4.00007.000087.00002.0000
Harlingen5.000010.000085.0000
Heerenveen2.00009.000088.00002.0000
Kollumerland c.a.28.00006.000041.000017.00003.00006.0000
Leeuwarden2.00006.000091.0000
Ooststellingwerf11.00004.000085.0000
Opsterland5.00005.000090.0000
Schiermonnikoog17.000083.0000
Smallingerland7.000012.000079.00002.0000
Súdwest-Fryslân3.00004.000093.0000
Terschelling100.0000
Tytsjerksteradiel14.00009.000075.00003.0000
Waadhoeke1.00002.000097.0000
Weststellingwerf100.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"vis\"\n" ] }, { "data": { "text/html": [ "
___sk (fisk)___s (f?s)
Achtkarspelen73.000027.0000
Ameland12.000088.0000
Dantumadiel91.00009.0000
De Fryske Marren35.000065.0000
Dongeradeel90.000010.0000
Ferwerderadiel91.00009.0000
Harlingen30.000070.0000
Heerenveen56.000044.0000
Kollumerland c.a.80.000020.0000
Leeuwarden75.000025.0000
Ooststellingwerf37.000063.0000
Opsterland53.000047.0000
Schiermonnikoog83.000017.0000
Smallingerland73.000027.0000
Súdwest-Fryslân70.000030.0000
Terschelling100.0000
Tytsjerksteradiel89.000011.0000
Waadhoeke72.000028.0000
Weststellingwerf71.000029.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\"zaterdag\"\n" ] }, { "data": { "text/html": [ "
s_____ (snjoun)s____n (snjoun)s____n (sn?wn)s_____ (sa:t?di)s_____ (sn?wn)s_____ (sa:t?dex)s_____ (sn??t)s____n (sn??n)s_____ (sa:t?d?x)s_____ (sn??n)s_____ (s?:t??j?)
Achtkarspelen1.000017.00001.00001.00006.00005.00004.000065.0000
Ameland25.000012.000062.0000
Dantumadiel1.00008.000040.00002.00001.000049.0000
De Fryske Marren3.000094.00001.00001.0000
Dongeradeel3.00001.00002.000085.00001.00002.00005.0000
Ferwerderadiel4.00002.00001.000089.00002.00002.00001.0000
Harlingen5.00005.000010.000040.000040.0000
Heerenveen2.00002.00007.00002.000067.00003.00001.000017.0000
Kollumerland c.a.1.00002.00007.00001.000010.00005.00008.000068.0000
Leeuwarden2.00001.00001.00002.000076.000015.00004.0000
Ooststellingwerf7.00007.000011.000074.0000
Opsterland1.000012.00001.000023.00001.000062.0000
Schiermonnikoog17.00008.00008.00008.00008.000017.000025.00008.0000
Smallingerland1.00001.000016.000020.00001.000061.0000
Súdwest-Fryslân3.00001.00002.000087.00005.00001.0000
Terschelling100.0000
Tytsjerksteradiel2.000013.000033.00002.000050.0000
Waadhoeke2.00001.00009.000080.00007.00001.0000
Weststellingwerf14.000057.000014.000014.0000
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "armen\n" ] }, { "data": { "text/html": [ "
_____s (??ms)_____n (??m?n)_____n (e:?m?n)_____s (j??ms)_____s (?:?ms)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "avond\n" ] }, { "data": { "text/html": [ "
_____n (?w?n)j____n (jun)_____nd (?.?nt)_____nd (a:v?nt)j____ne (jaun?)j____n (joun)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "bij\n" ] }, { "data": { "text/html": [ "
b____ (b?i)h_________r (h?n??ow?r)b____ (bæi)h_____k (hork)i__________r (i:n?fand?r)h_________r (hy:n?xau?r)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "blad\n" ] }, { "data": { "text/html": [ "
b___ (bl?:t)b___ (bl?t)b___ (bl?d)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "borst\n" ] }, { "data": { "text/html": [ "
b__st (b?st)b__st (b??st)b__st (bost)b___t (b??t)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "dag\n" ] }, { "data": { "text/html": [ "
d___ (d??)d___ (d?:x)d___ (d?x)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "deurtje\n" ] }, { "data": { "text/html": [ "
d_____ (d?:?k?)d_____ (do?tj?)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "geel\n" ] }, { "data": { "text/html": [ "
___l (?e?l)___l (?e:l)___l (???l)___l (?i?l)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "heel\n" ] }, { "data": { "text/html": [ "
h____ (h??l)h____ (he?l)h____ (he:l)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "ik ben gegaan\n" ] }, { "data": { "text/html": [ "
g___ (ga:n)g___ (?i?n)g___ (gi?nt)g___ (gi?n)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "ik heb gezet\n" ] }, { "data": { "text/html": [ "
___t (s?t)___n (s?tn)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "ik sprak\n" ] }, { "data": { "text/html": [ "
sp___ (sp??k)sp___ (sp?i:k)sp___ (sp??kt?)sp___ (sp??ts)sp___ (sp?e?k)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "kaas\n" ] }, { "data": { "text/html": [ "
____s (se?s)____s (tsi:s)____s (ke?s)____s (k?:?s)____s (k?:s)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "koken\n" ] }, { "data": { "text/html": [ "
k____ (kojts?)k____ (kouk?)k___ (k?tj?)k___ (ko:k?n)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "oog\n" ] }, { "data": { "text/html": [ "
o___ (o:x)___ch (e?x)___ch (?:x)___ch (?.?x)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "tand\n" ] }, { "data": { "text/html": [ "
k____ (ki:z?)t____ (t?:n)t____ (tos)t____ (tosk)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "trein\n" ] }, { "data": { "text/html": [ "
t____ (tR??n)t____ (t?e?n)t____ (t???n)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "vis\n" ] }, { "data": { "text/html": [ "
___sk (fisk)___s (f?s)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "zaterdag\n" ] }, { "data": { "text/html": [ "
s_____ (snjoun)s_____ (sn?wn)s_____ (sa:t?d?x)
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "for question, rows in answers.groupby('question_text'):\n", " answer_texts = set(rows['answer_text'])\n", " print(question)\n", " display(make_table(\n", " [[''] + list(answer_texts)] + [\n", " [gemeente_names[gemeente]] + [\n", " percentage if percentage > 0 else ''\n", " for answer_text in answer_texts\n", " for percentage in [round(100 * counts[answer_text] / summed)] # alias\n", " ]\n", " for gemeente, rows_ in rows.groupby('gemeente')\n", " if gemeente >= 0\n", " for counts in [defaultdict(lambda: 0, rows_['answer_text'].value_counts())] # alias\n", " for summed in [len(rows_)] # alias\n", " ]\n", " ))" ] } ], "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 }