[go: up one dir, main page]

Skip to content

Commit

Permalink
export setuppy and requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniXC committed Sep 8, 2022
1 parent 2406a08 commit bf7f068
Show file tree
Hide file tree
Showing 11 changed files with 675 additions and 692 deletions.
26 changes: 13 additions & 13 deletions docs/docs/examples/arithmetic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"id": "2705f56d-ba71-4c3c-9d02-b100b035daca",
"metadata": {},
"source": [
"Phones in this library support arithmetic operations."
"Phones in this library support arithmetic operations. Please note that this is fairly slow when not filtering by language and/or dialect."
]
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 2,
"id": "6a775a54-caa2-4a5d-be3f-da8ed9e06773",
"metadata": {},
"outputs": [
Expand All @@ -31,7 +31,7 @@
"(1.0, eo (bhg))"
]
},
"execution_count": 10,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -51,7 +51,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 3,
"id": "c4226d1b-5b5c-4505-b87d-3d2c6419d9ab",
"metadata": {},
"outputs": [],
Expand All @@ -61,17 +61,17 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 4,
"id": "b33c2f4d-01d8-4c3d-a894-8265df7a5c59",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"(1.0, u (aar))"
"(0.0, ʉu (fao))"
]
},
"execution_count": 7,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -82,7 +82,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 5,
"id": "5b8986a4-0c0d-4964-b9e1-e5c64e98e9b1",
"metadata": {},
"outputs": [
Expand All @@ -92,7 +92,7 @@
"(1.0, ɨ̜ (kid))"
]
},
"execution_count": 7,
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -111,7 +111,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 6,
"id": "a313fe3f-34ca-416f-b244-1e7079ecee46",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -157,7 +157,7 @@
" 'trill']"
]
},
"execution_count": 2,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -169,7 +169,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -183,7 +183,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.10.6"
}
},
"nbformat": 4,
Expand Down
48 changes: 24 additions & 24 deletions docs/docs/examples/basic_usage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"id": "da7592f8-9f0b-41f7-9d99-acd93723833f",
"metadata": {
"tags": []
Expand Down Expand Up @@ -66,17 +66,17 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 3,
"id": "9df4e483-835e-468c-8404-8cdd63681237",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[a (deu), (deu), (deu), (deu), aː (eng)]"
"[a (deu), ai (deu), au (deu), (deu), aʊ (deu)]"
]
},
"execution_count": 10,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -96,17 +96,17 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 4,
"id": "6e889fd3-9473-427f-8abc-40a784612979",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"['arh', 'cni', 'cot', 'cox', 'mcb']"
"['aal', 'aap', 'aar', 'aau', 'abb']"
]
},
"execution_count": 14,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -126,17 +126,17 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 5,
"id": "9607af9b-ab9c-463f-a36c-158792823584",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[aɪ (blb), aɪ (deu), aɪ (ruk), aɪ (shk)]"
"[aɪ (blb), aɪ (deu), aɪ (fao), aɪ (ruk), aɪ (shk), aɪ (wym)]"
]
},
"execution_count": 14,
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -155,7 +155,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 6,
"id": "0192ab14-ddc9-4779-a5e8-eebadc482769",
"metadata": {},
"outputs": [
Expand All @@ -165,7 +165,7 @@
""
]
},
"execution_count": 15,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -184,7 +184,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 7,
"id": "6c794e60-9c83-4926-8abb-01a9f05008f5",
"metadata": {},
"outputs": [
Expand All @@ -196,7 +196,7 @@
" 0., -1., 1., -1., -1., 0., 1., -1., -1., 0., -1.])"
]
},
"execution_count": 16,
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -215,7 +215,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 8,
"id": "2a624a67-d297-4eea-a1fa-879d59e82c1d",
"metadata": {},
"outputs": [
Expand All @@ -225,7 +225,7 @@
"['aː', 'b', 'd', 'd̠ʒ', 'e']"
]
},
"execution_count": 16,
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -247,13 +247,13 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 9,
"id": "55b17513-4dec-4464-98a4-a243545b029e",
"metadata": {},
"outputs": [],
"source": [
"from phones.sources import PANPHON, PHOIBLE\n",
"pc = PhoneCollection(PANPHON)"
"pc_panphon = PhoneCollection(PANPHON)"
]
},
{
Expand All @@ -267,7 +267,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 10,
"id": "fb45ca5e-c083-4b2f-8092-4343965fb7ed",
"metadata": {},
"outputs": [
Expand All @@ -277,7 +277,7 @@
"[a (eng), aɪ (eng), aʊ (eng), b (eng), d (eng)]"
]
},
"execution_count": 4,
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -297,7 +297,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 11,
"id": "14e03ab9-ac01-4160-a7b3-5fc0fe202148",
"metadata": {},
"outputs": [
Expand All @@ -307,7 +307,7 @@
"([], [b (ast), d̪ (ast), e̞ (ast), f (ast), i (ast)])"
]
},
"execution_count": 8,
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -326,7 +326,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 12,
"id": "454c5f43-6b15-4c91-b342-23da4a4002cf",
"metadata": {},
"outputs": [
Expand All @@ -336,7 +336,7 @@
"['Asturian (North-Eastern)', 'Asturian (Western)']"
]
},
"execution_count": 11,
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/examples/convert_alphabets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -125,7 +125,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
"version": "3.10.6"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit bf7f068

Please sign in to comment.