{
"cells": [
{
"cell_type": "markdown",
"id": "a522cef7-5dc1-4ffd-9f82-cbb0d6589eff",
"metadata": {},
"source": [
"# The particles μέν and δέ (Nestle1904GBI)\n",
"\n",
"**Work in progress**"
]
},
{
"cell_type": "markdown",
"id": "401af193-cbf1-47db-a4f4-2d9381c38d42",
"metadata": {},
"source": [
"## Table of content \n",
"* 1 - Introduction\n",
" * 1.1 - Why is this relevant?\n",
" * 1.2 - Translating into Text-Fabric queries\n",
"* 2 - Load Text-Fabric app and data\n",
"* 3 - Performing the queries\n",
" * 3.1 - Identifying the use of δέ\n",
" * 3.2 - Gathering additional syntactic details regarding the surrounding\n",
"* 4 - Attribution and footnotes\n",
"* 5 - Required libraries"
]
},
{
"cell_type": "markdown",
"id": "1aeeb0b9-9e57-4e0c-9db9-6df7935b4396",
"metadata": {},
"source": [
"# 1 - Introduction \n",
"##### [Back to TOC](#TOC)\n",
"\n",
"Greek has many particles, such as [μέν](https://stephanus.tlg.uci.edu/lsj/#eid=68439) and [δέ](https://stephanus.tlg.uci.edu/lsj/#eid=24443), that are used to indicate contrast or emphasis. "
]
},
{
"cell_type": "markdown",
"id": "033b35d9-e5e8-42f1-86d2-a8f633a5b248",
"metadata": {},
"source": [
"## 1.1 - Why is this relevant? \n",
"##### [Back to TOC](#TOC)\n",
"\n",
"The particle δέ, commonly found in the Greek New Testament, can be used in either an adversative (contrasting) or copulative (confirming) manner, affecting the meaning and interpretation of the surrounding text. The challenge in translating δέ into English arises due to the inherent ambiguity of the particle. English equivalents such as \"but,\" \"and,\" or \"now\" often fail to capture the full range of its meaning.\n",
"\n",
"In its adversative usage, δέ introduces a contrast or a counterpoint to what has been previously mentioned. It serves to emphasize a distinction or a shift in thought, often presenting an alternative viewpoint or introducing a new topic. This contrasting function of δέ can be theologically significant as it highlights the tensions or conflicts within the text, revealing different perspectives or opposing ideas.\n",
"\n",
"In its copulative usage, δέ functions as a confirming particle, connecting statements or thoughts in a continuous and cohesive manner. It serves to link ideas together, reinforcing the flow of the discourse. This copulative function of δέ is relevant in conveying theological concepts by maintaining a logical progression in the text, presenting ideas that build upon each other or providing additional supporting information."
]
},
{
"cell_type": "markdown",
"id": "df87da32-a6d2-4c67-99c6-07878382477b",
"metadata": {},
"source": [
"## 1.2 - Translating into Text-Fabric queries \n",
"##### [Back to TOC](#TOC)\n",
"\n",
"Identifying the use of δέ is easily done using Text-Fabric. The challenge lies in creating queries that gather relevant information regarding the syntactical surroundings, which could hint at whether δέ is intended adversative or copulative."
]
},
{
"cell_type": "markdown",
"id": "07bd0541-8f54-425d-a5d9-5dd91acac36c",
"metadata": {},
"source": [
"# 2 - Load Text-Fabric app and data \n",
"##### [Back to TOC](#TOC)"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "0fb41f21-a71c-44f1-a253-8508dd69779a",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "6c5469c2-2d60-4b56-9168-deb24692551c",
"metadata": {},
"outputs": [],
"source": [
"# Loading the Text-Fabric code\n",
"# Note: it is assumed Text-Fabric is installed in your environment\n",
"from tf.fabric import Fabric\n",
"from tf.app import use"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "6502aec4-b794-4669-94ee-7929041eebea",
"metadata": {
"scrolled": true,
"tags": []
},
"outputs": [
{
"data": {
"text/markdown": [
"**Locating corpus resources ...**"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"app: ~/text-fabric-data/github/tonyjurg/Nestle1904GBI/app"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"data: ~/text-fabric-data/github/tonyjurg/Nestle1904GBI/tf/0.4"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"\n",
" Text-Fabric: Text-Fabric API 11.4.10, tonyjurg/Nestle1904GBI/app v3, Search Reference
\n",
" Data: tonyjurg - Nestle1904GBI 0.4, Character table, Feature docs
\n",
" Node types
\n",
"\n",
" \n",
" Name | \n",
" # of nodes | \n",
" # slots/node | \n",
" % coverage | \n",
"
\n",
"\n",
"\n",
" book | \n",
" 27 | \n",
" 5102.93 | \n",
" 100 | \n",
"
\n",
"\n",
"\n",
" chapter | \n",
" 260 | \n",
" 529.92 | \n",
" 100 | \n",
"
\n",
"\n",
"\n",
" sentence | \n",
" 5720 | \n",
" 24.09 | \n",
" 100 | \n",
"
\n",
"\n",
"\n",
" verse | \n",
" 7943 | \n",
" 17.35 | \n",
" 100 | \n",
"
\n",
"\n",
"\n",
" clause | \n",
" 16124 | \n",
" 8.54 | \n",
" 100 | \n",
"
\n",
"\n",
"\n",
" phrase | \n",
" 72674 | \n",
" 1.90 | \n",
" 100 | \n",
"
\n",
"\n",
"\n",
" word | \n",
" 137779 | \n",
" 1.00 | \n",
" 100 | \n",
"
\n",
"
\n",
" Sets: no custom sets
\n",
" Features:
\n",
"Nestle 1904 (GBI nodes)
\n",
" \n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
int
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
int
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
int
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
int
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
int
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
int
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
int
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
str
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
"
\n",
"
none
\n",
"\n",
"
\n",
"\n",
"
\n",
"\n",
"
\n",
" \n",
"\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
""
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"\n",
"\n"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# load the N1904 app and data\n",
"N1904 = use (\"tonyjurg/Nestle1904GBI\", version=\"0.4\", hoist=globals())"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "84f67b44-619b-44b8-a646-3b6590df2095",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
""
],
"text/plain": [
""
]
},
"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": "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 δέ \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": 4,
"id": "9c1684e7-7175-4e6b-9957-b3bdebfe066d",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" 0.13s 2787 results\n"
]
}
],
"source": [
"# Define the query template\n",
"DeQuery= '''\n",
"sentence\n",
" clause\n",
" phrase\n",
" word lemma=δέ\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",
"DeResult = N1904.search(DeQuery)"
]
},
{
"cell_type": "markdown",
"id": "88d1c3bd-0a94-4b39-9e6f-c913f2234eb7",
"metadata": {},
"source": [
"## 3.2 - Gathering additional syntactic details regarding the surrounding\n",
"##### [Back to TOC](#TOC)\n",
"\n",
"TBD."
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "3469eaa2-0022-436c-b312-6032aa92ecc3",
"metadata": {},
"outputs": [],
"source": [
"for (sentence,clause,phrase,word) in DeResult:\n",
" # do something...\n",
" break"
]
},
{
"cell_type": "markdown",
"id": "1db51c4c-7d45-4626-a23f-9baebe544cf7",
"metadata": {},
"source": [
"# 4 - Attribution and footnotes\n",
"##### [Back to TOC](#TOC)\n",
"\n",
"N.A."
]
},
{
"cell_type": "markdown",
"id": "57776f8e-f35d-42a7-b2a0-716f0a026e34",
"metadata": {},
"source": [
"# 5 - Required libraries \n",
"##### [Back to TOC](#TOC)\n",
"\n",
"The scripts in this notebook require (beside `text-fabric`) the following Python libraries to be installed in the environment:\n",
"\n",
" {none}\n",
"\n",
"You can install any missing library from within Jupyter Notebook using either`pip` or `pip3`."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e5b45867-19cb-4841-9268-0fb01560b0bb",
"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
}