#!/usr/bin/env python # coding: utf-8 # # Repetition of nouns (Nestle1904LFT) # # **Work in progress!** # ## Table of content # * 1 - Introduction # * 1.1 - Why is this relevant? # * 1.2 - Translating into Text-Fabric queries # * 2 - Load Text-Fabric app and data # * 3 - Performing the queries # * 3.1 - TBD # * 3.2 - TBD # * 4 - Discussion # * 5 - Attribution and footnotes # * 6 - Required libraries # # 1 - Introduction # ##### [Back to TOC](#TOC) # # Consider the following example from Luke 7:38: # > (...) καὶ στᾶσα ὀπίσω παρὰ τοὺς *πόδας* αὐτοῦ κλαίουσα τοῖς δάκρυσιν ἤρξατο βρέχειν τοὺς *πόδας* αὐτοῦ καὶ ταῖς θριξὶν τῆς κεφαλῆς αὐτῆς ἐξέμασσεν καὶ κατεφίλει τοὺς *πόδας* αὐτοῦ καὶ ἤλειφεν τῷ μύρῳ. # # Here the word πόδας (feet) is used 3 times in the same sentence (which started in verse 36). # ## 1.1 - Why is this relevant? # ##### [Back to TOC](#TOC) # # The question is if the repetion of πόδας is of exegetical importance, given the fact that the second and third occurence could be refered to using the pronoun *them*. # ## 1.2 - Translating into Text-Fabric queries # ##### [Back to TOC](#TOC) # # The idea is to analyse the number of occurences of identical nouns per sentence and score them. # # 2 - Load Text-Fabric app and data # ##### [Back to TOC](#TOC) # In[1]: get_ipython().run_line_magic('load_ext', 'autoreload') get_ipython().run_line_magic('autoreload', '2') # In[2]: # Loading the Text-Fabric code # Note: it is assumed Text-Fabric is installed in your environment from tf.fabric import Fabric from tf.app import use # In[3]: # load the N1904 app and data N1904 = use ("tonyjurg/Nestle1904LFT", version="0.6", hoist=globals()) # In[4]: # The following will push the Text-Fabric stylesheet to this notebook (to facilitate proper display with notebook viewer) N1904.dh(N1904.getCss()) # In[5]: # Set default view in a way to limit noise as much as possible. N1904.displaySetup(condensed=True, multiFeatures=False,queryFeatures=False) # # 3 - Performing the queries # ##### [Back to TOC](#TOC) # ## 3.1 - Determine the conditions # # This code will produce ..... # ## 4 - Discussion # # TBA # # 5 - Footnotes and attribution # ##### [Back to TOC](#TOC) # # #### Attribution: # # Thanks to Prof. Willem van Peursen (VU) for pointing me to this interesting issue by mentioning: # >In Muraoka’s Why Read the Bible in the Original Languages,1 I found the following examples: # (...) # Repetition (e.g. why are “feet” repeated three times in Luke 7:38) (...) # # #### Footnotes: # # 1 Muraoka, Takamitsu. *Why Read the Bible in the Original Languages?* (Leuven: Peeters Publishers, 2020), 73. # # 6 - Required libraries # ##### [Back to TOC](#TOC) # # The scripts in this notebook require (beside `text-fabric`) the following Python libraries to be installed in the environment: # # ??? # # You can install any missing library from within Jupyter Notebook using either`pip` or `pip3`. # In[ ]: