#!/usr/bin/env python # coding: utf-8 # # Paragogic ν (Nestle1904LFT) # # **Work in progress!** # ## Table of content # * 1 - Introduction # * 1.1 - Translating into Text-Fabric queries # * 2 - Load Text-Fabric app and data # * 3 - Performing the queries # * 3.1 - Identifying the use of paragogic ν # * 3.2 - Gathering additional syntactic details regarding the surrounding # * 4 - Discussion # * 5 - Atribution and footnotes # # 1 - Introduction # ##### [Back to TOC](#TOC) # # Note about the paragogic nu added to verbs in specific situations: # # > The -ν in parenthesis on the 3rd person plural is added when the next word begins with a vowel, or when a punctuation mark follows (or for metrical reasons in poetry). Because it moves on and off the form as needed, it is called nu movable (paragogic nu). 1 # # ## 1.2 - Translating into Text-Fabric queries # ##### [Back to TOC](#TOC) # # TBD # # 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 - Identifying the use of paragogic ν # ##### [Back to TOC](#TOC) # # 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. # In[30]: # Define the query template ParagogicNuQuery= ''' verb:word person=third word~\w*ν$ next:word lemma~ἐ\w* next :> verb ''' # The following will create a list containing ordered tuples consisting of node numbers of the items as they appear in the query ParagogicNuResult = N1904.search(ParagogicNuQuery) # In[31]: S.glean(ParagogicNuResult[40]) # In[32]: N1904.show(ParagogicNuResult,start=1,end=1) # # 4 - Discussion # ##### [Back to TOC](#TOC) # # 5 - Attribution and footnotes # ##### [Back to TOC](#TOC) # # #### Footnotes: # # 1 Cynthia W. Shelmerdine, Introduction to Greek, Second Edition. (Newburyport, MA: Focus Publishing; R. Pullins Company, 2008), 9. # In[ ]: