"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# The following will push the Text-Fabric stylesheet to this notebook (to facilitate proper display with notebook viewer)\n",
"N1904.dh(N1904.getCss())"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "7f53ce86-9b87-40b1-a950-4d9abd2b5373",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"# Set default view in a way to limit noise as much as possible.\n",
"N1904.displaySetup(condensed=True, multiFeatures=False,queryFeatures=False)"
]
},
{
"cell_type": "markdown",
"id": "994fea19-a622-44ce-9b7a-35c0a124a384",
"metadata": {},
"source": [
"# 3 - Performing the queries \n",
"##### [Back to TOC](#TOC)"
]
},
{
"cell_type": "markdown",
"id": "7bd746f0-4a5d-4611-818d-ff2418281d84",
"metadata": {
"tags": []
},
"source": [
"## 3.1 - Identifying the use of paragogic ν \n",
"##### [Back to TOC](#TOC)\n",
"\n",
"This can be done using a straight forward query. The node numbers of sentence,clause and phrase containing the δέ will also be gathered allowing easier further processing."
]
},
{
"cell_type": "code",
"execution_count": 30,
"id": "9c1684e7-7175-4e6b-9957-b3bdebfe066d",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" 0.21s 592 results\n"
]
}
],
"source": [
"# Define the query template\n",
"ParagogicNuQuery= '''\n",
"verb:word person=third word~\\w*ν$\n",
"next:word lemma~ἐ\\w*\n",
"next :> verb \n",
"'''\n",
"\n",
"# The following will create a list containing ordered tuples consisting of node numbers of the items as they appear in the query\n",
"ParagogicNuResult = N1904.search(ParagogicNuQuery)"
]
},
{
"cell_type": "code",
"execution_count": 31,
"id": "f6467644-babe-478e-b853-69944c127eae",
"metadata": {
"tags": []
},
"outputs": [
{
"data": {
"text/plain": [
"'ἔξεστίν μοι '"
]
},
"execution_count": 31,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"S.glean(ParagogicNuResult[40])"
]
},
{
"cell_type": "code",
"execution_count": 32,
"id": "206c5c72-6362-4cad-91ce-6a78224ebb1e",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"verse 1"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse Matthew 2:9
sentence #16 (start: Matthew 2:9)
wg #437: cl* Conj-CL
wg #438: cl* CLaCL
wg #442: group
wg #443: cl
wg #444: np s DetNP
wg #445: apposition np NP-CL
wg #446: cl O-V-ADV apposition
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"N1904.show(ParagogicNuResult,start=1,end=1)"
]
},
{
"cell_type": "markdown",
"id": "9431eed7-ec4b-47b9-948b-fe1a6bd49c66",
"metadata": {},
"source": [
"# 4 - Discussion\n",
"##### [Back to TOC](#TOC)"
]
},
{
"cell_type": "markdown",
"id": "d11126dd-eb0c-4d03-95cb-743f9f0b2a9a",
"metadata": {},
"source": [
"# 5 - Attribution and footnotes\n",
"##### [Back to TOC](#TOC)\n",
"\n",
"#### Footnotes:\n",
"\n",
"1 Cynthia W. Shelmerdine, Introduction to Greek, Second Edition. (Newburyport, MA: Focus Publishing; R. Pullins Company, 2008), 9."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "20293ac7-f808-43bf-b9c3-e9dd2373c80f",
"metadata": {},
"outputs": [],
"source": []
}
],
"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.11.5"
}
},
"nbformat": 4,
"nbformat_minor": 5
}