import pandas as pd
# read DataFrame
NA1904 = pd.read_excel("/Users/oliverglanz/Library/CloudStorage/OneDrive-AndrewsUniversity/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.51_20221124.xlsx")
# NA1904 = pd.read_excel("/Users/glanz/Library/CloudStorage/OneDrive-AndrewsUniversity/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.5_20221124.xlsx")
pd.set_option('display.max_columns', 100)
NA1904.head()
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lemma_dict | bol_lemma_dict | gloss_EN | bol_gloss_EN | abc_order | bol_dict_abc | freq_lemma | bol_lemma_occ | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | alt_morphology | verb_class | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 1 | 1 | Βίβλος | Βίβλος | Βίβλος | Βιβλος | βίβλος | βίβλος | βιβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | 10 | 1052 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN |
1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 2 | 2 | γενέσεως | γενέσεως | γενέσεως | γενεσεως | γένεσις | γένεσις | γενεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | 5 | 1638 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | NaN | NaN |
2 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 3 | 3 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦ | Ιησου | Ἰησοῦς | Ἰησοῦς | Ιησους | Iesous | N-GSM | N-GSM | 2424 | False | Ἰησοῦς | Ἰησοῦς | Jesus | Jesus | 2387 | 2399 | 913 | 913 | 19 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | irregular | irregular | irregular | irregular | not_covered | NaN | NaN |
3 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 4 | 4 | Χριστοῦ | Χριστοῦ | Χριστοῦ | Χριστου | Χριστός | Χριστός | Χριστος | Khristos | N-GSM | N-GSM | 5547 | False | Χριστός, -οῦ, ὁ | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | anointed, Messiah, Christ | 5326 | 5358 | 529 | 529 | 35 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NSgGen | NaN |
4 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 5 | 5 | υἱοῦ | υἱοῦ | υἱοῦ | υιου | υἱός | υἱός | υιος | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | NSgGen | NaN |
#Splitting NA1904 in 27 files with each file containing one book
for (book), group in NA1904.groupby(['book_long']):
group.to_csv(f'/Users/oliverglanz/Library/CloudStorage/OneDrive-AndrewsUniversity/1200_AUS-research/Fabric-TEXT/0_data_NA1904/input/{book}.txt', sep='\t', index=False)
print(pd.read_csv("/Users/oliverglanz/Library/CloudStorage/OneDrive-AndrewsUniversity/1200_AUS-research/Fabric-TEXT/0_data_NA1904/input/Matthew.txt", delimiter='\t', low_memory=False))
book_long booknum book_short chapter verse bol_ref orig_order \ 0 Matthew 1 Matt 1 1 Matt 1:1 1 1 Matthew 1 Matt 1 1 Matt 1:1 2 2 Matthew 1 Matt 1 1 Matt 1:1 3 3 Matthew 1 Matt 1 1 Matt 1:1 4 4 Matthew 1 Matt 1 1 Matt 1:1 5 ... ... ... ... ... ... ... ... 18294 Matthew 1 Matt 28 20 Matt 28:20 18295 18295 Matthew 1 Matt 28 20 Matt 28:20 18296 18296 Matthew 1 Matt 28 20 Matt 28:20 18297 18297 Matthew 1 Matt 28 20 Matt 28:20 18298 18298 Matthew 1 Matt 28 20 Matt 28:20 18299 bol_monad_num word bol_surface normalized normalized_noaccent \ 0 1 Βίβλος Βίβλος Βίβλος Βιβλος 1 2 γενέσεως γενέσεως γενέσεως γενεσεως 2 3 Ἰησοῦ Ἰησοῦ Ἰησοῦ Ιησου 3 4 Χριστοῦ Χριστοῦ Χριστοῦ Χριστου 4 5 υἱοῦ υἱοῦ υἱοῦ υιου ... ... ... ... ... ... 18294 18295 ἕως ἕως ἕως εως 18295 18296 τῆς τῆς τῆς της 18296 18297 συντελείας συντελείας συντελείας συντελειας 18297 18298 τοῦ τοῦ τοῦ του 18298 18299 αἰῶνος. αἰῶνος. αἰῶνος αιωνος lemma bol_lemma lemma_noaccent lemma_translit form_tag \ 0 βίβλος βίβλος βιβλος biblos N-NSF 1 γένεσις γένεσις γενεσις genesis N-GSF 2 Ἰησοῦς Ἰησοῦς Ιησους Iesous N-GSM 3 Χριστός Χριστός Χριστος Khristos N-GSM 4 υἱός υἱός υιος uios N-GSM ... ... ... ... ... ... 18294 ἕως ἕως εως eos ADV 18295 ὁ ὁ ο o T-GSF 18296 συντέλεια συντέλεια συντελεια sunteleia N-GSF 18297 ὁ ὁ ο o T-GSM 18298 αἰών αἰών αιων aion N-GSM functional_tag strongs strongs_unreliable lemma_dict \ 0 N-NSF 976 False βίβλος, -ου, ἡ 1 N-GSF 1078 False γένεσις, -εως, ἡ 2 N-GSM 2424 False Ἰησοῦς 3 N-GSM 5547 False Χριστός, -οῦ, ὁ 4 N-GSM 5207 False υἱός, -οῦ, ὁ ... ... ... ... ... 18294 ADV 2193 False ἕως 18295 T-GSF 3588 False ὁ, ἡ, τό 18296 N-GSF 4930 False συντέλεια, -ας, ἡ 18297 T-GSM 3588 False ὁ, ἡ, τό 18298 N-GSM 165 False αἰών, -ῶνος, ὁ bol_lemma_dict gloss_EN \ 0 βίβλος, -ου, ἡ written book, roll, or volume 1 γένεσις, -εως, ἡ birth, lineage 2 Ἰησοῦς Jesus 3 Χριστός, -οῦ, ὁ anointed, Messiah, Christ 4 υἱός, -οῦ, ὁ son, descendent ... ... ... 18294 ἕως until, as far as 18295 ὁ, ἡ, τό the 18296 συντέλεια, -ας, ἡ completion, consummation, end 18297 ὁ, ἡ, τό the 18298 αἰών, -ῶνος, ὁ age, cycle of time bol_gloss_EN abc_order bol_dict_abc freq_lemma \ 0 written book, roll, or volume 965 969 10 1 birth, lineage 1067 1070 5 2 Jesus 2387 2399 913 3 anointed, Messiah, Christ 5326 5358 529 4 son, descendent 4995 5026 376 ... ... ... ... ... 18294 until, as far as 2170 2179 147 18295 the 3418 3438 19783 18296 completion, consummation, end 4735 4763 6 18297 the 3418 3438 19783 18298 age, cycle of time 163 163 124 bol_lemma_occ bol_frequency_rank sp bol_psp gn bol_gender nu \ 0 10 1052 noun noun f feminine sg 1 5 1638 noun noun f feminine sg 2 913 19 noun noun m masculine sg 3 529 35 noun noun m masculine sg 4 376 47 noun noun m masculine sg ... ... ... ... ... ... ... ... 18294 147 109 adv adv NaN NaN NaN 18295 19783 1 art art f feminine sg 18296 6 1469 noun noun f feminine sg 18297 19783 1 art art m masculine sg 18298 124 131 noun noun m masculine sg bol_number nu_poss bol_possessor_number ps bol_person case \ 0 singular NaN NaN NaN NaN nom 1 singular NaN NaN NaN NaN gen 2 singular NaN NaN NaN NaN gen 3 singular NaN NaN NaN NaN gen 4 singular NaN NaN NaN NaN gen ... ... ... ... ... ... ... 18294 NaN NaN NaN NaN NaN NaN 18295 singular NaN NaN NaN NaN gen 18296 singular NaN NaN NaN NaN gen 18297 singular NaN NaN NaN NaN gen 18298 singular NaN NaN NaN NaN gen bol_case tense bol_tense voice bol_voice mood bol_mood degree \ 0 nominative NaN NaN NaN NaN NaN NaN NaN 1 genitive NaN NaN NaN NaN NaN NaN NaN 2 genitive NaN NaN NaN NaN NaN NaN NaN 3 genitive NaN NaN NaN NaN NaN NaN NaN 4 genitive NaN NaN NaN NaN NaN NaN NaN ... ... ... ... ... ... ... ... ... 18294 NotApplicable NaN NaN NaN NaN NaN NaN NaN 18295 genitive NaN NaN NaN NaN NaN NaN NaN 18296 genitive NaN NaN NaN NaN NaN NaN NaN 18297 genitive NaN NaN NaN NaN NaN NaN NaN 18298 genitive NaN NaN NaN NaN NaN NaN NaN extra bol_suffix bol_verb_type bol_noun_stem word_stem \ 0 NaN NaN NaN omicron NaN 1 NaN NaN NaN iota iota 2 NaN NaN NaN irregular irregular 3 NaN NaN NaN omicron NaN 4 NaN NaN NaN omicron NaN ... ... ... ... ... ... 18294 NaN NaN NaN NaN NaN 18295 NaN NaN NaN NaN NaN 18296 NaN NaN NaN alpha alpha 18297 NaN NaN NaN NaN NaN 18298 NaN NaN NaN nu NaN declension bol_noun_declension vocab_ReadGreekIn30Days \ 0 2nd second_d not_covered 1 3rd third_d not_covered 2 irregular irregular not_covered 3 2nd second_d not_covered 4 2nd second_d 3b ... ... ... ... 18294 NaN NaN 5b 18295 NaN NaN 3a 18296 1st_alpha_macron first_alpha_macron not_covered 18297 NaN NaN 3a 18298 3rd third_d 4b alt_morphology verb_class 0 NaN NaN 1 NaN NaN 2 NaN NaN 3 NSgGen NaN 4 NSgGen NaN ... ... ... 18294 NaN NaN 18295 NaN NaN 18296 MSgNom/MPlAcc NaN 18297 NaN NaN 18298 NaN NaN [18299 rows x 58 columns]
*IMPORTANT*: now I manually have to delete the header of each file.... wish I knew how to do this more efficiently....
Here I am producing a file similar to the SBLGNT and work from that one.
import os
import re
import collections
import json
import csv
# from glob import glob
from tf.fabric import Fabric
from tf.convert.walker import CV
# from tf.compose import modify
source_dirs = 'input' # "input" is the name of the input folder that contains the source file
output_dirs = 'output' # "output" is the name of the output folder to which the finished TF files will be dumped into
bo2book = {line.split()[0]:line.split()[1] for line in '''
Matthew Matthew
Mark Mark
Luke Luke
John John
Acts Acts
Romans Romans
I_Corinthians I_Corinthians
II_Corinthians II_Corinthians
Galatians Galatians
Ephesians Ephesians
Philippians Philippians
Colossians Colossians
I_Thessalonians I_Thessalonians
II_Thessalonians II_Thessalonians
I_Timothy I_Timothy
II_Timothy II_Timothy
Titus Titus
Philemon Philemon
Hebrews Hebrews
James James
I_Peter I_Peter
II_Peter II_Peter
I_John I_John
II_John II_John
III_John III_John
Jude Jude
Revelation Revelation
'''.split('\n') if line} # "OT" is the name of the file in the input folder AND "split()" splits at space
# patts = {'section': re.compile('(\d*):(\d*)\.(\d*)')}
def director(cv):
'''
Walks through NA1904 texts and triggers
slot and node creation events.
'''
# process books in order
for bo, book in bo2book.items():
book_loc = os.path.join(source_dirs, f'{bo}.txt') #for some reason the files with fileextension "xlsx" and "csv" do not work
print(f'\thandling {book_loc}...')
with open(book_loc, 'r', encoding="utf8") as infile:
text = [w for w in infile.read().split('\n') if w]
this_book = cv.node('book')
cv.feature(this_book, book=book) ##added 20220928
# keep track of when to trigger paragraph, chapter, and verse objects
# para_track = 1 # keep counts of paragraphs
prev_book = "Matthew" # start at Genesis ##removed 20220928
prev_chap = 1 # start at 1
prev_verse = 1 # start at 1
sentence_track = 1
sentence_done = False
clause_track = 1
clause_done = False
wrdnum = 0 # start at 0
this_chap = cv.node('chapter')
# this_para = cv.node('paragraph')
this_verse = cv.node('verse')
# this_subverse = cv.node('subverse')
this_clause = cv.node('clause')
this_sentence = cv.node('sentence')
# iterate through words and construct objects
for word in text:
wrdnum += 1
data = word.split('\t')
# word_data, lemmas = data[:7], data[7:]
word_data = data[:58] #the number here is the column positions
morphology = ' '.join(data[58:]) #the number here is the column positions
# segment out word data
# bo_code, ref, brake, ketiv, qere, morph, strongs = word_data
book_long, booknum, book_short, chapter, verse, bol_ref, orig_order, bol_monad_num, word, bol_surface, normalized, normalized_noaccent, lemma, bol_lemma, lemma_noaccent, lemma_translit, form_tag, functional_tag, strongs, strongs_unreliable, lemma_dict, bol_lemma_dict, gloss_EN, bol_gloss_EN, abc_order, bol_dict_abc, freq_lemma, bol_lemma_occ, bol_frequency_rank, sp, bol_psp, gn, bol_gender, nu, bol_number, nu_poss, bol_possessor_number, ps, bol_person, case, bol_case, tense, bol_tense, voice, bol_voice, mood, bol_mood, degree, extra, bol_suffix, bol_verb_type, bol_noun_stem, word_stem, declension, bol_noun_declension, vocab_ReadGreekIn30Days, alt_morphology, verb_class = word_data
#try:
# verse = int(verse)
#except ValueError:
# subverse = verse[-1:]
# verse = verse[:-1]
if verse == "":
print(f'{orig_order}: {verse} {subverse}')
# strongs_lemma, anlex_lemma = ' '.join(lemmas).split('!') # reconstitute lemmas and split on !
# chapt, verse, wrdnum = [int(v) for v in patts['section'].match(ref).groups()]
# -- handle TF events --
# detect book boundary
if prev_book != book:
# end subverse
# cv.feature(this_subverse, subverse=prev_subverse)
# cv.terminate(this_subverse)
# end verse
cv.feature(this_verse, verse=prev_verse)
cv.terminate(this_verse)
# end chapter
cv.feature(this_chap, chapter=prev_chap)
cv.terminate(this_chap)
# end book
cv.feature(this_book, book=prev_book)
cv.terminate(this_book)
# new book, chapter, verse, and subverse begin
this_book = cv.node('book')
prev_book = book
this_chap = cv.node('chapter')
prev_chap = chapter
this_verse = cv.node('verse')
prev_verse = verse
#this_subverse = cv.node('subverse')
#prev_subverse = subverse
wrdnum = 1
# detect chapter boundary
elif prev_chap != chapter:
# end subverse
#cv.feature(this_subverse, subverse=prev_subverse)
#cv.terminate(this_subverse)
# end verse
cv.feature(this_verse, verse=prev_verse)
cv.terminate(this_verse)
# end chapter
cv.feature(this_chap, chapter=prev_chap)
cv.terminate(this_chap)
# new chapter, verse, and subverse begin
this_chap = cv.node('chapter')
prev_chap = chapter
this_verse = cv.node('verse')
prev_verse = verse
#this_subverse = cv.node('subverse')
#prev_subverse = subverse
wrdnum = 1
# detect verse boundary
elif prev_verse != verse:
# end subverse
#cv.feature(this_subverse, subverse=prev_subverse)
#cv.terminate(this_subverse)
# end verse
cv.feature(this_verse, verse=prev_verse)
cv.terminate(this_verse)
# new verse and subverse begin
this_verse = cv.node('verse')
prev_verse = verse
#this_subverse = cv.node('subverse')
#prev_subverse = subverse
wrdnum = 1
# detect subverse boundary
#elif prev_subverse != subverse:
# cv.feature(this_subverse, subverse=prev_subverse)
# cv.terminate(this_subverse)
# this_subverse = cv.node('subverse')
# prev_subverse = subverse
# detect paragraph boundary
# if brake == 'P':
# cv.feature(this_para, para=para_track)
# cv.terminate(this_para)
# this_para = cv.node('paragraph') # start a new paragraph
# para_track += 1 # count paragraphs in the book
if sentence_done:
cv.feature(this_clause, clause=clause_track)
cv.terminate(this_clause)
cv.feature(this_sentence, sentence=sentence_track)
cv.terminate(this_sentence)
this_sentence = cv.node('sentence')
sentence_track += 1
this_clause = cv.node('clause')
clause_track += 1
sentence_done = False
clause_done = False
elif clause_done:
cv.feature(this_clause, clause=clause_track)
cv.terminate(this_clause)
this_clause = cv.node('clause')
clause_track += 1
clause_done = False
if text[-1:] == "." or text[-1:] == ";":
sentence_done = True
elif text[-1:] == "," or text[-1:] == "·":
clause_done = True
# make word object
this_word = cv.slot()
cv.feature(this_word,
orig_order=orig_order,
bol_monad_num=bol_monad_num,
book_long=book_long,
booknum=booknum,
book_short=book_short,
chapter=chapter,
verse=verse,
bol_ref=bol_ref,
word=word,
bol_surface=bol_surface,
normalized=normalized,
lemma=lemma,
bol_lemma=bol_lemma,
lemma_translit=lemma_translit,
form_tag=form_tag,
functional_tag=functional_tag,
strongs=strongs,
strongs_unreliable=strongs_unreliable,
lemma_dict=lemma_dict,
bol_lemma_dict=bol_lemma_dict,
gloss_EN=gloss_EN,
bol_gloss_EN=bol_gloss_EN,
abc_order=abc_order,
bol_dict_abc=bol_dict_abc,
freq_lemma=freq_lemma,
bol_lemma_occ=bol_lemma_occ,
bol_frequency_rank=bol_frequency_rank,
sp=sp,
bol_psp=bol_psp,
gn=gn,
bol_gender=bol_gender,
nu=nu,
bol_number=bol_number,
nu_poss=nu_poss,
bol_possessor_number=bol_possessor_number,
ps=ps,
bol_person=bol_person,
case=case,
bol_case=bol_case,
tense=tense,
bol_tense=bol_tense,
voice=voice,
bol_voice=bol_voice,
mood=mood,
bol_mood=bol_mood,
degree=degree,
extra=extra,
bol_suffix=bol_suffix,
bol_verb_type=bol_verb_type,
bol_noun_stem=bol_noun_stem,
word_stem=word_stem,
declension=declension,
bol_noun_declension=bol_noun_declension,
vocab_ReadGreekIn30Days=vocab_ReadGreekIn30Days,
normalized_noaccent=normalized_noaccent,
lemma_noaccent=lemma_noaccent,
alt_morphology=alt_morphology,
verb_class=verb_class,
# ketiv=ketiv,
# qere=qere,
# strongs=strongs,
# str_lem=strongs_lemma.strip(),
# anlex_lem=anlex_lemma.strip()
)
cv.terminate(this_word)
# end book and its objects
# - end subverse
#cv.feature(this_subverse, subverse=prev_subverse)
#cv.terminate(this_subverse)
# - end clause
cv.feature(this_clause, clause=clause_track)
cv.terminate(this_clause)
# - end sentence
cv.feature(this_sentence, sentence=sentence_track)
cv.terminate(this_sentence)
# - end verse
cv.feature(this_verse, verse=prev_verse)
cv.terminate(this_verse)
# - end paragraph
# cv.feature(this_para, para=para_track)
# cv.terminate(this_para)
# - end chapter
cv.feature(this_chap, chapter=prev_chap)
cv.terminate(this_chap)
# - end book
cv.feature(this_book, book=prev_book, book_code=bo)
cv.terminate(this_book)
slotType = 'word'
otext = {'fmt:text-orig-full':'{word} ',
'sectionTypes':'book,chapter,verse',
'sectionFeatures':'book,chapter,verse'}
generic = {'Name': 'NA1904',
'Version': '1904',
'Author': 'Nestle & Aland',
'Editors': 'Ulrik Sandborg Petersen, Eliran Wong, Oliver Glanz, BOL',
'Converter': 'Oliver Glanz',
'Source:':'https://github.com/biblicalhumanities/Nestle1904/blob/master/morph/Nestle1904.csv',
'Note':'?'}
intFeatures = {'chapter', 'verse'}
featureMeta = { 'book': {'description': 'book'},
'book_code':{'description': 'Short book abbreviation'},
'sentence': {'description': 'sentence unit'},
'clause': {'description': 'clause unit'},
'orig_order': {'description': 'word order within corpus'},
'bol_monad_num': {'description': 'BOL based word order within corpus'},
'book_long': {'description': 'fully spelled out book name'},
'booknum': {'description': 'NT book number (Matthew=1, Mark=2, Revelation=27)'},
'book_short': {'description': 'book name abbreviated'},
'chapter': {'description': 'book chapter'},
'verse': {'description': 'verse'},
'bol_ref': {'description': 'BOL based Bible reference'},
'word': {'description': 'word as it appears in the text'},
'bol_surface': {'description': 'BOL based word as it appears in the text'},
'normalized': {'description': 'surface word stripped of punctation'},
'lemma': {'description': 'lexeme'},
'bol_lemma': {'description': 'BOL based lexeme'},
'lemma_translit': {'description': 'lexeme translated'},
'form_tag': {'description': 'form tag'},
'functional_tag': {'description': 'functional tag'},
'strongs': {'description': 'strongs number'},
'strongs_unreliable': {'description': 'unrealiable strongs number'},
'lemma_dict': {'description': 'lexeme as it appears in the dictionary'},
'bol_lemma_dict': {'description': 'BOL based lexeme as it appears in the dictionary'},
'gloss_EN': {'description': 'English gloss'},
'bol_gloss_EN': {'description': 'BOL based English gloss'},
'abc_order': {'description': 'the dictionary position of a given word'},
'bol_dict_abc': {'description': 'BOL based dictionary position of a given word'},
'freq_lemma': {'description': 'number of occurence of a given lexeme'},
'bol_lemma_occ': {'description': 'BOL based number of occurence of a given lexeme'},
'bol_frequency_rank': {'description': 'BOL based frequency rank of a given lexeme'},
'sp': {'description': 'part of speech'},
'bol_psp': {'description': 'BOL based part of speech'},
'gn': {'description': 'gender'},
'bol_gender': {'description': 'BOL based gender'},
'nu': {'description': 'number'},
'bol_number': {'description': 'BOL based number'},
'nu_poss': {'description': 'number of posessor'},
'bol_possessor_number': {'description': 'BOL based number of posessor'},
'ps': {'description': 'person'},
'bol_person': {'description': 'BOL based person'},
'case': {'description': 'case'},
'bol_case': {'description': 'BOL based case'},
'tense': {'description': 'tense'},
'bol_tense': {'description': 'BOL based tense'},
'voice': {'description': 'voice'},
'bol_voice': {'description': 'BOL based voice'},
'mood': {'description': 'mood'},
'bol_mood': {'description': 'BOL based mood'},
'degree': {'description': 'degree'},
'extra': {'description': 'extra'},
'bol_suffix': {'description': 'BOL based suffix'},
'bol_verb_type': {'description': 'BOL based verb_type'},
'bol_noun_stem': {'description': 'BOL based noun stem/noun_type'},
'word_stem': {'description': 'stem of a word'},
'declension': {'description': 'noun declension'},
'bol_noun_declension': {'description': 'BOL based noun declension'},
'vocab_ReadGreekIn30Days': {'description': 'chapter categoried vocab as it appears in Larry Richards Textbook "Learning Greek in 30 days"'},
'normalized_noaccent': {'description': 'surface word stripped of punctations and accents'},
'lemma_noaccent': {'description': 'lemma stripped of accents"'},
'alt_morphology': {'description': 'alternative morphological interpretation of ambiguous nominal or verbal form'},
'verb_class': {'description': 'verb classes according to Teresa Reeve and Oliver Glanz'},
#'subverse': {'description': 'Subverse information'},
# 'para': {'description': 'A paragraph number'},
# 'ketiv': {'descrption': 'The text as it is written in the printed Tischendorf'},
# 'qere': {'description': 'The text as the editor thinks it should have been'},
# 'strongs': {'description': 'A word\'s number in Strongs'},
# 'str_lem': {'description': 'Word lemma that corresponds to The NEW Strong\'sComplete Dictionary of Bible Words'},
# 'anlex_lem': {'description': 'Word lemma that corresponds to Friberg, Friberg and Miller\'s ANLEX'}
}
# configure metadata/output
version = '1904'
generic['Version'] = version
output = os.path.join(output_dirs, version)
print(f'Processing Version {version}')
output_dir = output_dirs.format(version=version)
TF = Fabric(locations=output_dir, silent=True)
cv = CV(TF)
cv.walk(director,
slotType,
otext=otext,
generic=generic,
intFeatures=intFeatures,
featureMeta=featureMeta,
warn=True,
force=False,)
Processing Version 1904 handling input/Matthew.txt... handling input/Mark.txt... handling input/Luke.txt... handling input/John.txt... handling input/Acts.txt... handling input/Romans.txt... handling input/I_Corinthians.txt... handling input/II_Corinthians.txt... handling input/Galatians.txt... handling input/Ephesians.txt... handling input/Philippians.txt... handling input/Colossians.txt... handling input/I_Thessalonians.txt... handling input/II_Thessalonians.txt... handling input/I_Timothy.txt... handling input/II_Timothy.txt... handling input/Titus.txt... handling input/Philemon.txt... handling input/Hebrews.txt... handling input/James.txt... handling input/I_Peter.txt... handling input/II_Peter.txt... handling input/I_John.txt... handling input/II_John.txt... handling input/III_John.txt... handling input/Jude.txt... handling input/Revelation.txt...
True
str
) to Integer (int
)¶Several TF files contain numbers and should, therefore, change from int
to str
:
source | target |
---|---|
But the booknames were not working in the function book book
when going beyond Matthew
import os
import re
import collections
import json
import csv
# from glob import glob
from tf.fabric import Fabric
from tf.convert.walker import CV
# from tf.compose import modify
source_dirs = 'input' # "input" is the name of the input folder that contains the source file
output_dirs = 'output' # "output" is the name of the output folder to which the finished TF files will be dumped into
bo2book = {line.split()[0]:line.split()[1] for line in '''
NTt5 New_Testament
'''.split('\n') if line} # "OT" is the name of the file in the input folder AND "split()" splits at space
# patts = {'section': re.compile('(\d*):(\d*)\.(\d*)')}
def director(cv):
'''
Walks through NA1904 and triggers
slot and node creation events.
'''
# process books in order
for bo, book in bo2book.items():
book_loc = os.path.join(source_dirs, f'{bo}.txt') #for some reason the files with fileextension "xlsx" and "csv" do not work
print(f'\thandling {book_loc}...')
with open(book_loc, 'r', encoding="utf8") as infile:
text = [w for w in infile.read().split('\n') if w]
this_book = cv.node('book')
# keep track of when to trigger paragraph, chapter, and verse objects
# para_track = 1 # keep counts of paragraphs
prev_book = "Matthew" # start at Genesis
prev_chap = 1 # start at 1
prev_verse = 1 # start at 1
sentence_track = 1
sentence_done = False
clause_track = 1
clause_done = False
wrdnum = 0 # start at 0
this_chap = cv.node('chapter')
# this_para = cv.node('paragraph')
this_verse = cv.node('verse')
this_sentence = cv.node('sentence')
this_clause = cv.node('clause')
# iterate through words and construct objects
for word in text:
wrdnum += 1
data = word.split('\t')
# word_data, lemmas = data[:7], data[7:]
word_data = data[:29] #the number here is the amount of columns
morphology = ' '.join(data[29:]) #the number here is the amount of columns
# segment out word data
# bo_code, ref, brake, ketiv, qere, morph, strongs = word_data
orig_order, book, book_short, chapter, verse, word, normalized, lemma, morph_form, morph_functional, strongs, lexeme_dict, gloss, bol_lemma_dict, bol_gloss, lemma_translit, bol_dict_abc, abc_order, freq_lemma, sp, gn, nu, ps, case, tense, voice, mood, degree, normalized_noaccent, extra = word_data
#try:
# verse = int(verse)
#except ValueError:
# subverse = verse[-1:]
# verse = verse[:-1]
if verse == "":
print(f'{orig_order}: {verse} {subverse}')
# strongs_lemma, anlex_lemma = ' '.join(lemmas).split('!') # reconstitute lemmas and split on !
# chapt, verse, wrdnum = [int(v) for v in patts['section'].match(ref).groups()]
# -- handle TF events --
# detect book boundary
if prev_book != book:
# end subverse
# cv.feature(this_subverse, subverse=prev_subverse)
# cv.terminate(this_subverse)
# end verse
cv.feature(this_verse, verse=prev_verse)
cv.terminate(this_verse)
# end chapter
cv.feature(this_chap, chapter=prev_chap)
cv.terminate(this_chap)
# end book
cv.feature(this_book, book=prev_book)
cv.terminate(this_book)
# new book, chapter, verse, and subverse begin
this_book = cv.node('book')
prev_book = book
this_chap = cv.node('chapter')
prev_chap = chapter
this_verse = cv.node('verse')
prev_verse = verse
#this_subverse = cv.node('subverse')
#prev_subverse = subverse
wrdnum = 1
# detect chapter boundary
elif prev_chap != chapter:
# end subverse
#cv.feature(this_subverse, subverse=prev_subverse)
#cv.terminate(this_subverse)
# end verse
cv.feature(this_verse, verse=prev_verse)
cv.terminate(this_verse)
# end chapter
cv.feature(this_chap, chapter=prev_chap)
cv.terminate(this_chap)
# new chapter, verse, and subverse begin
this_chap = cv.node('chapter')
prev_chap = chapter
this_verse = cv.node('verse')
prev_verse = verse
#this_subverse = cv.node('subverse')
#prev_subverse = subverse
wrdnum = 1
# detect verse boundary
elif prev_verse != verse:
# end subverse
#cv.feature(this_subverse, subverse=prev_subverse)
#cv.terminate(this_subverse)
# end verse
cv.feature(this_verse, verse=prev_verse)
cv.terminate(this_verse)
# new verse and subverse begin
this_verse = cv.node('verse')
prev_verse = verse
#this_subverse = cv.node('subverse')
#prev_subverse = subverse
wrdnum = 1
# detect subverse boundary
#elif prev_subverse != subverse:
# cv.feature(this_subverse, subverse=prev_subverse)
# cv.terminate(this_subverse)
# this_subverse = cv.node('subverse')
# prev_subverse = subverse
# detect paragraph boundary
# if brake == 'P':
# cv.feature(this_para, para=para_track)
# cv.terminate(this_para)
# this_para = cv.node('paragraph') # start a new paragraph
# para_track += 1 # count paragraphs in the book
if sentence_done:
cv.feature(this_clause, clause=clause_track)
cv.terminate(this_clause)
cv.feature(this_sentence, sentence=sentence_track)
cv.terminate(this_sentence)
this_sentence = cv.node('sentence')
sentence_track += 1
this_clause = cv.node('clause')
clause_track += 1
sentence_done = False
clause_done = False
elif clause_done:
cv.feature(this_clause, clause=clause_track)
cv.terminate(this_clause)
this_clause = cv.node('clause')
clause_track += 1
clause_done = False
if text[-1:] == "." or text[-1:] == ";":
sentence_done = True
elif text[-1:] == "," or text[-1:] == "·":
clause_done = True
# make word object
this_word = cv.slot()
cv.feature(this_word,
orig_order=orig_order,
book=book,
book_short=book_short,
chapter=chapter,
verse=verse,
word=word,
normalized=normalized,
lemma=lemma,
morph_form=morph_form,
morph_functional=morph_functional,
strongs=strongs,
lexeme_dict=lexeme_dict,
gloss=gloss,
bol_lemma_dict=bol_lemma_dict,
bol_gloss=bol_gloss,
lemma_translit=lemma_translit,
bol_dict_abc=bol_dict_abc,
abc_order=abc_order,
freq_lemma=freq_lemma,
sp=sp,
gn=gn,
nu=nu,
ps=ps,
case=case,
tense=tense,
voice=voice,
mood=mood,
degree=degree,
extra=extra
# ketiv=ketiv,
# qere=qere,
# strongs=strongs,
# str_lem=strongs_lemma.strip(),
# anlex_lem=anlex_lemma.strip()
)
cv.terminate(this_word)
# end book and its objects
# - end subverse
#cv.feature(this_subverse, subverse=prev_subverse)
#cv.terminate(this_subverse)
# - end clause
cv.feature(this_clause, clause=clause_track)
cv.terminate(this_clause)
# - end sentence
cv.feature(this_sentence, sentence=sentence_track)
cv.terminate(this_sentence)
# - end verse
cv.feature(this_verse, verse=prev_verse)
cv.terminate(this_verse)
# - end paragraph
# cv.feature(this_para, para=para_track)
# cv.terminate(this_para)
# - end chapter
cv.feature(this_chap, chapter=prev_chap)
cv.terminate(this_chap)
# - end book
cv.feature(this_book, book=prev_book, book_code=bo)
cv.terminate(this_book)
slotType = 'word'
otext = {'fmt:text-orig-full':'{word} ',
'sectionTypes':'book,chapter,verse',
'sectionFeatures':'book,chapter,verse'}
generic = {'Name': 'NA1904',
'Version': '1904',
'Author': 'Nestle & Aland',
'Editors': 'Ulrik Sandborg Petersen, Eliran Wong, Oliver Glanz, BOL',
'Converter': 'Oliver Glanz',
'Source:':'https://github.com/biblicalhumanities/Nestle1904/blob/master/morph/Nestle1904.csv',
'Note':'?'}
intFeatures = {'chapter', 'verse'}
featureMeta = {
'orig_order': {'description': 'word order within corpus'},
'book': {'description': 'book'},
'book_short': {'description': 'Short book abbreviation'},
'book_code':{'description': 'Short book abbreviation'},
'chapter': {'description': 'chapter'},
'verse': {'description': 'verse'},
'sentence': {'description': 'sentence'},
'clause': {'description': 'clause'},
'word': {'description': 'word as it appears in the text'},
'normalized': {'description': 'normalized word'},
'lemma': {'description': 'lemma'},
'morph_form': {'description': 'formal morphology coding'},
'morph_functional': {'description': 'functional morphology coding'},
'strongs': {'description': 'Strong\'s numbers'},
'lexeme_dict': {'description': 'dictionary form of lemma'},
'gloss': {'description': 'English translation'},
'bol_lemma_dict': {'description': 'BOL based dictionary form'},
'bol_gloss': {'description': 'BOL based English gloss'},
'lemma_translit': {'description': 'lemma transliteration'},
'bol_dict_abc': {'description': 'BOL based alphabetic order of words'},
'abc_order': {'description': 'NA1904 alphabetic order of words'},
'freq_lemma': {'description': 'word frequency in corpus'},
'sp': {'description': 'part of speech'},
'gn': {'description': 'gender'},
'nu': {'description': 'number'},
'ps': {'description': 'person'},
'case': {'description': 'case'},
'tense': {'description': 'tense'},
'voice': {'description': 'voice'},
'mood': {'description': 'mood'},
'degree': {'description': 'degree'},
'extra': {'description': 'extra notes'},
#'subverse': {'description': 'Subverse information'},
# 'para': {'description': 'A paragraph number'},
# 'ketiv': {'descrption': 'The text as it is written in the printed Tischendorf'},
# 'qere': {'description': 'The text as the editor thinks it should have been'},
# 'strongs': {'description': 'A word\'s number in Strongs'},
# 'str_lem': {'description': 'Word lemma that corresponds to The NEW Strong\'sComplete Dictionary of Bible Words'},
# 'anlex_lem': {'description': 'Word lemma that corresponds to Friberg, Friberg and Miller\'s ANLEX'}
}
# configure metadata/output
version = '1904'
generic['Version'] = version
output = os.path.join(output_dirs, version)
print(f'Processing Version {version}')
output_dir = output_dirs.format(version=version)
TF = Fabric(locations=output_dir, silent=True)
cv = CV(TF)
cv.walk(director,
slotType,
otext=otext,
generic=generic,
intFeatures=intFeatures,
featureMeta=featureMeta,
warn=True,
force=False,)
Processing Version 1904 handling input/NTt5.txt...
True
To increase the rate,see https://annotation.github.io/text-fabric/tf/advanced/repo.html/
%load_ext autoreload
%autoreload 2
# First, I have to laod different modules that I use for analyzing the data and for plotting:
import sys, os, collections
import pandas as pd
import numpy as np
import re
import csv
import seaborn as sns
import matplotlib.pyplot as plt; plt.rcdefaults()
from matplotlib.pyplot import figure
from collections import Counter
# Second, I have to load the Text Fabric app
from tf.fabric import Fabric
from tf.app import use
NA = use ("CenterBLC/NA", version="1904")
Search0 = '''
book book=Matthew
chapter chapter=1
verse verse=1
word
'''
Search0 = NA.search(Search0)
NA.show(Search0, start=1, end=1, condensed=True, colorMap={1:'pink'}, extraFeatures={'clause','sentence','lemma','morph_form','morph_functional','normalized','strongs','lexeme_dict','gloss', 'sp', 'gn', 'nu', 'ps', 'case', 'tense', 'voice', 'mood', 'degree', 'extra', 'freq_lemma', 'bol_dict_abc', 'lemma_translit', 'abc_order', 'bol_lemma_dict','bol_gloss'})
0.15s 438 results
verse 1
Search1 = '''
verse book=Matt chapter=1 verse=1
word
'''
Search1 = NA.search(Search1)
NA.show(Search1, start=1, end=1, condensed=True, colorMap={1:'pink'}, extraFeatures={'lemma'})
0.04s 0 results
Search2 = '''
book book=Gen
chapter chapter=1
verse verse=1
word word* lex_utf8 g_cons_utf8 morphology* translit_SBL
'''
Search2 = LXX.search(Search2)
LXX.show(Search2, start=1, end=1, condensed=True, colorMap={1:'pink'}, extraFeatures={'subverse'})
2.74s 10 results
verse 1
featureprep=pd.read_excel('d:/OneDrive/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.41.xlsx')
pd.set_option('display.max_columns', 100)
featureprep.head(5)
orig_order | bookshort | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | bol_lemma_dict | bol_gloss | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume |
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage |
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus |
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ |
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent |
morph=featureprep
featureprep['bookshort'].unique()
array(['Matt', 'Mark', 'Luke', 'John', 'Acts', 'Rom', '1Cor', '2Cor', 'Gal', 'Eph', 'Phil', 'Col', '1Thess', '2Thess', '1Tim', '2Tim', 'Titus', 'Phlm', 'Heb', 'Jas', '1Pet', '2Pet', '1John', '2John', '3John', 'Jude', 'Rev'], dtype=object)
def bookname (row):
if re.search('Matt', str(row)):
return 'Matthew'
if re.search('Mark', str(row)):
return 'Mark'
if re.search('Luke', str(row)):
return 'Luke'
if re.search('John', str(row)):
return 'John'
if re.search('Acts', str(row)):
return 'Acts'
if re.search('Rom', str(row)):
return 'Romans'
if re.search('1Cor', str(row)):
return 'I_Corinthians'
if re.search('2Cor', str(row)):
return 'II_Corinthians'
if re.search('Gal', str(row)):
return 'Galatians'
if re.search('Eph', str(row)):
return 'Ephesians'
if re.search('Phil', str(row)):
return 'Philippians'
if re.search('Col', str(row)):
return 'Colossians'
if re.search('1Thess', str(row)):
return 'I_Thessalonians'
if re.search('2Thess', str(row)):
return 'II_Thessalonians'
if re.search('1Tim', str(row)):
return 'I_Timothy'
if re.search('2Tim', str(row)):
return 'II_Timothy'
if re.search('Titus', str(row)):
return 'Titus'
if re.search('Phlm', str(row)):
return 'Philemon'
if re.search('Heb', str(row)):
return 'Hebrews'
if re.search('Jas', str(row)):
return 'James'
if re.search('1Pet', str(row)):
return 'I_Peter'
if re.search('2Pet', str(row)):
return 'II_Peter'
if re.search('1John', str(row)):
return 'I_John'
if re.search('2John', str(row)):
return 'II_John'
if re.search('3John', str(row)):
return 'III_John'
if re.search('Jude', str(row)):
return 'Jude'
if re.search('Rev', str(row)):
return 'Revelation'
else:
return ''
featureprep['fullbookname']=featureprep['bookshort'].apply(bookname)
featureprep.head(30000)
orig_order | bookshort | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | bol_lemma_dict | bol_gloss | fullbookname | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume | Matthew |
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage | Matthew |
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus | Matthew |
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | Matthew |
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew |
... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
29995 | 29996 | Luke | 1 | 26 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Luke |
29996 | 29997 | Luke | 1 | 26 | τῷ | τῷ | ὁ | T-DSM | T-DSM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Luke |
29997 | 29998 | Luke | 1 | 26 | μηνὶ | μηνί | μήν (II) | N-DSM | N-DSM | 3376 | NaN | month | noun | m | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 18 | 3241 | men (II) | 3222 | NaN | month | Luke |
29998 | 29999 | Luke | 1 | 26 | τῷ | τῷ | ὁ | T-DSM | T-DSM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Luke |
29999 | 30000 | Luke | 1 | 26 | ἕκτῳ | ἕκτῳ | ἕκτος | A-DSM | A-DSM | 1623 | ἕκτος, -η, -ον | sixth | adj | m | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 14 | 1610 | ektos | 1603 | ἕκτος, -η, -ον | sixth | Luke |
30000 rows × 29 columns
sp
¶def spconditions(row):
if re.search('^A-.*', str(row)):
return 'adj'
if re.search('^C.*', str(row)):
return 'conj'
if re.search('^D.*', str(row)):
return 'adv'
if re.search('^I.*', str(row)):
return 'interj'
if re.search('^N-.*', str(row)):
return 'noun'
if re.search('^P.*', str(row)):
return 'prep'
if re.search('^T-.*', str(row)):
return 'art'
if re.search('^C-.*', str(row)):
return 'pron-recip'
if re.search('^RI.*', str(row)):
return 'pron-inter'
if re.search('^P-.*', str(row)):
return 'pron-prs'
if re.search('^D-.*', str(row)):
return 'pron-demon'
if re.search('^K-.*', str(row)):
return 'pron-correl'
if re.search('^I-.*', str(row)):
return 'pron-interrog'
if re.search('^X-.*', str(row)):
return 'pron-indefi'
if re.search('^R-.*', str(row)):
return 'pron-rela'
if re.search('^Q-.*', str(row)):
return 'pron-correl-interrog'
if re.search('^F-.*', str(row)):
return 'pron-reflex'
if re.search('^S-.*', str(row)):
return 'pron-posses'
if re.search('^ADV.*', str(row)):
return 'adv'
if re.search('^CONJ.*', str(row)):
return 'conj'
if re.search('^COND.*', str(row)):
return 'cond'
if re.search('^PRT.*', str(row)):
return 'particle'
if re.search('^PREP.*', str(row)):
return 'preposition'
if re.search('^INJ.*', str(row)):
return 'interjection'
if re.search('^ARAM.*', str(row)):
return 'aramaic'
if re.search('^HEB.*', str(row)):
return 'hebrew'
if re.search('^N-PRI.*', str(row)):
return 'proper noun'
if re.search('^A-NUI.*', str(row)):
return 'numeral'
if re.search('^N-LI.*', str(row)):
return 'letter'
if re.search('^N-OI.*', str(row)):
return 'noun_other'
if re.search('^PUNCT.*', str(row)):
return 'punctuation'
if re.search('^V-.*', str(row)):
return 'verb'
else:
return ''
morph['sp']=morph['morph_form'].apply(spconditions)
morph.head(20)
orig_order | bookshort | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | bol_lemma_dict | bol_gloss | fullbookname | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume | Matthew |
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage | Matthew |
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus | Matthew |
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | Matthew |
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew |
5 | 6 | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 59 | 1151 | Dauid | 1148 | Δαυίδ, ὁ | David | Matthew |
6 | 7 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew |
7 | 8 | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew |
8 | 9 | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew |
9 | 10 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | NaN | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew |
10 | 11 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
11 | 12 | Matt | 1 | 2 | Ἰσαάκ, | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew |
12 | 13 | Matt | 1 | 2 | Ἰσαὰκ | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew |
13 | 14 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew |
14 | 15 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | NaN | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew |
15 | 16 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
16 | 17 | Matt | 1 | 2 | Ἰακώβ, | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew |
17 | 18 | Matt | 1 | 2 | Ἰακὼβ | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew |
18 | 19 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew |
19 | 20 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | NaN | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew |
def gender(row):
if re.search('.*F$', str(row)):
return 'f'
if re.search('.*M$', str(row)):
return 'm'
if re.search('.*N$', str(row)):
return 'n'
else:
return ''
morph['gn']=morph['morph_form'].apply(gender)
morph.head(20)
orig_order | bookshort | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | bol_lemma_dict | bol_gloss | fullbookname | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume | Matthew |
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage | Matthew |
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus | Matthew |
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | Matthew |
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew |
5 | 6 | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 59 | 1151 | Dauid | 1148 | Δαυίδ, ὁ | David | Matthew | |
6 | 7 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew |
7 | 8 | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | |
8 | 9 | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | |
9 | 10 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
10 | 11 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
11 | 12 | Matt | 1 | 2 | Ἰσαάκ, | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | |
12 | 13 | Matt | 1 | 2 | Ἰσαὰκ | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | |
13 | 14 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |
14 | 15 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
15 | 16 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
16 | 17 | Matt | 1 | 2 | Ἰακώβ, | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | |
17 | 18 | Matt | 1 | 2 | Ἰακὼβ | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | |
18 | 19 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |
19 | 20 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew |
def number(row):
if re.search('.*S.$', str(row)):
return 'sg'
if re.search('.*S$', str(row)):
return 'sg'
if re.search('.*P.$', str(row)):
return 'pl'
if re.search('.*P$', str(row)):
return 'pl'
else:
return ''
morph['nu']=morph['morph_form'].apply(number)
morph.head(50)
orig_order | bookshort | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | bol_lemma_dict | bol_gloss | fullbookname | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume | Matthew |
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage | Matthew |
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus | Matthew |
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | Matthew |
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew |
5 | 6 | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 59 | 1151 | Dauid | 1148 | Δαυίδ, ὁ | David | Matthew | ||
6 | 7 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew |
7 | 8 | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | ||
8 | 9 | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | ||
9 | 10 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
10 | 11 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
11 | 12 | Matt | 1 | 2 | Ἰσαάκ, | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | ||
12 | 13 | Matt | 1 | 2 | Ἰσαὰκ | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | ||
13 | 14 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||
14 | 15 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
15 | 16 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
16 | 17 | Matt | 1 | 2 | Ἰακώβ, | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | ||
17 | 18 | Matt | 1 | 2 | Ἰακὼβ | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | ||
18 | 19 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||
19 | 20 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
20 | 21 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
21 | 22 | Matt | 1 | 2 | Ἰούδαν | Ἰούδαν | Ἰούδας | N-ASM | N-ASM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew |
22 | 23 | Matt | 1 | 2 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | ||
23 | 24 | Matt | 1 | 2 | τοὺς | τούς | ὁ | T-APM | T-APM | 3588 | ὁ, ἡ, τό | the | art | m | pl | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
24 | 25 | Matt | 1 | 2 | ἀδελφοὺς | ἀδελφούς | ἀδελφός | N-APM | N-APM | 80 | ἀδελφός, -οῦ, ὁ | brother | noun | m | pl | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 343 | 79 | adelphos | 79 | ἀδελφός, -οῦ, ὁ | brother | Matthew |
25 | 26 | Matt | 1 | 2 | αὐτοῦ, | αὐτοῦ | αὐτός | P-GSM | P-GSM | 846 | αὐτός, -ή, -ό | he, she, it, they, them, same | prep | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 5550 | 839 | autos | 835 | αὐτός, -ή, -ό | he, she, it, they, them, same | Matthew |
26 | 27 | Matt | 1 | 3 | Ἰούδας | Ἰούδας | Ἰούδας | N-NSM | N-NSM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew |
27 | 28 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||
28 | 29 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
29 | 30 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
30 | 31 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | ||
31 | 32 | Matt | 1 | 3 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | ||
32 | 33 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
33 | 34 | Matt | 1 | 3 | Ζαρὰ | Ζαρά | Ζάρα | N-PRI | N-PRI | 2196 | Ζάρα, ὁ | Zerah | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 1 | 2182 | Zara | 2173 | Ζάρα, ὁ | Zerah | Matthew | ||
34 | 35 | Matt | 1 | 3 | ἐκ | ἐκ | ἐκ | PREP | PREP | 1537 | ἐκ, ἐξ | from out, out from among, from | prep | pl | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 913 | 1522 | ek | 1516 | ἐκ, ἐξ | from out, out from among, from | Matthew | |
35 | 36 | Matt | 1 | 3 | τῆς | τῆς | ὁ | T-GSF | T-GSF | 3588 | ὁ, ἡ, τό | the | art | f | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
36 | 37 | Matt | 1 | 3 | Θάμαρ, | Θάμαρ | Θαμάρ | N-PRI | N-PRI | 2283 | Θαμάρ, ἡ | Tamar | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 1 | 2261 | Thamar | 2251 | Θαμάρ, ἡ | Tamar | Matthew | ||
37 | 38 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | ||
38 | 39 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||
39 | 40 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
40 | 41 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
41 | 42 | Matt | 1 | 3 | Ἐσρώμ, | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | ||
42 | 43 | Matt | 1 | 3 | Ἐσρὼμ | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | ||
43 | 44 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||
44 | 45 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
45 | 46 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | NaN | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew |
46 | 47 | Matt | 1 | 3 | Ἀράμ, | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | ||
47 | 48 | Matt | 1 | 4 | Ἀρὰμ | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | ||
48 | 49 | Matt | 1 | 4 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||
49 | 50 | Matt | 1 | 4 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew |
def person(row):
if re.search('.*1.$', str(row)):
return 'p1'
if re.search('.*2.$', str(row)):
return 'p2'
if re.search('.*3.$', str(row)):
return 'p3'
else:
return ''
morph['ps']=morph['morph_form'].apply(person)
morph.head(50)
orig_order | bookshort | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | bol_lemma_dict | bol_gloss | fullbookname | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume | Matthew | |
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | genitive | NaN | NaN | NaN | NaN | NaN | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage | Matthew | |
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | genitive | NaN | NaN | NaN | NaN | NaN | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus | Matthew | |
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | genitive | NaN | NaN | NaN | NaN | NaN | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | Matthew | |
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | |
5 | 6 | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | noun | NaN | NaN | NaN | NaN | NaN | NaN | 59 | 1151 | Dauid | 1148 | Δαυίδ, ὁ | David | Matthew | |||
6 | 7 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | |
7 | 8 | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | |||
8 | 9 | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | |||
9 | 10 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
10 | 11 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
11 | 12 | Matt | 1 | 2 | Ἰσαάκ, | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | |||
12 | 13 | Matt | 1 | 2 | Ἰσαὰκ | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | |||
13 | 14 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||
14 | 15 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
15 | 16 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
16 | 17 | Matt | 1 | 2 | Ἰακώβ, | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | |||
17 | 18 | Matt | 1 | 2 | Ἰακὼβ | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | |||
18 | 19 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||
19 | 20 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
20 | 21 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
21 | 22 | Matt | 1 | 2 | Ἰούδαν | Ἰούδαν | Ἰούδας | N-ASM | N-ASM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | |
22 | 23 | Matt | 1 | 2 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | NaN | NaN | NaN | NaN | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | |||
23 | 24 | Matt | 1 | 2 | τοὺς | τούς | ὁ | T-APM | T-APM | 3588 | ὁ, ἡ, τό | the | art | m | pl | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
24 | 25 | Matt | 1 | 2 | ἀδελφοὺς | ἀδελφούς | ἀδελφός | N-APM | N-APM | 80 | ἀδελφός, -οῦ, ὁ | brother | noun | m | pl | accusative | NaN | NaN | NaN | NaN | NaN | 343 | 79 | adelphos | 79 | ἀδελφός, -οῦ, ὁ | brother | Matthew | |
25 | 26 | Matt | 1 | 2 | αὐτοῦ, | αὐτοῦ | αὐτός | P-GSM | P-GSM | 846 | αὐτός, -ή, -ό | he, she, it, they, them, same | prep | m | sg | genitive | NaN | NaN | NaN | NaN | NaN | 5550 | 839 | autos | 835 | αὐτός, -ή, -ό | he, she, it, they, them, same | Matthew | |
26 | 27 | Matt | 1 | 3 | Ἰούδας | Ἰούδας | Ἰούδας | N-NSM | N-NSM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | nominative | NaN | NaN | NaN | NaN | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | |
27 | 28 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||
28 | 29 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
29 | 30 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
30 | 31 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | NaN | NaN | NaN | NaN | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | |||
31 | 32 | Matt | 1 | 3 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | NaN | NaN | NaN | NaN | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | |||
32 | 33 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
33 | 34 | Matt | 1 | 3 | Ζαρὰ | Ζαρά | Ζάρα | N-PRI | N-PRI | 2196 | Ζάρα, ὁ | Zerah | noun | NaN | NaN | NaN | NaN | NaN | NaN | 1 | 2182 | Zara | 2173 | Ζάρα, ὁ | Zerah | Matthew | |||
34 | 35 | Matt | 1 | 3 | ἐκ | ἐκ | ἐκ | PREP | PREP | 1537 | ἐκ, ἐξ | from out, out from among, from | prep | pl | NaN | NaN | NaN | NaN | NaN | NaN | 913 | 1522 | ek | 1516 | ἐκ, ἐξ | from out, out from among, from | Matthew | ||
35 | 36 | Matt | 1 | 3 | τῆς | τῆς | ὁ | T-GSF | T-GSF | 3588 | ὁ, ἡ, τό | the | art | f | sg | genitive | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
36 | 37 | Matt | 1 | 3 | Θάμαρ, | Θάμαρ | Θαμάρ | N-PRI | N-PRI | 2283 | Θαμάρ, ἡ | Tamar | noun | NaN | NaN | NaN | NaN | NaN | NaN | 1 | 2261 | Thamar | 2251 | Θαμάρ, ἡ | Tamar | Matthew | |||
37 | 38 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | NaN | NaN | NaN | NaN | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | |||
38 | 39 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||
39 | 40 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
40 | 41 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
41 | 42 | Matt | 1 | 3 | Ἐσρώμ, | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | NaN | NaN | NaN | NaN | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | |||
42 | 43 | Matt | 1 | 3 | Ἐσρὼμ | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | NaN | NaN | NaN | NaN | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | |||
43 | 44 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||
44 | 45 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |
45 | 46 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
46 | 47 | Matt | 1 | 3 | Ἀράμ, | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | NaN | NaN | NaN | NaN | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | |||
47 | 48 | Matt | 1 | 4 | Ἀρὰμ | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | NaN | NaN | NaN | NaN | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | |||
48 | 49 | Matt | 1 | 4 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||
49 | 50 | Matt | 1 | 4 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew |
def case(row):
if re.search('[NATPRCDKIXQFS]-N.*$', str(row)):
return 'nominative'
if re.search('[NATPRCDKIXQFS]-G.*$', str(row)):
return 'genitive'
if re.search('[NATPRCDKIXQFS]-D.*$', str(row)):
return 'dative'
if re.search('[NATPRCDKIXQFS]-A.*$', str(row)):
return 'accusative'
if re.search('[NATPRCDKIXQFS]-V.*$', str(row)):
return 'vocative'
else:
return ''
morph['case']=morph['morph_form'].apply(case)
morph.head(50)
orig_order | bookshort | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | bol_lemma_dict | bol_gloss | fullbookname | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume | Matthew | |
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | genitive | NaN | NaN | NaN | NaN | NaN | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage | Matthew | |
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | genitive | NaN | NaN | NaN | NaN | NaN | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus | Matthew | |
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | genitive | NaN | NaN | NaN | NaN | NaN | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | Matthew | |
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | |
5 | 6 | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | noun | NaN | NaN | NaN | NaN | NaN | 59 | 1151 | Dauid | 1148 | Δαυίδ, ὁ | David | Matthew | ||||
6 | 7 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | |
7 | 8 | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | ||||
8 | 9 | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | ||||
9 | 10 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
10 | 11 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
11 | 12 | Matt | 1 | 2 | Ἰσαάκ, | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | ||||
12 | 13 | Matt | 1 | 2 | Ἰσαὰκ | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | ||||
13 | 14 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||
14 | 15 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
15 | 16 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
16 | 17 | Matt | 1 | 2 | Ἰακώβ, | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | ||||
17 | 18 | Matt | 1 | 2 | Ἰακὼβ | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | ||||
18 | 19 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||
19 | 20 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
20 | 21 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
21 | 22 | Matt | 1 | 2 | Ἰούδαν | Ἰούδαν | Ἰούδας | N-ASM | N-ASM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | |
22 | 23 | Matt | 1 | 2 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | NaN | NaN | NaN | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | ||||
23 | 24 | Matt | 1 | 2 | τοὺς | τούς | ὁ | T-APM | T-APM | 3588 | ὁ, ἡ, τό | the | art | m | pl | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
24 | 25 | Matt | 1 | 2 | ἀδελφοὺς | ἀδελφούς | ἀδελφός | N-APM | N-APM | 80 | ἀδελφός, -οῦ, ὁ | brother | noun | m | pl | accusative | NaN | NaN | NaN | NaN | NaN | 343 | 79 | adelphos | 79 | ἀδελφός, -οῦ, ὁ | brother | Matthew | |
25 | 26 | Matt | 1 | 2 | αὐτοῦ, | αὐτοῦ | αὐτός | P-GSM | P-GSM | 846 | αὐτός, -ή, -ό | he, she, it, they, them, same | prep | m | sg | genitive | NaN | NaN | NaN | NaN | NaN | 5550 | 839 | autos | 835 | αὐτός, -ή, -ό | he, she, it, they, them, same | Matthew | |
26 | 27 | Matt | 1 | 3 | Ἰούδας | Ἰούδας | Ἰούδας | N-NSM | N-NSM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | nominative | NaN | NaN | NaN | NaN | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | |
27 | 28 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||
28 | 29 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
29 | 30 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
30 | 31 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | NaN | NaN | NaN | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | ||||
31 | 32 | Matt | 1 | 3 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | NaN | NaN | NaN | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | ||||
32 | 33 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
33 | 34 | Matt | 1 | 3 | Ζαρὰ | Ζαρά | Ζάρα | N-PRI | N-PRI | 2196 | Ζάρα, ὁ | Zerah | noun | NaN | NaN | NaN | NaN | NaN | 1 | 2182 | Zara | 2173 | Ζάρα, ὁ | Zerah | Matthew | ||||
34 | 35 | Matt | 1 | 3 | ἐκ | ἐκ | ἐκ | PREP | PREP | 1537 | ἐκ, ἐξ | from out, out from among, from | prep | pl | NaN | NaN | NaN | NaN | NaN | 913 | 1522 | ek | 1516 | ἐκ, ἐξ | from out, out from among, from | Matthew | |||
35 | 36 | Matt | 1 | 3 | τῆς | τῆς | ὁ | T-GSF | T-GSF | 3588 | ὁ, ἡ, τό | the | art | f | sg | genitive | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
36 | 37 | Matt | 1 | 3 | Θάμαρ, | Θάμαρ | Θαμάρ | N-PRI | N-PRI | 2283 | Θαμάρ, ἡ | Tamar | noun | NaN | NaN | NaN | NaN | NaN | 1 | 2261 | Thamar | 2251 | Θαμάρ, ἡ | Tamar | Matthew | ||||
37 | 38 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | NaN | NaN | NaN | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | ||||
38 | 39 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||
39 | 40 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
40 | 41 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
41 | 42 | Matt | 1 | 3 | Ἐσρώμ, | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | NaN | NaN | NaN | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | ||||
42 | 43 | Matt | 1 | 3 | Ἐσρὼμ | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | NaN | NaN | NaN | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | ||||
43 | 44 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||
44 | 45 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
45 | 46 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |
46 | 47 | Matt | 1 | 3 | Ἀράμ, | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | NaN | NaN | NaN | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | ||||
47 | 48 | Matt | 1 | 4 | Ἀρὰμ | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | NaN | NaN | NaN | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | ||||
48 | 49 | Matt | 1 | 4 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||
49 | 50 | Matt | 1 | 4 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew |
def tense(row):
if re.search('V-P.*', str(row)):
return 'present'
if re.search('V-I.*', str(row)):
return 'imperfect'
if re.search('V-F.*', str(row)):
return 'future'
if re.search('V-2F.*', str(row)):
return '2ndfuture'
if re.search('V-A.*', str(row)):
return 'aorist'
if re.search('V-2A.*', str(row)):
return '2ndaorist'
if re.search('V-R.*', str(row)):
return 'perfect'
if re.search('V-2R.*', str(row)):
return '2ndperfect'
if re.search('V-L.*', str(row)):
return 'pluperfect'
if re.search('V-2L.*', str(row)):
return '2ndpluperfect'
if re.search('V-X.*', str(row)):
return 'no_tense_stated'
else:
return ''
morph['tense']=morph['morph_form'].apply(tense)
morph.head(50)
orig_order | bookshort | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | bol_lemma_dict | bol_gloss | fullbookname | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | nominative | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume | Matthew | ||
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | genitive | NaN | NaN | NaN | NaN | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage | Matthew | ||
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | genitive | NaN | NaN | NaN | NaN | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus | Matthew | ||
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | genitive | NaN | NaN | NaN | NaN | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | Matthew | ||
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | ||
5 | 6 | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | noun | NaN | NaN | NaN | NaN | 59 | 1151 | Dauid | 1148 | Δαυίδ, ὁ | David | Matthew | |||||
6 | 7 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | ||
7 | 8 | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | |||||
8 | 9 | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | |||||
9 | 10 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
10 | 11 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||
11 | 12 | Matt | 1 | 2 | Ἰσαάκ, | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | |||||
12 | 13 | Matt | 1 | 2 | Ἰσαὰκ | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | |||||
13 | 14 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||
14 | 15 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
15 | 16 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||
16 | 17 | Matt | 1 | 2 | Ἰακώβ, | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | |||||
17 | 18 | Matt | 1 | 2 | Ἰακὼβ | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | |||||
18 | 19 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||
19 | 20 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
20 | 21 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||
21 | 22 | Matt | 1 | 2 | Ἰούδαν | Ἰούδαν | Ἰούδας | N-ASM | N-ASM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | accusative | NaN | NaN | NaN | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | ||
22 | 23 | Matt | 1 | 2 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | NaN | NaN | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | |||||
23 | 24 | Matt | 1 | 2 | τοὺς | τούς | ὁ | T-APM | T-APM | 3588 | ὁ, ἡ, τό | the | art | m | pl | accusative | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||
24 | 25 | Matt | 1 | 2 | ἀδελφοὺς | ἀδελφούς | ἀδελφός | N-APM | N-APM | 80 | ἀδελφός, -οῦ, ὁ | brother | noun | m | pl | accusative | NaN | NaN | NaN | NaN | 343 | 79 | adelphos | 79 | ἀδελφός, -οῦ, ὁ | brother | Matthew | ||
25 | 26 | Matt | 1 | 2 | αὐτοῦ, | αὐτοῦ | αὐτός | P-GSM | P-GSM | 846 | αὐτός, -ή, -ό | he, she, it, they, them, same | prep | m | sg | genitive | NaN | NaN | NaN | NaN | 5550 | 839 | autos | 835 | αὐτός, -ή, -ό | he, she, it, they, them, same | Matthew | ||
26 | 27 | Matt | 1 | 3 | Ἰούδας | Ἰούδας | Ἰούδας | N-NSM | N-NSM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | nominative | NaN | NaN | NaN | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | ||
27 | 28 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||
28 | 29 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
29 | 30 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||
30 | 31 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | NaN | NaN | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | |||||
31 | 32 | Matt | 1 | 3 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | NaN | NaN | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | |||||
32 | 33 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||
33 | 34 | Matt | 1 | 3 | Ζαρὰ | Ζαρά | Ζάρα | N-PRI | N-PRI | 2196 | Ζάρα, ὁ | Zerah | noun | NaN | NaN | NaN | NaN | 1 | 2182 | Zara | 2173 | Ζάρα, ὁ | Zerah | Matthew | |||||
34 | 35 | Matt | 1 | 3 | ἐκ | ἐκ | ἐκ | PREP | PREP | 1537 | ἐκ, ἐξ | from out, out from among, from | prep | pl | NaN | NaN | NaN | NaN | 913 | 1522 | ek | 1516 | ἐκ, ἐξ | from out, out from among, from | Matthew | ||||
35 | 36 | Matt | 1 | 3 | τῆς | τῆς | ὁ | T-GSF | T-GSF | 3588 | ὁ, ἡ, τό | the | art | f | sg | genitive | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||
36 | 37 | Matt | 1 | 3 | Θάμαρ, | Θάμαρ | Θαμάρ | N-PRI | N-PRI | 2283 | Θαμάρ, ἡ | Tamar | noun | NaN | NaN | NaN | NaN | 1 | 2261 | Thamar | 2251 | Θαμάρ, ἡ | Tamar | Matthew | |||||
37 | 38 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | NaN | NaN | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | |||||
38 | 39 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||
39 | 40 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
40 | 41 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||
41 | 42 | Matt | 1 | 3 | Ἐσρώμ, | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | NaN | NaN | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | |||||
42 | 43 | Matt | 1 | 3 | Ἐσρὼμ | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | NaN | NaN | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | |||||
43 | 44 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||
44 | 45 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
45 | 46 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||
46 | 47 | Matt | 1 | 3 | Ἀράμ, | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | NaN | NaN | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | |||||
47 | 48 | Matt | 1 | 4 | Ἀρὰμ | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | NaN | NaN | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | |||||
48 | 49 | Matt | 1 | 4 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||
49 | 50 | Matt | 1 | 4 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew |
def voice(row):
if re.search('V-.A.*$', str(row)):
return 'active'
if re.search('V-.M.*$', str(row)):
return 'middle'
if re.search('V-.P.*$', str(row)):
return 'passive'
if re.search('V-.E.*$', str(row)):
return 'middle_or_passive'
if re.search('V-.D.*$', str(row)):
return 'middle_deponent'
if re.search('V-.O.*$', str(row)):
return 'passive_deponent'
if re.search('V-.N.*$', str(row)):
return 'middle_or_passive_deponent'
if re.search('V-.Q.*$', str(row)):
return 'impersonal_active'
if re.search('V-.X.*$', str(row)):
return 'no_voice'
else:
return ''
morph['voice']=morph['morph_form'].apply(voice)
morph.head(50)
orig_order | bookshort | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | bol_lemma_dict | bol_gloss | fullbookname | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | nominative | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume | Matthew | |||
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | genitive | NaN | NaN | NaN | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage | Matthew | |||
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | genitive | NaN | NaN | NaN | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus | Matthew | |||
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | genitive | NaN | NaN | NaN | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | Matthew | |||
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | |||
5 | 6 | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | noun | NaN | NaN | NaN | 59 | 1151 | Dauid | 1148 | Δαυίδ, ὁ | David | Matthew | ||||||
6 | 7 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | |||
7 | 8 | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | ||||||
8 | 9 | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | ||||||
9 | 10 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
10 | 11 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||
11 | 12 | Matt | 1 | 2 | Ἰσαάκ, | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | ||||||
12 | 13 | Matt | 1 | 2 | Ἰσαὰκ | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | ||||||
13 | 14 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||||
14 | 15 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
15 | 16 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||
16 | 17 | Matt | 1 | 2 | Ἰακώβ, | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | ||||||
17 | 18 | Matt | 1 | 2 | Ἰακὼβ | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | ||||||
18 | 19 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||||
19 | 20 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
20 | 21 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||
21 | 22 | Matt | 1 | 2 | Ἰούδαν | Ἰούδαν | Ἰούδας | N-ASM | N-ASM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | accusative | NaN | NaN | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | |||
22 | 23 | Matt | 1 | 2 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | NaN | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | ||||||
23 | 24 | Matt | 1 | 2 | τοὺς | τούς | ὁ | T-APM | T-APM | 3588 | ὁ, ἡ, τό | the | art | m | pl | accusative | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||
24 | 25 | Matt | 1 | 2 | ἀδελφοὺς | ἀδελφούς | ἀδελφός | N-APM | N-APM | 80 | ἀδελφός, -οῦ, ὁ | brother | noun | m | pl | accusative | NaN | NaN | NaN | 343 | 79 | adelphos | 79 | ἀδελφός, -οῦ, ὁ | brother | Matthew | |||
25 | 26 | Matt | 1 | 2 | αὐτοῦ, | αὐτοῦ | αὐτός | P-GSM | P-GSM | 846 | αὐτός, -ή, -ό | he, she, it, they, them, same | prep | m | sg | genitive | NaN | NaN | NaN | 5550 | 839 | autos | 835 | αὐτός, -ή, -ό | he, she, it, they, them, same | Matthew | |||
26 | 27 | Matt | 1 | 3 | Ἰούδας | Ἰούδας | Ἰούδας | N-NSM | N-NSM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | nominative | NaN | NaN | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | |||
27 | 28 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||||
28 | 29 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
29 | 30 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||
30 | 31 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | NaN | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | ||||||
31 | 32 | Matt | 1 | 3 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | NaN | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | ||||||
32 | 33 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||
33 | 34 | Matt | 1 | 3 | Ζαρὰ | Ζαρά | Ζάρα | N-PRI | N-PRI | 2196 | Ζάρα, ὁ | Zerah | noun | NaN | NaN | NaN | 1 | 2182 | Zara | 2173 | Ζάρα, ὁ | Zerah | Matthew | ||||||
34 | 35 | Matt | 1 | 3 | ἐκ | ἐκ | ἐκ | PREP | PREP | 1537 | ἐκ, ἐξ | from out, out from among, from | prep | pl | NaN | NaN | NaN | 913 | 1522 | ek | 1516 | ἐκ, ἐξ | from out, out from among, from | Matthew | |||||
35 | 36 | Matt | 1 | 3 | τῆς | τῆς | ὁ | T-GSF | T-GSF | 3588 | ὁ, ἡ, τό | the | art | f | sg | genitive | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||
36 | 37 | Matt | 1 | 3 | Θάμαρ, | Θάμαρ | Θαμάρ | N-PRI | N-PRI | 2283 | Θαμάρ, ἡ | Tamar | noun | NaN | NaN | NaN | 1 | 2261 | Thamar | 2251 | Θαμάρ, ἡ | Tamar | Matthew | ||||||
37 | 38 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | NaN | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | ||||||
38 | 39 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||||
39 | 40 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
40 | 41 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||
41 | 42 | Matt | 1 | 3 | Ἐσρώμ, | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | NaN | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | ||||||
42 | 43 | Matt | 1 | 3 | Ἐσρὼμ | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | NaN | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | ||||||
43 | 44 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||||
44 | 45 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
45 | 46 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||
46 | 47 | Matt | 1 | 3 | Ἀράμ, | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | NaN | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | ||||||
47 | 48 | Matt | 1 | 4 | Ἀρὰμ | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | NaN | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | ||||||
48 | 49 | Matt | 1 | 4 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||||
49 | 50 | Matt | 1 | 4 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew |
def mood(row):
if re.search('V-..I.*$', str(row)):
return 'indicative'
if re.search('V-..S.*$', str(row)):
return 'subjunctive'
if re.search('V-..O.*$', str(row)):
return 'optative'
if re.search('V-..M.*$', str(row)):
return 'imperative'
if re.search('V-..N.*$', str(row)):
return 'infinitive'
if re.search('V-..P.*$', str(row)):
return 'participle'
if re.search('V-..R.*$', str(row)):
return 'imperative_participle'
else:
return ''
morph['mood']=morph['morph_form'].apply(mood)
morph.head(50)
orig_order | bookshort | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | bol_lemma_dict | bol_gloss | fullbookname | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | nominative | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume | Matthew | ||||
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | genitive | NaN | NaN | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage | Matthew | ||||
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | genitive | NaN | NaN | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus | Matthew | ||||
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | genitive | NaN | NaN | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | Matthew | ||||
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | ||||
5 | 6 | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | noun | NaN | NaN | 59 | 1151 | Dauid | 1148 | Δαυίδ, ὁ | David | Matthew | |||||||
6 | 7 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | ||||
7 | 8 | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | |||||||
8 | 9 | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | |||||||
9 | 10 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
10 | 11 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||
11 | 12 | Matt | 1 | 2 | Ἰσαάκ, | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | |||||||
12 | 13 | Matt | 1 | 2 | Ἰσαὰκ | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | |||||||
13 | 14 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||||
14 | 15 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
15 | 16 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||
16 | 17 | Matt | 1 | 2 | Ἰακώβ, | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | |||||||
17 | 18 | Matt | 1 | 2 | Ἰακὼβ | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | |||||||
18 | 19 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||||
19 | 20 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
20 | 21 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||
21 | 22 | Matt | 1 | 2 | Ἰούδαν | Ἰούδαν | Ἰούδας | N-ASM | N-ASM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | accusative | NaN | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | ||||
22 | 23 | Matt | 1 | 2 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | |||||||
23 | 24 | Matt | 1 | 2 | τοὺς | τούς | ὁ | T-APM | T-APM | 3588 | ὁ, ἡ, τό | the | art | m | pl | accusative | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||
24 | 25 | Matt | 1 | 2 | ἀδελφοὺς | ἀδελφούς | ἀδελφός | N-APM | N-APM | 80 | ἀδελφός, -οῦ, ὁ | brother | noun | m | pl | accusative | NaN | NaN | 343 | 79 | adelphos | 79 | ἀδελφός, -οῦ, ὁ | brother | Matthew | ||||
25 | 26 | Matt | 1 | 2 | αὐτοῦ, | αὐτοῦ | αὐτός | P-GSM | P-GSM | 846 | αὐτός, -ή, -ό | he, she, it, they, them, same | prep | m | sg | genitive | NaN | NaN | 5550 | 839 | autos | 835 | αὐτός, -ή, -ό | he, she, it, they, them, same | Matthew | ||||
26 | 27 | Matt | 1 | 3 | Ἰούδας | Ἰούδας | Ἰούδας | N-NSM | N-NSM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | nominative | NaN | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | ||||
27 | 28 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||||
28 | 29 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
29 | 30 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||
30 | 31 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | |||||||
31 | 32 | Matt | 1 | 3 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | |||||||
32 | 33 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||
33 | 34 | Matt | 1 | 3 | Ζαρὰ | Ζαρά | Ζάρα | N-PRI | N-PRI | 2196 | Ζάρα, ὁ | Zerah | noun | NaN | NaN | 1 | 2182 | Zara | 2173 | Ζάρα, ὁ | Zerah | Matthew | |||||||
34 | 35 | Matt | 1 | 3 | ἐκ | ἐκ | ἐκ | PREP | PREP | 1537 | ἐκ, ἐξ | from out, out from among, from | prep | pl | NaN | NaN | 913 | 1522 | ek | 1516 | ἐκ, ἐξ | from out, out from among, from | Matthew | ||||||
35 | 36 | Matt | 1 | 3 | τῆς | τῆς | ὁ | T-GSF | T-GSF | 3588 | ὁ, ἡ, τό | the | art | f | sg | genitive | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||
36 | 37 | Matt | 1 | 3 | Θάμαρ, | Θάμαρ | Θαμάρ | N-PRI | N-PRI | 2283 | Θαμάρ, ἡ | Tamar | noun | NaN | NaN | 1 | 2261 | Thamar | 2251 | Θαμάρ, ἡ | Tamar | Matthew | |||||||
37 | 38 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | |||||||
38 | 39 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||||
39 | 40 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
40 | 41 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||
41 | 42 | Matt | 1 | 3 | Ἐσρώμ, | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | |||||||
42 | 43 | Matt | 1 | 3 | Ἐσρὼμ | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | |||||||
43 | 44 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||||
44 | 45 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||
45 | 46 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||
46 | 47 | Matt | 1 | 3 | Ἀράμ, | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | |||||||
47 | 48 | Matt | 1 | 4 | Ἀρὰμ | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | |||||||
48 | 49 | Matt | 1 | 4 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||||
49 | 50 | Matt | 1 | 4 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew |
def degree(row):
if re.search('.*-C$', str(row)):
return 'comparative'
if re.search('.*-S$', str(row)):
return 'superlative'
else:
return ''
morph['degree']=morph['morph_form'].apply(degree)
morph.head(50)
orig_order | bookshort | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | bol_lemma_dict | bol_gloss | fullbookname | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | nominative | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume | Matthew | |||||
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | genitive | NaN | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage | Matthew | |||||
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | genitive | NaN | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus | Matthew | |||||
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | genitive | NaN | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | Matthew | |||||
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | |||||
5 | 6 | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | noun | NaN | 59 | 1151 | Dauid | 1148 | Δαυίδ, ὁ | David | Matthew | ||||||||
6 | 7 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | |||||
7 | 8 | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | ||||||||
8 | 9 | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | ||||||||
9 | 10 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |||
10 | 11 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||||
11 | 12 | Matt | 1 | 2 | Ἰσαάκ, | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | ||||||||
12 | 13 | Matt | 1 | 2 | Ἰσαὰκ | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | NaN | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | ||||||||
13 | 14 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||||||
14 | 15 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |||
15 | 16 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||||
16 | 17 | Matt | 1 | 2 | Ἰακώβ, | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | ||||||||
17 | 18 | Matt | 1 | 2 | Ἰακὼβ | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | NaN | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | ||||||||
18 | 19 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||||||
19 | 20 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |||
20 | 21 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||||
21 | 22 | Matt | 1 | 2 | Ἰούδαν | Ἰούδαν | Ἰούδας | N-ASM | N-ASM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | accusative | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | |||||
22 | 23 | Matt | 1 | 2 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | ||||||||
23 | 24 | Matt | 1 | 2 | τοὺς | τούς | ὁ | T-APM | T-APM | 3588 | ὁ, ἡ, τό | the | art | m | pl | accusative | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||||
24 | 25 | Matt | 1 | 2 | ἀδελφοὺς | ἀδελφούς | ἀδελφός | N-APM | N-APM | 80 | ἀδελφός, -οῦ, ὁ | brother | noun | m | pl | accusative | NaN | 343 | 79 | adelphos | 79 | ἀδελφός, -οῦ, ὁ | brother | Matthew | |||||
25 | 26 | Matt | 1 | 2 | αὐτοῦ, | αὐτοῦ | αὐτός | P-GSM | P-GSM | 846 | αὐτός, -ή, -ό | he, she, it, they, them, same | prep | m | sg | genitive | NaN | 5550 | 839 | autos | 835 | αὐτός, -ή, -ό | he, she, it, they, them, same | Matthew | |||||
26 | 27 | Matt | 1 | 3 | Ἰούδας | Ἰούδας | Ἰούδας | N-NSM | N-NSM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | nominative | NaN | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | |||||
27 | 28 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||||||
28 | 29 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |||
29 | 30 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||||
30 | 31 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | ||||||||
31 | 32 | Matt | 1 | 3 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | NaN | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | ||||||||
32 | 33 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||||
33 | 34 | Matt | 1 | 3 | Ζαρὰ | Ζαρά | Ζάρα | N-PRI | N-PRI | 2196 | Ζάρα, ὁ | Zerah | noun | NaN | 1 | 2182 | Zara | 2173 | Ζάρα, ὁ | Zerah | Matthew | ||||||||
34 | 35 | Matt | 1 | 3 | ἐκ | ἐκ | ἐκ | PREP | PREP | 1537 | ἐκ, ἐξ | from out, out from among, from | prep | pl | NaN | 913 | 1522 | ek | 1516 | ἐκ, ἐξ | from out, out from among, from | Matthew | |||||||
35 | 36 | Matt | 1 | 3 | τῆς | τῆς | ὁ | T-GSF | T-GSF | 3588 | ὁ, ἡ, τό | the | art | f | sg | genitive | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||||
36 | 37 | Matt | 1 | 3 | Θάμαρ, | Θάμαρ | Θαμάρ | N-PRI | N-PRI | 2283 | Θαμάρ, ἡ | Tamar | noun | NaN | 1 | 2261 | Thamar | 2251 | Θαμάρ, ἡ | Tamar | Matthew | ||||||||
37 | 38 | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | NaN | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | ||||||||
38 | 39 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||||||
39 | 40 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |||
40 | 41 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||||
41 | 42 | Matt | 1 | 3 | Ἐσρώμ, | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | ||||||||
42 | 43 | Matt | 1 | 3 | Ἐσρὼμ | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | NaN | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | ||||||||
43 | 44 | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||||||
44 | 45 | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | |||
45 | 46 | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | NaN | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | |||||
46 | 47 | Matt | 1 | 3 | Ἀράμ, | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | ||||||||
47 | 48 | Matt | 1 | 4 | Ἀρὰμ | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | NaN | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | ||||||||
48 | 49 | Matt | 1 | 4 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | NaN | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | ||||||||
49 | 50 | Matt | 1 | 4 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew |
def extra(row):
if re.search('.*-ABB$', str(row)):
return 'abbreviated'
if re.search('.*-I$', str(row)):
return 'interrogative'
if re.search('.*-N$', str(row)):
return 'negative'
if re.search('.*-ATT$', str(row)):
return 'attic'
if re.search('.*-P$', str(row)):
return 'particle_attached'
if re.search('.*-K$', str(row)):
return 'crasis'
else:
return ''
morph['extra']=morph['morph_form'].apply(extra)
morph.head(50)
orig_order | book | bookshort | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | bol_lemma_dict | bol_gloss | bookname | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matthew | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | nominative | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume | Matthew | ||||||
1 | 2 | Matthew | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | genitive | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage | Matthew | ||||||
2 | 3 | Matthew | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | genitive | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus | Matthew | ||||||
3 | 4 | Matthew | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | genitive | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | Matthew | ||||||
4 | 5 | Matthew | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | ||||||
5 | 6 | Matthew | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | noun | 59 | 1151 | Dauid | 1148 | Δαυίδ, ὁ | David | Matthew | |||||||||
6 | 7 | Matthew | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | genitive | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent | Matthew | ||||||
7 | 8 | Matthew | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | |||||||||
8 | 9 | Matthew | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham | Matthew | |||||||||
9 | 10 | Matthew | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||||
10 | 11 | Matthew | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||||
11 | 12 | Matthew | Matt | 1 | 2 | Ἰσαάκ, | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | |||||||||
12 | 13 | Matthew | Matt | 1 | 2 | Ἰσαὰκ | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | noun | 20 | 2437 | Isaak | 2424 | Ἰσαάκ, ὁ | Isaac | Matthew | |||||||||
13 | 14 | Matthew | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||||||
14 | 15 | Matthew | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||||
15 | 16 | Matthew | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||||
16 | 17 | Matthew | Matt | 1 | 2 | Ἰακώβ, | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | |||||||||
17 | 18 | Matthew | Matt | 1 | 2 | Ἰακὼβ | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | noun | 27 | 2361 | Iakob | 2351 | Ἰακώβ, ὁ | Jacob | Matthew | |||||||||
18 | 19 | Matthew | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||||||
19 | 20 | Matthew | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||||
20 | 21 | Matthew | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||||
21 | 22 | Matthew | Matt | 1 | 2 | Ἰούδαν | Ἰούδαν | Ἰούδας | N-ASM | N-ASM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | accusative | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | ||||||
22 | 23 | Matthew | Matt | 1 | 2 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | |||||||||
23 | 24 | Matthew | Matt | 1 | 2 | τοὺς | τούς | ὁ | T-APM | T-APM | 3588 | ὁ, ἡ, τό | the | art | m | pl | accusative | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||||
24 | 25 | Matthew | Matt | 1 | 2 | ἀδελφοὺς | ἀδελφούς | ἀδελφός | N-APM | N-APM | 80 | ἀδελφός, -οῦ, ὁ | brother | noun | m | pl | accusative | 343 | 79 | adelphos | 79 | ἀδελφός, -οῦ, ὁ | brother | Matthew | ||||||
25 | 26 | Matthew | Matt | 1 | 2 | αὐτοῦ, | αὐτοῦ | αὐτός | P-GSM | P-GSM | 846 | αὐτός, -ή, -ό | he, she, it, they, them, same | prep | m | sg | genitive | 5550 | 839 | autos | 835 | αὐτός, -ή, -ό | he, she, it, they, them, same | Matthew | ||||||
26 | 27 | Matthew | Matt | 1 | 3 | Ἰούδας | Ἰούδας | Ἰούδας | N-NSM | N-NSM | 2455 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | noun | m | sg | nominative | 44 | 2428 | Ioudas | 2415 | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Matthew | ||||||
27 | 28 | Matthew | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||||||
28 | 29 | Matthew | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||||
29 | 30 | Matthew | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||||
30 | 31 | Matthew | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | |||||||||
31 | 32 | Matthew | Matt | 1 | 3 | καὶ | καί | καί | CONJ | CONJ | 2532 | καί | and, even, also, namely | conj | 8978 | 2506 | kai | 2493 | καί | and, even, also, namely | Matthew | |||||||||
32 | 33 | Matthew | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||||
33 | 34 | Matthew | Matt | 1 | 3 | Ζαρὰ | Ζαρά | Ζάρα | N-PRI | N-PRI | 2196 | Ζάρα, ὁ | Zerah | noun | 1 | 2182 | Zara | 2173 | Ζάρα, ὁ | Zerah | Matthew | |||||||||
34 | 35 | Matthew | Matt | 1 | 3 | ἐκ | ἐκ | ἐκ | PREP | PREP | 1537 | ἐκ, ἐξ | from out, out from among, from | prep | pl | 913 | 1522 | ek | 1516 | ἐκ, ἐξ | from out, out from among, from | Matthew | ||||||||
35 | 36 | Matthew | Matt | 1 | 3 | τῆς | τῆς | ὁ | T-GSF | T-GSF | 3588 | ὁ, ἡ, τό | the | art | f | sg | genitive | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||||
36 | 37 | Matthew | Matt | 1 | 3 | Θάμαρ, | Θάμαρ | Θαμάρ | N-PRI | N-PRI | 2283 | Θαμάρ, ἡ | Tamar | noun | 1 | 2261 | Thamar | 2251 | Θαμάρ, ἡ | Tamar | Matthew | |||||||||
37 | 38 | Matthew | Matt | 1 | 3 | Φαρὲς | Φαρές | Φάρες | N-PRI | N-PRI | 5329 | Φάρες, ὁ | Perez | noun | 3 | 5148 | Phares | 5116 | Φάρες, ὁ | Perez | Matthew | |||||||||
38 | 39 | Matthew | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||||||
39 | 40 | Matthew | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||||
40 | 41 | Matthew | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||||
41 | 42 | Matthew | Matt | 1 | 3 | Ἐσρώμ, | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | |||||||||
42 | 43 | Matthew | Matt | 1 | 3 | Ἐσρὼμ | Ἐσρώμ | Ἑσρώμ | N-PRI | N-PRI | 2074 | Ἑσρώμ, ὁ | Hezron | noun | 3 | 2061 | Esrom | 2052 | Ἑσρώμ, ὁ | Hezron | Matthew | |||||||||
43 | 44 | Matthew | Matt | 1 | 3 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||||||
44 | 45 | Matthew | Matt | 1 | 3 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew | ||||
45 | 46 | Matthew | Matt | 1 | 3 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | art | m | sg | accusative | 19783 | 3438 | o | 3418 | ὁ, ἡ, τό | the | Matthew | ||||||
46 | 47 | Matthew | Matt | 1 | 3 | Ἀράμ, | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | |||||||||
47 | 48 | Matthew | Matt | 1 | 4 | Ἀρὰμ | Ἀράμ | Ἀράμ | N-PRI | N-PRI | 689 | Ἀράμ, ὁ | Ram | noun | 2 | 682 | Aram | 679 | Ἀράμ, ὁ | Ram | Matthew | |||||||||
48 | 49 | Matthew | Matt | 1 | 4 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | conj | 2787 | 1152 | de | 1149 | δέ | but, on the other hand, and | Matthew | |||||||||
49 | 50 | Matthew | Matt | 1 | 4 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | sg | p3 | aorist | active | indicative | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to | Matthew |
# First, I have to laod different modules that I use for analyzing the data and for plotting:
import sys, os, collections
import pandas as pd
import numpy as np
import re
import csv
import seaborn as sns
import matplotlib.pyplot as plt; plt.rcdefaults()
from matplotlib.pyplot import figure
from collections import Counter
# Second, I have to load the Text Fabric app
from tf.fabric import Fabric
from tf.app import use
#featureadd = pd.read_excel("/Users/oliverglanz/Library/CloudStorage/OneDrive-AndrewsUniversity/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.5_20220922.xlsx")
featureadd = pd.read_excel("/Users/oliverglanz/Library/CloudStorage/OneDrive-AndrewsUniversity/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.5_20221004.xlsx")
pd.set_option('display.max_columns', 100)
featureadd.head(10)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | lemma | bol_lemma | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | ... | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | normalized_noaccent | lemma_noaccent | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 1 | 1 | Βίβλος | Βίβλος | Βίβλος | βίβλος | βίβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | ... | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | Βιβλος | βιβλος |
1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 2 | 2 | γενέσεως | γενέσεως | γενέσεως | γένεσις | γένεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | γενεσεως | γενεσις |
2 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 3 | 3 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | Ἰησοῦς | Iesous | N-GSM | N-GSM | 2424 | False | Ἰησοῦς | Ἰησοῦς | Jesus | Jesus | 2387 | 2399 | 913 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | irregular | irregular | irregular | irregular | not_covered | Ιησου | Ιησους |
3 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 4 | 4 | Χριστοῦ | Χριστοῦ | Χριστοῦ | Χριστός | Χριστός | Khristos | N-GSM | N-GSM | 5547 | False | Χριστός, -οῦ, ὁ | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | anointed, Messiah, Christ | 5326 | 5358 | 529 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | Χριστου | Χριστος |
4 | Matthew | 5 | Matt | 1 | 1 | Matt 1:1 | 5 | 5 | υἱοῦ | υἱοῦ | υἱοῦ | υἱός | υἱός | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | υιου | υιος |
5 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 6 | 6 | Δαυεὶδ | Δαυεὶδ | Δαυείδ | Δαυίδ | Δαυίδ | Dauid | N-PRI | N-PRI | 1138 | False | Δαυίδ, ὁ | Δαυίδ, ὁ | David | David | 1148 | 1151 | 59 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Δαυειδ | Δαυιδ |
6 | Matthew | 5 | Matt | 1 | 1 | Matt 1:1 | 7 | 7 | υἱοῦ | υἱοῦ | υἱοῦ | υἱός | υἱός | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | υιου | υιος |
7 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 8 | 8 | Ἀβραάμ. | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | Ἀβραάμ | Abraam | N-PRI | N-PRI | 11 | False | Ἀβραάμ, ὁ | Ἀβραάμ, ὁ | Abraham | Abraham | 10 | 10 | 73 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Αβρααμ | Αβρααμ |
8 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 9 | 9 | Ἀβραὰμ | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | Ἀβραάμ | Abraam | N-PRI | N-PRI | 11 | False | Ἀβραάμ, ὁ | Ἀβραάμ, ὁ | Abraham | Abraham | 10 | 10 | 73 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Αβρααμ | Αβρααμ |
9 | Matthew | 14 | Matt | 1 | 2 | Matt 1:2 | 10 | 10 | ἐγέννησεν | ἐγέννησεν | ἐγέννησεν | γεννάω | γεννάω | gennao | V-AAI-3S | V-AAI-3S | 1080 | False | γεννάω | γεννάω | beget, bring forth, give birth to | beget, bring forth, give birth to | 1069 | 1072 | 97 | ... | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | aorist | aorist | a | active | ind | indicative | NaN | NaN | NaN | alpha | NaN | alpha | NaN | NaN | 6a | εγεννησεν | γενναω |
10 rows × 56 columns
pd.set_option('display.max_columns', 50)
featureadd.head(10)
orig_order | bol_monad_num | book_long | booknum | book_short | chapter | verse | bol_ref | word | bol_surface | normalized | lemma | bol_lemma | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | ... | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | 1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Βίβλος | Βίβλος | Βίβλος | βίβλος | βίβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | ... | f | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered |
1 | 2 | 2 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | γενέσεως | γενέσεως | γενέσεως | γένεσις | γένεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | ... | f | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered |
2 | 3 | 3 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | Ἰησοῦς | Iesous | N-GSM | N-GSM | 2424 | False | Ἰησοῦς | Ἰησοῦς | Jesus | Jesus | 2387 | 2399 | 913 | ... | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | irregular | irregular | irregular | irregular | not_covered |
3 | 4 | 4 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Χριστοῦ | Χριστοῦ | Χριστοῦ | Χριστός | Χριστός | Khristos | N-GSM | N-GSM | 5547 | False | Χριστός, -οῦ, ὁ | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | anointed, Messiah, Christ | 5326 | 5358 | 529 | ... | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered |
4 | 5 | 5 | Matthew | 5 | Matt | 1 | 1 | Matt 1:1 | υἱοῦ | υἱοῦ | υἱοῦ | υἱός | υἱός | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | ... | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b |
5 | 6 | 6 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Δαυεὶδ | Δαυεὶδ | Δαυείδ | Δαυίδ | Δαυίδ | Dauid | N-PRI | N-PRI | 1138 | False | Δαυίδ, ὁ | Δαυίδ, ὁ | David | David | 1148 | 1151 | 59 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered |
6 | 7 | 7 | Matthew | 5 | Matt | 1 | 1 | Matt 1:1 | υἱοῦ | υἱοῦ | υἱοῦ | υἱός | υἱός | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | ... | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b |
7 | 8 | 8 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Ἀβραάμ. | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | Ἀβραάμ | Abraam | N-PRI | N-PRI | 11 | False | Ἀβραάμ, ὁ | Ἀβραάμ, ὁ | Abraham | Abraham | 10 | 10 | 73 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered |
8 | 9 | 9 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | Ἀβραὰμ | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | Ἀβραάμ | Abraam | N-PRI | N-PRI | 11 | False | Ἀβραάμ, ὁ | Ἀβραάμ, ὁ | Abraham | Abraham | 10 | 10 | 73 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered |
9 | 10 | 10 | Matthew | 14 | Matt | 1 | 2 | Matt 1:2 | ἐγέννησεν | ἐγέννησεν | ἐγέννησεν | γεννάω | γεννάω | gennao | V-AAI-3S | V-AAI-3S | 1080 | False | γεννάω | γεννάω | beget, bring forth, give birth to | beget, bring forth, give birth to | 1069 | 1072 | 97 | ... | NaN | NaN | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | aorist | aorist | a | active | ind | indicative | NaN | NaN | NaN | alpha | NaN | alpha | NaN | NaN | 6a |
10 rows × 54 columns
def booknum (row):
if re.search('Matt', str(row)):
return '1'
if re.search('Mark', str(row)):
return '2'
if re.search('Luke', str(row)):
return '3'
if re.search('John', str(row)):
return '4'
if re.search('Acts', str(row)):
return '5'
if re.search('Rom', str(row)):
return '6'
if re.search('1Cor', str(row)):
return '7'
if re.search('2Cor', str(row)):
return '8'
if re.search('Gal', str(row)):
return '9'
if re.search('Eph', str(row)):
return '10'
if re.search('Phil', str(row)):
return '11'
if re.search('Col', str(row)):
return '12'
if re.search('1Thess', str(row)):
return '13'
if re.search('2Thess', str(row)):
return '14'
if re.search('1Tim', str(row)):
return '15'
if re.search('2Tim', str(row)):
return '16'
if re.search('Titus', str(row)):
return '17'
if re.search('Phlm', str(row)):
return '18'
if re.search('Heb', str(row)):
return '19'
if re.search('Jas', str(row)):
return '20'
if re.search('1Pet', str(row)):
return '21'
if re.search('2Pet', str(row)):
return '22'
if re.search('1John', str(row)):
return '23'
if re.search('2John', str(row)):
return '24'
if re.search('3John', str(row)):
return '25'
if re.search('Jude', str(row)):
return '26'
if re.search('Rev', str(row)):
return '27'
else:
return ''
featureadd['booknum']=featureadd['book_short'].apply(booknum)
featureadd.head(50)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | lemma | bol_lemma | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | ... | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | normalized_noaccent | lemma_noaccent | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 1 | 1 | Βίβλος | Βίβλος | Βίβλος | βίβλος | βίβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | ... | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | Βιβλος | βιβλος |
1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 2 | 2 | γενέσεως | γενέσεως | γενέσεως | γένεσις | γένεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | γενεσεως | γενεσις |
2 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 3 | 3 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | Ἰησοῦς | Iesous | N-GSM | N-GSM | 2424 | False | Ἰησοῦς | Ἰησοῦς | Jesus | Jesus | 2387 | 2399 | 913 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | irregular | irregular | irregular | irregular | not_covered | Ιησου | Ιησους |
3 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 4 | 4 | Χριστοῦ | Χριστοῦ | Χριστοῦ | Χριστός | Χριστός | Khristos | N-GSM | N-GSM | 5547 | False | Χριστός, -οῦ, ὁ | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | anointed, Messiah, Christ | 5326 | 5358 | 529 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | Χριστου | Χριστος |
4 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 5 | 5 | υἱοῦ | υἱοῦ | υἱοῦ | υἱός | υἱός | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | υιου | υιος |
5 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 6 | 6 | Δαυεὶδ | Δαυεὶδ | Δαυείδ | Δαυίδ | Δαυίδ | Dauid | N-PRI | N-PRI | 1138 | False | Δαυίδ, ὁ | Δαυίδ, ὁ | David | David | 1148 | 1151 | 59 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Δαυειδ | Δαυιδ |
6 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 7 | 7 | υἱοῦ | υἱοῦ | υἱοῦ | υἱός | υἱός | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | υιου | υιος |
7 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 8 | 8 | Ἀβραάμ. | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | Ἀβραάμ | Abraam | N-PRI | N-PRI | 11 | False | Ἀβραάμ, ὁ | Ἀβραάμ, ὁ | Abraham | Abraham | 10 | 10 | 73 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Αβρααμ | Αβρααμ |
8 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 9 | 9 | Ἀβραὰμ | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | Ἀβραάμ | Abraam | N-PRI | N-PRI | 11 | False | Ἀβραάμ, ὁ | Ἀβραάμ, ὁ | Abraham | Abraham | 10 | 10 | 73 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Αβρααμ | Αβρααμ |
9 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 10 | 10 | ἐγέννησεν | ἐγέννησεν | ἐγέννησεν | γεννάω | γεννάω | gennao | V-AAI-3S | V-AAI-3S | 1080 | False | γεννάω | γεννάω | beget, bring forth, give birth to | beget, bring forth, give birth to | 1069 | 1072 | 97 | ... | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | aorist | aorist | a | active | ind | indicative | NaN | NaN | NaN | alpha | NaN | alpha | NaN | NaN | 6a | εγεννησεν | γενναω |
10 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 11 | 11 | τὸν | τὸν | τόν | ὁ | ὁ | o | T-ASM | T-ASM | 3588 | False | ὁ, ἡ, τό | ὁ, ἡ, τό | the | the | 3418 | 3438 | 19783 | ... | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | τον | ο |
11 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 12 | 12 | Ἰσαάκ, | Ἰσαάκ, | Ἰσαάκ | Ἰσαάκ | Ἰσαάκ | Isaak | N-PRI | N-PRI | 2464 | False | Ἰσαάκ, ὁ | Ἰσαάκ, ὁ | Isaac | Isaac | 2424 | 2437 | 20 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Ισαακ | Ισαακ |
12 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 13 | 13 | Ἰσαὰκ | Ἰσαὰκ | Ἰσαάκ | Ἰσαάκ | Ἰσαάκ | Isaak | N-PRI | N-PRI | 2464 | False | Ἰσαάκ, ὁ | Ἰσαάκ, ὁ | Isaac | Isaac | 2424 | 2437 | 20 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Ισαακ | Ισαακ |
13 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 14 | 14 | δὲ | δὲ | δέ | δέ | δέ | de | CONJ | CONJ | 1161 | False | δέ | δέ | but, on the other hand, and | but, on the other hand, and | 1149 | 1152 | 2787 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | δε | δε |
14 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 15 | 15 | ἐγέννησεν | ἐγέννησεν | ἐγέννησεν | γεννάω | γεννάω | gennao | V-AAI-3S | V-AAI-3S | 1080 | False | γεννάω | γεννάω | beget, bring forth, give birth to | beget, bring forth, give birth to | 1069 | 1072 | 97 | ... | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | aorist | aorist | a | active | ind | indicative | NaN | NaN | NaN | alpha | NaN | alpha | NaN | NaN | 6a | εγεννησεν | γενναω |
15 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 16 | 16 | τὸν | τὸν | τόν | ὁ | ὁ | o | T-ASM | T-ASM | 3588 | False | ὁ, ἡ, τό | ὁ, ἡ, τό | the | the | 3418 | 3438 | 19783 | ... | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | τον | ο |
16 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 17 | 17 | Ἰακώβ, | Ἰακώβ, | Ἰακώβ | Ἰακώβ | Ἰακώβ | Iakob | N-PRI | N-PRI | 2384 | False | Ἰακώβ, ὁ | Ἰακώβ, ὁ | Jacob | Jacob | 2351 | 2361 | 27 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Ιακωβ | Ιακωβ |
17 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 18 | 18 | Ἰακὼβ | Ἰακὼβ | Ἰακώβ | Ἰακώβ | Ἰακώβ | Iakob | N-PRI | N-PRI | 2384 | False | Ἰακώβ, ὁ | Ἰακώβ, ὁ | Jacob | Jacob | 2351 | 2361 | 27 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Ιακωβ | Ιακωβ |
18 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 19 | 19 | δὲ | δὲ | δέ | δέ | δέ | de | CONJ | CONJ | 1161 | False | δέ | δέ | but, on the other hand, and | but, on the other hand, and | 1149 | 1152 | 2787 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | δε | δε |
19 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 20 | 20 | ἐγέννησεν | ἐγέννησεν | ἐγέννησεν | γεννάω | γεννάω | gennao | V-AAI-3S | V-AAI-3S | 1080 | False | γεννάω | γεννάω | beget, bring forth, give birth to | beget, bring forth, give birth to | 1069 | 1072 | 97 | ... | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | aorist | aorist | a | active | ind | indicative | NaN | NaN | NaN | alpha | NaN | alpha | NaN | NaN | 6a | εγεννησεν | γενναω |
20 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 21 | 21 | τὸν | τὸν | τόν | ὁ | ὁ | o | T-ASM | T-ASM | 3588 | False | ὁ, ἡ, τό | ὁ, ἡ, τό | the | the | 3418 | 3438 | 19783 | ... | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | τον | ο |
21 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 22 | 22 | Ἰούδαν | Ἰούδαν | Ἰούδαν | Ἰούδας | Ἰούδας | Ioudas | N-ASM | N-ASM | 2455 | False | Ἰούδας, -α, ὁ | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Judah, Judas, Jude | 2415 | 2428 | 44 | ... | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron_doric | first_alpha_macron_doric | not_covered | Ιουδαν | Ιουδας |
22 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 23 | 23 | καὶ | καὶ | καί | καί | καί | kai | CONJ | CONJ | 2532 | False | καί | καί | and, even, also, namely | and, even, also, namely | 2493 | 2506 | 8978 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | και | και |
23 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 24 | 24 | τοὺς | τοὺς | τούς | ὁ | ὁ | o | T-APM | T-APM | 3588 | False | ὁ, ἡ, τό | ὁ, ἡ, τό | the | the | 3418 | 3438 | 19783 | ... | pl | plural | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | τους | ο |
24 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 25 | 25 | ἀδελφοὺς | ἀδελφοὺς | ἀδελφούς | ἀδελφός | ἀδελφός | adelphos | N-APM | N-APM | 80 | False | ἀδελφός, -οῦ, ὁ | ἀδελφός, -οῦ, ὁ | brother | brother | 79 | 79 | 343 | ... | pl | plural | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 6a | αδελφους | αδελφος |
25 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 26 | 26 | αὐτοῦ, | αὐτοῦ, | αὐτοῦ | αὐτός | αὐτός | autos | P-GSM | P-GSM | 846 | False | αὐτός, -ή, -ό | αὐτός, -ή, -ό | he, she, it, they, them, same | he, she, it, they, them, same | 835 | 839 | 5550 | ... | sg | singular | NaN | NaN | p3 | third_person | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | αυτου | αυτος |
26 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 27 | 27 | Ἰούδας | Ἰούδας | Ἰούδας | Ἰούδας | Ἰούδας | Ioudas | N-NSM | N-NSM | 2455 | False | Ἰούδας, -α, ὁ | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Judah, Judas, Jude | 2415 | 2428 | 44 | ... | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron_doric | first_alpha_macron_doric | not_covered | Ιουδας | Ιουδας |
27 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 28 | 28 | δὲ | δὲ | δέ | δέ | δέ | de | CONJ | CONJ | 1161 | False | δέ | δέ | but, on the other hand, and | but, on the other hand, and | 1149 | 1152 | 2787 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | δε | δε |
28 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 29 | 29 | ἐγέννησεν | ἐγέννησεν | ἐγέννησεν | γεννάω | γεννάω | gennao | V-AAI-3S | V-AAI-3S | 1080 | False | γεννάω | γεννάω | beget, bring forth, give birth to | beget, bring forth, give birth to | 1069 | 1072 | 97 | ... | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | aorist | aorist | a | active | ind | indicative | NaN | NaN | NaN | alpha | NaN | alpha | NaN | NaN | 6a | εγεννησεν | γενναω |
29 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 30 | 30 | τὸν | τὸν | τόν | ὁ | ὁ | o | T-ASM | T-ASM | 3588 | False | ὁ, ἡ, τό | ὁ, ἡ, τό | the | the | 3418 | 3438 | 19783 | ... | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | τον | ο |
30 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 31 | 31 | Φαρὲς | Φαρὲς | Φαρές | Φάρες | Φάρες | Phares | N-PRI | N-PRI | 5329 | False | Φάρες, ὁ | Φάρες, ὁ | Perez | Perez | 5116 | 5148 | 3 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Φαρες | Φαρες |
31 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 32 | 32 | καὶ | καὶ | καί | καί | καί | kai | CONJ | CONJ | 2532 | False | καί | καί | and, even, also, namely | and, even, also, namely | 2493 | 2506 | 8978 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | και | και |
32 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 33 | 33 | τὸν | τὸν | τόν | ὁ | ὁ | o | T-ASM | T-ASM | 3588 | False | ὁ, ἡ, τό | ὁ, ἡ, τό | the | the | 3418 | 3438 | 19783 | ... | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | τον | ο |
33 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 34 | 34 | Ζαρὰ | Ζαρὰ | Ζαρά | Ζάρα | Ζάρα | Zara | N-PRI | N-PRI | 2196 | False | Ζάρα, ὁ | Ζάρα, ὁ | Zerah | Zerah | 2173 | 2182 | 1 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Ζαρα | Ζαρα |
34 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 35 | 35 | ἐκ | ἐκ | ἐκ | ἐκ | ἐκ | ek | PREP | PREP | 1537 | False | ἐκ, ἐξ | ἐκ, ἐξ | from out, out from among, from | from out, out from among, from | 1516 | 1522 | 913 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3b | εκ | εκ |
35 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 36 | 36 | τῆς | τῆς | τῆς | ὁ | ὁ | o | T-GSF | T-GSF | 3588 | False | ὁ, ἡ, τό | ὁ, ἡ, τό | the | the | 3418 | 3438 | 19783 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | της | ο |
36 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 37 | 37 | Θάμαρ, | Θάμαρ, | Θάμαρ | Θαμάρ | Θαμάρ | Thamar | N-PRI | N-PRI | 2283 | False | Θαμάρ, ἡ | Θαμάρ, ἡ | Tamar | Tamar | 2251 | 2261 | 1 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Θαμαρ | Θαμαρ |
37 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 38 | 38 | Φαρὲς | Φαρὲς | Φαρές | Φάρες | Φάρες | Phares | N-PRI | N-PRI | 5329 | False | Φάρες, ὁ | Φάρες, ὁ | Perez | Perez | 5116 | 5148 | 3 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Φαρες | Φαρες |
38 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 39 | 39 | δὲ | δὲ | δέ | δέ | δέ | de | CONJ | CONJ | 1161 | False | δέ | δέ | but, on the other hand, and | but, on the other hand, and | 1149 | 1152 | 2787 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | δε | δε |
39 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 40 | 40 | ἐγέννησεν | ἐγέννησεν | ἐγέννησεν | γεννάω | γεννάω | gennao | V-AAI-3S | V-AAI-3S | 1080 | False | γεννάω | γεννάω | beget, bring forth, give birth to | beget, bring forth, give birth to | 1069 | 1072 | 97 | ... | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | aorist | aorist | a | active | ind | indicative | NaN | NaN | NaN | alpha | NaN | alpha | NaN | NaN | 6a | εγεννησεν | γενναω |
40 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 41 | 41 | τὸν | τὸν | τόν | ὁ | ὁ | o | T-ASM | T-ASM | 3588 | False | ὁ, ἡ, τό | ὁ, ἡ, τό | the | the | 3418 | 3438 | 19783 | ... | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | τον | ο |
41 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 42 | 42 | Ἐσρώμ, | Ἐσρώμ, | Ἐσρώμ | Ἑσρώμ | Ἑσρώμ | Esrom | N-PRI | N-PRI | 2074 | False | Ἑσρώμ, ὁ | Ἑσρώμ, ὁ | Hezron | Hezron | 2052 | 2061 | 3 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Εσρωμ | Εσρωμ |
42 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 43 | 43 | Ἐσρὼμ | Ἐσρὼμ | Ἐσρώμ | Ἑσρώμ | Ἑσρώμ | Esrom | N-PRI | N-PRI | 2074 | False | Ἑσρώμ, ὁ | Ἑσρώμ, ὁ | Hezron | Hezron | 2052 | 2061 | 3 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Εσρωμ | Εσρωμ |
43 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 44 | 44 | δὲ | δὲ | δέ | δέ | δέ | de | CONJ | CONJ | 1161 | False | δέ | δέ | but, on the other hand, and | but, on the other hand, and | 1149 | 1152 | 2787 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | δε | δε |
44 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 45 | 45 | ἐγέννησεν | ἐγέννησεν | ἐγέννησεν | γεννάω | γεννάω | gennao | V-AAI-3S | V-AAI-3S | 1080 | False | γεννάω | γεννάω | beget, bring forth, give birth to | beget, bring forth, give birth to | 1069 | 1072 | 97 | ... | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | aorist | aorist | a | active | ind | indicative | NaN | NaN | NaN | alpha | NaN | alpha | NaN | NaN | 6a | εγεννησεν | γενναω |
45 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 46 | 46 | τὸν | τὸν | τόν | ὁ | ὁ | o | T-ASM | T-ASM | 3588 | False | ὁ, ἡ, τό | ὁ, ἡ, τό | the | the | 3418 | 3438 | 19783 | ... | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | τον | ο |
46 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 47 | 47 | Ἀράμ, | Ἀράμ, | Ἀράμ | Ἀράμ | Ἀράμ | Aram | N-PRI | N-PRI | 689 | False | Ἀράμ, ὁ | Ἀράμ, ὁ | Ram | Ram | 679 | 682 | 2 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Αραμ | Αραμ |
47 | Matthew | 1 | Matt | 1 | 4 | Matt 1:4 | 48 | 48 | Ἀρὰμ | Ἀρὰμ | Ἀράμ | Ἀράμ | Ἀράμ | Aram | N-PRI | N-PRI | 689 | False | Ἀράμ, ὁ | Ἀράμ, ὁ | Ram | Ram | 679 | 682 | 2 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Αραμ | Αραμ |
48 | Matthew | 1 | Matt | 1 | 4 | Matt 1:4 | 49 | 49 | δὲ | δὲ | δέ | δέ | δέ | de | CONJ | CONJ | 1161 | False | δέ | δέ | but, on the other hand, and | but, on the other hand, and | 1149 | 1152 | 2787 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 3a | δε | δε |
49 | Matthew | 1 | Matt | 1 | 4 | Matt 1:4 | 50 | 50 | ἐγέννησεν | ἐγέννησεν | ἐγέννησεν | γεννάω | γεννάω | gennao | V-AAI-3S | V-AAI-3S | 1080 | False | γεννάω | γεννάω | beget, bring forth, give birth to | beget, bring forth, give birth to | 1069 | 1072 | 97 | ... | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | aorist | aorist | a | active | ind | indicative | NaN | NaN | NaN | alpha | NaN | alpha | NaN | NaN | 6a | εγεννησεν | γενναω |
50 rows × 56 columns
# unidecode and unicodedata only works on intel processor
import unidecode
import unicodedata
def remove_accents(input_str):
nfkd_form = unicodedata.normalize('NFKD', input_str)
return u"".join([c for c in nfkd_form if not unicodedata.combining(c)])
featureadd['normalized_noaccent']=featureadd['normalized'].apply(remove_accents)
featureadd.head(5)
orig_order | bol_monad_num | book_long | booknum | book_short | chapter | verse | bol_ref | word | bol_surface | normalized | lemma | bol_lemma | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | ... | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | normalized_noaccent | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | 1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Βίβλος | Βίβλος | Βίβλος | βίβλος | βίβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | ... | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | Βιβλος |
1 | 2 | 2 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | γενέσεως | γενέσεως | γενέσεως | γένεσις | γένεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | ... | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | γενεσεως |
2 | 3 | 3 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | Ἰησοῦς | Iesous | N-GSM | N-GSM | 2424 | False | Ἰησοῦς | Ἰησοῦς | Jesus | Jesus | 2387 | 2399 | 913 | ... | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | irregular | irregular | irregular | irregular | not_covered | Ιησου |
3 | 4 | 4 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Χριστοῦ | Χριστοῦ | Χριστοῦ | Χριστός | Χριστός | Khristos | N-GSM | N-GSM | 5547 | False | Χριστός, -οῦ, ὁ | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | anointed, Messiah, Christ | 5326 | 5358 | 529 | ... | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | Χριστου |
4 | 5 | 5 | Matthew | 5 | Matt | 1 | 1 | Matt 1:1 | υἱοῦ | υἱοῦ | υἱοῦ | υἱός | υἱός | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | ... | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | υιου |
5 rows × 55 columns
featureadd['lemma_noaccent']=featureadd['lemma'].apply(remove_accents)
featureadd.head(5)
orig_order | bol_monad_num | book_long | booknum | book_short | chapter | verse | bol_ref | word | bol_surface | normalized | lemma | bol_lemma | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | ... | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | normalized_noaccent | lemma_noaccent | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | 1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Βίβλος | Βίβλος | Βίβλος | βίβλος | βίβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | ... | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | Βιβλος | βιβλος |
1 | 2 | 2 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | γενέσεως | γενέσεως | γενέσεως | γένεσις | γένεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | γενεσεως | γενεσις |
2 | 3 | 3 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | Ἰησοῦς | Iesous | N-GSM | N-GSM | 2424 | False | Ἰησοῦς | Ἰησοῦς | Jesus | Jesus | 2387 | 2399 | 913 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | irregular | irregular | irregular | irregular | not_covered | Ιησου | Ιησους |
3 | 4 | 4 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Χριστοῦ | Χριστοῦ | Χριστοῦ | Χριστός | Χριστός | Khristos | N-GSM | N-GSM | 5547 | False | Χριστός, -οῦ, ὁ | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | anointed, Messiah, Christ | 5326 | 5358 | 529 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | Χριστου | Χριστος |
4 | 5 | 5 | Matthew | 5 | Matt | 1 | 1 | Matt 1:1 | υἱοῦ | υἱοῦ | υἱοῦ | υἱός | υἱός | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | υιου | υιος |
5 rows × 56 columns
featureadd['lemma_translit']=featureadd['lemma'].apply(unidecode)
featureadd.head(5)
orig_order | book | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos |
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 5 | 1070 | genesis |
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 913 | 2399 | Iesous |
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 529 | 5358 | Khristos |
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios |
ABC1=featureadd[['orig_order','lemma']]
ABC1.head(5)
orig_order | lemma | |
---|---|---|
0 | 1 | βίβλος |
1 | 2 | γένεσις |
2 | 3 | Ἰησοῦς |
3 | 4 | Χριστός |
4 | 5 | υἱός |
ABC1.describe()
orig_order | |
---|---|
count | 137779.000000 |
mean | 68890.000000 |
std | 39773.515707 |
min | 1.000000 |
25% | 34445.500000 |
50% | 68890.000000 |
75% | 103334.500000 |
max | 137779.000000 |
ABCdict = ABC1.drop_duplicates(['lemma']).sort_values(by='lemma', ascending=[True])
ABCdict.head(10)
orig_order | lemma | |
---|---|---|
68648 | 68649 | Αἰγύπτιος |
69803 | 69804 | Αἰθίοψ |
70630 | 70631 | Αἰνέας |
50710 | 50711 | Αἰνών |
679 | 680 | Αἴγυπτος |
30771 | 30772 | Αὐγοῦστος |
171 | 172 | Βαβυλών |
124418 | 124419 | Βαλαάμ |
128732 | 128733 | Βαλάκ |
17192 | 17193 | Βαραββᾶς |
ABCdict.to_excel('d:/OneDrive/1200_AUS-research/Fabric-TEXT/0_data_NA1904/feature-dev/ABC1order.xlsx')
ABC2=pd.read_excel('d:/OneDrive/1200_AUS-research/Fabric-TEXT/0_data_NA1904/feature-dev/ABC2order.xlsx')
pd.set_option('display.max_columns', 50)
ABC2.head(10)
orig_order | lemma | abc_order | |
---|---|---|---|
0 | 1 | βίβλος | 965 |
1 | 2 | γένεσις | 1067 |
2 | 3 | Ἰησοῦς | 2387 |
3 | 4 | Χριστός | 5326 |
4 | 5 | υἱός | 4995 |
5 | 6 | Δαυίδ | 1148 |
6 | 8 | Ἀβραάμ | 10 |
7 | 10 | γεννάω | 1069 |
8 | 11 | ὁ | 3418 |
9 | 12 | Ἰσαάκ | 2424 |
ABC2=ABC2.drop(['orig_order'], axis=1)
ABC2.head()
lemma | abc_order | |
---|---|---|
0 | βίβλος | 965 |
1 | γένεσις | 1067 |
2 | Ἰησοῦς | 2387 |
3 | Χριστός | 5326 |
4 | υἱός | 4995 |
featureadd.describe()
orig_order | chapter | verse | freq_lemma | bol_dict_abc | |
---|---|---|---|---|---|
count | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 |
mean | 68890.000000 | 10.219206 | 18.719936 | 4187.035100 | 2666.125157 |
std | 39773.515707 | 7.211703 | 13.606559 | 6795.931191 | 1332.673002 |
min | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 |
25% | 34445.500000 | 4.000000 | 8.000000 | 84.000000 | 1498.000000 |
50% | 68890.000000 | 9.000000 | 16.000000 | 668.000000 | 2737.000000 |
75% | 103334.500000 | 15.000000 | 26.000000 | 2892.000000 | 3581.500000 |
max | 137779.000000 | 28.000000 | 99.000000 | 19783.000000 | 5433.000000 |
featureadd=pd.merge (featureadd, ABC2,
on='lemma',
how='outer')
featureadd.head(5)
orig_order | book | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
1 | 26411 | Mark | 12 | 26 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
2 | 31677 | Luke | 3 | 4 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
3 | 45622 | Luke | 20 | 42 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
4 | 65061 | Acts | 1 | 20 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
featureadd.describe()
orig_order | chapter | verse | freq_lemma | bol_dict_abc | abc_order | |
---|---|---|---|---|---|---|
count | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 |
mean | 68890.000000 | 10.219206 | 18.719936 | 4187.035100 | 2666.125157 | 2651.773434 |
std | 39773.515707 | 7.211703 | 13.606559 | 6795.931191 | 1332.673002 | 1323.818004 |
min | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 |
25% | 34445.500000 | 4.000000 | 8.000000 | 84.000000 | 1498.000000 | 1492.000000 |
50% | 68890.000000 | 9.000000 | 16.000000 | 668.000000 | 2737.000000 | 2723.000000 |
75% | 103334.500000 | 15.000000 | 26.000000 | 2892.000000 | 3581.500000 | 3561.500000 |
max | 137779.000000 | 28.000000 | 99.000000 | 19783.000000 | 5433.000000 | 5401.000000 |
featureaddstage2 = featureadd
featureaddstage2.head(5)
orig_order | book | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
1 | 26411 | Mark | 12 | 26 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
2 | 31677 | Luke | 3 | 4 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
3 | 45622 | Luke | 20 | 42 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
4 | 65061 | Acts | 1 | 20 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
featureaddstage2.describe()
orig_order | chapter | verse | freq_lemma | bol_dict_abc | abc_order | |
---|---|---|---|---|---|---|
count | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 |
mean | 68890.000000 | 10.219206 | 18.719936 | 4187.035100 | 2666.125157 | 2651.773434 |
std | 39773.515707 | 7.211703 | 13.606559 | 6795.931191 | 1332.673002 | 1323.818004 |
min | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 |
25% | 34445.500000 | 4.000000 | 8.000000 | 84.000000 | 1498.000000 | 1492.000000 |
50% | 68890.000000 | 9.000000 | 16.000000 | 668.000000 | 2737.000000 | 2723.000000 |
75% | 103334.500000 | 15.000000 | 26.000000 | 2892.000000 | 3581.500000 | 3561.500000 |
max | 137779.000000 | 28.000000 | 99.000000 | 19783.000000 | 5433.000000 | 5401.000000 |
featureaddstage2["freq_lemma"]=featureaddstage2.groupby(["lemma"])["lemma"].transform("count")
featureaddstage2.head(5)
orig_order | book | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
1 | 26411 | Mark | 12 | 26 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
2 | 31677 | Luke | 3 | 4 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
3 | 45622 | Luke | 20 | 42 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
4 | 65061 | Acts | 1 | 20 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
featureaddstage2.describe()
orig_order | chapter | verse | freq_lemma | bol_dict_abc | abc_order | |
---|---|---|---|---|---|---|
count | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 |
mean | 68890.000000 | 10.219206 | 18.719936 | 4187.035100 | 2666.125157 | 2651.773434 |
std | 39773.515707 | 7.211703 | 13.606559 | 6795.931191 | 1332.673002 | 1323.818004 |
min | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 |
25% | 34445.500000 | 4.000000 | 8.000000 | 84.000000 | 1498.000000 | 1492.000000 |
50% | 68890.000000 | 9.000000 | 16.000000 | 668.000000 | 2737.000000 | 2723.000000 |
75% | 103334.500000 | 15.000000 | 26.000000 | 2892.000000 | 3581.500000 | 3561.500000 |
max | 137779.000000 | 28.000000 | 99.000000 | 19783.000000 | 5433.000000 | 5401.000000 |
featureaddstage2.sort_values(['orig_order'], ascending=True).head(10)
orig_order | book | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 |
10 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 5 | 1070 | genesis | 1067 |
15 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 913 | 2399 | Iesous | 2387 |
928 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 529 | 5358 | Khristos | 5326 |
1457 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 |
1833 | 6 | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 59 | 1151 | Dauid | 1148 |
1458 | 7 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 |
1892 | 8 | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 |
1893 | 9 | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 |
1965 | 10 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | NaN | NaN | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 |
featureaddstage2.describe()
orig_order | chapter | verse | freq_lemma | bol_dict_abc | abc_order | |
---|---|---|---|---|---|---|
count | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 |
mean | 68890.000000 | 10.219206 | 18.719936 | 4187.035100 | 2666.125157 | 2651.773434 |
std | 39773.515707 | 7.211703 | 13.606559 | 6795.931191 | 1332.673002 | 1323.818004 |
min | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 |
25% | 34445.500000 | 4.000000 | 8.000000 | 84.000000 | 1498.000000 | 1492.000000 |
50% | 68890.000000 | 9.000000 | 16.000000 | 668.000000 | 2737.000000 | 2723.000000 |
75% | 103334.500000 | 15.000000 | 26.000000 | 2892.000000 | 3581.500000 | 3561.500000 |
max | 137779.000000 | 28.000000 | 99.000000 | 19783.000000 | 5433.000000 | 5401.000000 |
BOLgreekDICT=pd.read_excel('d:/OneDrive/1200_AUS-research/Fabric-TEXT/0_data_SBLGNT/feature-dev/NA1904_dictionary_v1.0.xlsx')
pd.set_option('display.max_columns', 50)
BOLgreekDICT.head(10)
orig abc order | Occurrences | Lexeme | orig abc order.1 | Lexeme_dict | Strong's number | Strong's unreliable? | gloss | |
---|---|---|---|---|---|---|---|---|
0 | 1 | 5 | Ἀαρών | 1 | Ἀαρών, ὁ | 2 | no | Aaron |
1 | 2 | 1 | Ἀβαδδών | 2 | Ἀβαδδών, ὁ | 3 | no | Abaddon |
2 | 3 | 1 | ἀβαρής | 3 | ἀβαρής, -ές | 4 | no | not burdensome |
3 | 4 | 3 | ἀββά | 4 | ἀββά, ὁ | 5 | no | Father |
4 | 5 | 4 | Ἅβελ | 5 | Ἅβελ, ὁ | 6 | no | Abel |
5 | 6 | 3 | Ἀβιά | 6 | Ἀβιά, ὁ | 7 | no | Abijah |
6 | 7 | 1 | Ἀβιαθάρ | 7 | Ἀβιαθάρ, ὁ | 8 | no | Abiathar |
7 | 8 | 1 | Ἀβιληνή | 8 | Ἀβιληνή, -ῆς, ἡ | 9 | no | Abilene |
8 | 9 | 2 | Ἀβιούδ | 9 | Ἀβιούδ, ὁ | 10 | no | Abiud |
9 | 10 | 73 | Ἀβραάμ | 10 | Ἀβραάμ, ὁ | 11 | no | Abraham |
BOLgreekDICT=BOLgreekDICT[['Lexeme','Lexeme_dict', 'gloss']]
BOLgreekDICT.head(10)
Lexeme | Lexeme_dict | gloss | |
---|---|---|---|
0 | Ἀαρών | Ἀαρών, ὁ | Aaron |
1 | Ἀβαδδών | Ἀβαδδών, ὁ | Abaddon |
2 | ἀβαρής | ἀβαρής, -ές | not burdensome |
3 | ἀββά | ἀββά, ὁ | Father |
4 | Ἅβελ | Ἅβελ, ὁ | Abel |
5 | Ἀβιά | Ἀβιά, ὁ | Abijah |
6 | Ἀβιαθάρ | Ἀβιαθάρ, ὁ | Abiathar |
7 | Ἀβιληνή | Ἀβιληνή, -ῆς, ἡ | Abilene |
8 | Ἀβιούδ | Ἀβιούδ, ὁ | Abiud |
9 | Ἀβραάμ | Ἀβραάμ, ὁ | Abraham |
BOLgreekDICT = BOLgreekDICT.rename({'Lexeme':'lemma', 'Lexeme_dict':'bol_lemma_dict', 'gloss':'bol_gloss'}, axis=1)
BOLgreekDICT.head(5)
lemma | BOL_lemma_dict | BOL_gloss | |
---|---|---|---|
0 | Ἀαρών | Ἀαρών, ὁ | Aaron |
1 | Ἀβαδδών | Ἀβαδδών, ὁ | Abaddon |
2 | ἀβαρής | ἀβαρής, -ές | not burdensome |
3 | ἀββά | ἀββά, ὁ | Father |
4 | Ἅβελ | Ἅβελ, ὁ | Abel |
BOLgreekDICT.describe()
lemma | BOL_lemma_dict | BOL_gloss | |
---|---|---|---|
count | 5433 | 5335 | 5433 |
unique | 5400 | 5297 | 5172 |
top | ταχύς | ταχύς, -εῖα | put on, clothe |
freq | 4 | 4 | 4 |
featureaddstage3=featureaddstage2
featureaddstage3.describe()
orig_order | chapter | verse | freq_lemma | bol_dict_abc | abc_order | |
---|---|---|---|---|---|---|
count | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 |
mean | 68890.000000 | 10.219206 | 18.719936 | 4187.035100 | 2666.125157 | 2651.773434 |
std | 39773.515707 | 7.211703 | 13.606559 | 6795.931191 | 1332.673002 | 1323.818004 |
min | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 |
25% | 34445.500000 | 4.000000 | 8.000000 | 84.000000 | 1498.000000 | 1492.000000 |
50% | 68890.000000 | 9.000000 | 16.000000 | 668.000000 | 2737.000000 | 2723.000000 |
75% | 103334.500000 | 15.000000 | 26.000000 | 2892.000000 | 3581.500000 | 3561.500000 |
max | 137779.000000 | 28.000000 | 99.000000 | 19783.000000 | 5433.000000 | 5401.000000 |
#featureaddstage3.merge(BOLgreekDICT, how='left', on=['lemma'])
#featureaddstage3.head(5)
featureaddstage4=pd.merge (featureaddstage3, BOLgreekDICT,
on='lemma',
how='left')
featureaddstage4.head(5)
orig_order | book | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | BOL_lemma_dict | BOL_gloss | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume |
1 | 26411 | Mark | 12 | 26 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume |
2 | 31677 | Luke | 3 | 4 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume |
3 | 45622 | Luke | 20 | 42 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume |
4 | 65061 | Acts | 1 | 20 | βίβλῳ | βίβλῳ | βίβλος | N-DSF | N-DSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | dative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume |
featureaddstage4.describe()
orig_order | chapter | verse | freq_lemma | bol_dict_abc | abc_order | |
---|---|---|---|---|---|---|
count | 140309.000000 | 140309.000000 | 140309.000000 | 140309.000000 | 140309.000000 | 140309.000000 |
mean | 68806.814246 | 10.228645 | 18.723467 | 4115.735377 | 2672.532069 | 2658.132693 |
std | 39765.846252 | 7.213326 | 13.609302 | 6754.935029 | 1330.664991 | 1321.815113 |
min | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 |
25% | 34341.000000 | 4.000000 | 8.000000 | 84.000000 | 1498.000000 | 1492.000000 |
50% | 68806.000000 | 9.000000 | 16.000000 | 647.000000 | 2759.000000 | 2745.000000 |
75% | 103224.000000 | 15.000000 | 26.000000 | 2892.000000 | 3591.000000 | 3571.000000 |
max | 137779.000000 | 28.000000 | 99.000000 | 19783.000000 | 5433.000000 | 5401.000000 |
featureaddstage4 = featureaddstage4.drop_duplicates(['orig_order']).sort_values(by='orig_order', ascending=[True])
featureaddstage4.head(10)
orig_order | book | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | lexeme_dict | gloss | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | bol_dict_abc | lemma_translit | abc_order | BOL_lemma_dict | BOL_gloss | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | noun | f | sg | NaN | nominative | NaN | NaN | NaN | NaN | NaN | 10 | 969 | biblos | 965 | βίβλος, -ου, ἡ | written book, roll, or volume |
10 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | noun | f | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 5 | 1070 | genesis | 1067 | γένεσις, -εως, ἡ | birth, lineage |
15 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 913 | 2399 | Iesous | 2387 | Ἰησοῦς | Jesus |
928 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 529 | 5358 | Khristos | 5326 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ |
1457 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent |
1833 | 6 | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 59 | 1151 | Dauid | 1148 | Δαυίδ, ὁ | David |
1458 | 7 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | noun | m | sg | NaN | genitive | NaN | NaN | NaN | NaN | NaN | 376 | 5026 | uios | 4995 | υἱός, -οῦ, ὁ | son, descendent |
1892 | 8 | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham |
1893 | 9 | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | 73 | 10 | Abraam | 10 | Ἀβραάμ, ὁ | Abraham |
1965 | 10 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | verb | NaN | NaN | p3 | NaN | aorist | active | indicative | NaN | NaN | 97 | 1072 | gennao | 1069 | γεννάω | beget, bring forth, give birth to |
featureaddstage4.describe()
orig_order | chapter | verse | freq_lemma | bol_dict_abc | abc_order | |
---|---|---|---|---|---|---|
count | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 | 137779.000000 |
mean | 68890.000000 | 10.219206 | 18.719936 | 4187.035100 | 2666.125157 | 2651.773434 |
std | 39773.515707 | 7.211703 | 13.606559 | 6795.931191 | 1332.673002 | 1323.818004 |
min | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 |
25% | 34445.500000 | 4.000000 | 8.000000 | 84.000000 | 1498.000000 | 1492.000000 |
50% | 68890.000000 | 9.000000 | 16.000000 | 668.000000 | 2737.000000 | 2723.000000 |
75% | 103334.500000 | 15.000000 | 26.000000 | 2892.000000 | 3581.500000 | 3561.500000 |
max | 137779.000000 | 28.000000 | 99.000000 | 19783.000000 | 5433.000000 | 5401.000000 |
featureaddstage4.to_excel('d:/OneDrive/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.3.xlsx')
featureadd.head(10)
orig_order | bol_monad_num | book_long | booknum | book_short | chapter | verse | bol_ref | word | bol_surface | normalized | lemma | bol_lemma | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | ... | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | normalized_noaccent | lemma_noaccent | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | 1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Βίβλος | Βίβλος | Βίβλος | βίβλος | βίβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | ... | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | Βιβλος | βιβλος |
1 | 2 | 2 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | γενέσεως | γενέσεως | γενέσεως | γένεσις | γένεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | γενεσεως | γενεσις |
2 | 3 | 3 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | Ἰησοῦς | Iesous | N-GSM | N-GSM | 2424 | False | Ἰησοῦς | Ἰησοῦς | Jesus | Jesus | 2387 | 2399 | 913 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | irregular | irregular | irregular | irregular | not_covered | Ιησου | Ιησους |
3 | 4 | 4 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Χριστοῦ | Χριστοῦ | Χριστοῦ | Χριστός | Χριστός | Khristos | N-GSM | N-GSM | 5547 | False | Χριστός, -οῦ, ὁ | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | anointed, Messiah, Christ | 5326 | 5358 | 529 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | Χριστου | Χριστος |
4 | 5 | 5 | Matthew | 5 | Matt | 1 | 1 | Matt 1:1 | υἱοῦ | υἱοῦ | υἱοῦ | υἱός | υἱός | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | υιου | υιος |
5 | 6 | 6 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Δαυεὶδ | Δαυεὶδ | Δαυείδ | Δαυίδ | Δαυίδ | Dauid | N-PRI | N-PRI | 1138 | False | Δαυίδ, ὁ | Δαυίδ, ὁ | David | David | 1148 | 1151 | 59 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Δαυειδ | Δαυιδ |
6 | 7 | 7 | Matthew | 5 | Matt | 1 | 1 | Matt 1:1 | υἱοῦ | υἱοῦ | υἱοῦ | υἱός | υἱός | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | ... | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | υιου | υιος |
7 | 8 | 8 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | Ἀβραάμ. | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | Ἀβραάμ | Abraam | N-PRI | N-PRI | 11 | False | Ἀβραάμ, ὁ | Ἀβραάμ, ὁ | Abraham | Abraham | 10 | 10 | 73 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Αβρααμ | Αβρααμ |
8 | 9 | 9 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | Ἀβραὰμ | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | Ἀβραάμ | Abraam | N-PRI | N-PRI | 11 | False | Ἀβραάμ, ὁ | Ἀβραάμ, ὁ | Abraham | Abraham | 10 | 10 | 73 | ... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | Αβρααμ | Αβρααμ |
9 | 10 | 10 | Matthew | 14 | Matt | 1 | 2 | Matt 1:2 | ἐγέννησεν | ἐγέννησεν | ἐγέννησεν | γεννάω | γεννάω | gennao | V-AAI-3S | V-AAI-3S | 1080 | False | γεννάω | γεννάω | beget, bring forth, give birth to | beget, bring forth, give birth to | 1069 | 1072 | 97 | ... | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | aorist | aorist | a | active | ind | indicative | NaN | NaN | NaN | alpha | NaN | alpha | NaN | NaN | 6a | εγεννησεν | γενναω |
10 rows × 56 columns
featureadd.to_excel('/Users/oliverglanz/Library/CloudStorage/OneDrive-AndrewsUniversity/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.5_20221004.xlsx')
morph['orig_order'] = frequencyadd.index +1
frequencyadd['lemma']=frequencyadd[0]
frequencyadd=frequencyadd[['orig_order','lemma']]
frequencyadd.head(5)
orig_order | lemma | |
---|---|---|
0 | 1 | βίβλος |
1 | 2 | γένεσις |
2 | 3 | Ἰησοῦς |
3 | 4 | Χριστός |
4 | 5 | υἱός |
morph["freq_lemma"]=morph.groupby(["lemma"])["lemma"].transform("count")
#("count") is actually utilizing the 'count' function!
morph.head(20)
orig_order | book | chapter | verse | word | normalized | lemma | morph_form | morph_functional | strongs | Lexeme_dict | gloss | occurrence | Unnamed: 13 | sp | gn | nu | ps | case | tense | voice | mood | degree | extra | freq_lemma | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | Matt | 1 | 1 | Βίβλος | Βίβλος | βίβλος | N-NSF | N-NSF | 976 | βίβλος, -ου, ἡ | written book, roll, or volume | 10 | NaN | noun | f | sg | nominative | 10 | ||||||
1 | 2 | Matt | 1 | 1 | γενέσεως | γενέσεως | γένεσις | N-GSF | N-GSF | 1078 | γένεσις, -εως, ἡ | birth, lineage | 5 | NaN | noun | f | sg | genitive | 5 | ||||||
2 | 3 | Matt | 1 | 1 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦς | N-GSM | N-GSM | 2424 | Ἰησοῦς | Jesus | 913 | NaN | noun | m | sg | genitive | 913 | ||||||
3 | 4 | Matt | 1 | 1 | Χριστοῦ | Χριστοῦ | Χριστός | N-GSM | N-GSM | 5547 | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | 529 | NaN | noun | m | sg | genitive | 529 | ||||||
4 | 5 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | 376 | NaN | noun | m | sg | genitive | 376 | ||||||
5 | 6 | Matt | 1 | 1 | Δαυεὶδ | Δαυείδ | Δαυίδ | N-PRI | N-PRI | 1138 | Δαυίδ, ὁ | David | 59 | NaN | noun | 59 | |||||||||
6 | 7 | Matt | 1 | 1 | υἱοῦ | υἱοῦ | υἱός | N-GSM | N-GSM | 5207 | υἱός, -οῦ, ὁ | son, descendent | 376 | NaN | noun | m | sg | genitive | 376 | ||||||
7 | 8 | Matt | 1 | 1 | Ἀβραάμ. | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | 73 | NaN | noun | 73 | |||||||||
8 | 9 | Matt | 1 | 2 | Ἀβραὰμ | Ἀβραάμ | Ἀβραάμ | N-PRI | N-PRI | 11 | Ἀβραάμ, ὁ | Abraham | 73 | NaN | noun | 73 | |||||||||
9 | 10 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | 97 | NaN | verb | p3 | aorist | active | indicative | 97 | |||||
10 | 11 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | 19783 | NaN | art | m | sg | accusative | 19783 | ||||||
11 | 12 | Matt | 1 | 2 | Ἰσαάκ, | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | 20 | NaN | noun | 20 | |||||||||
12 | 13 | Matt | 1 | 2 | Ἰσαὰκ | Ἰσαάκ | Ἰσαάκ | N-PRI | N-PRI | 2464 | Ἰσαάκ, ὁ | Isaac | 20 | NaN | noun | 20 | |||||||||
13 | 14 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | 2787 | NaN | conj | 2787 | |||||||||
14 | 15 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | 97 | NaN | verb | p3 | aorist | active | indicative | 97 | |||||
15 | 16 | Matt | 1 | 2 | τὸν | τόν | ὁ | T-ASM | T-ASM | 3588 | ὁ, ἡ, τό | the | 19783 | NaN | art | m | sg | accusative | 19783 | ||||||
16 | 17 | Matt | 1 | 2 | Ἰακώβ, | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | 27 | NaN | noun | 27 | |||||||||
17 | 18 | Matt | 1 | 2 | Ἰακὼβ | Ἰακώβ | Ἰακώβ | N-PRI | N-PRI | 2384 | Ἰακώβ, ὁ | Jacob | 27 | NaN | noun | 27 | |||||||||
18 | 19 | Matt | 1 | 2 | δὲ | δέ | δέ | CONJ | CONJ | 1161 | δέ | but, on the other hand, and | 2787 | NaN | conj | 2787 | |||||||||
19 | 20 | Matt | 1 | 2 | ἐγέννησεν | ἐγέννησεν | γεννάω | V-AAI-3S | V-AAI-3S | 1080&5656 | γεννάω | beget, bring forth, give birth to | 97 | NaN | verb | p3 | aorist | active | indicative | 97 |
morph.to_excel('d:/OneDrive/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.1.xlsx')
--------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-84-72021c5e0ed0> in <module> ----> 1 featureadd.to_excel('d:/OneDrive/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.4.xlsx') NameError: name 'featureadd' is not defined
featureprep.to_excel('d:/OneDrive/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.41.xlsx')
import pandas as pd
# read DataFrame
NA1904 = pd.read_excel("/Users/oliverglanz/Library/CloudStorage/OneDrive-AndrewsUniversity/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.5_20221004.xlsx")
# words = pd.read_excel("/Users/glanz/Library/CloudStorage/OneDrive-AndrewsUniversity/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.5_20221004.xlsx")
pd.set_option('display.max_columns', 100)
NA1904.head()
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 1 | 1 | Βίβλος | Βίβλος | Βίβλος | Βιβλος | βίβλος | βίβλος | βιβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | 10 | 1052 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered |
1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 2 | 2 | γενέσεως | γενέσεως | γενέσεως | γενεσεως | γένεσις | γένεσις | γενεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | 5 | 1638 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered |
2 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 3 | 3 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦ | Ιησου | Ἰησοῦς | Ἰησοῦς | Ιησους | Iesous | N-GSM | N-GSM | 2424 | False | Ἰησοῦς | Ἰησοῦς | Jesus | Jesus | 2387 | 2399 | 913 | 913 | 19 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | irregular | irregular | irregular | irregular | not_covered |
3 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 4 | 4 | Χριστοῦ | Χριστοῦ | Χριστοῦ | Χριστου | Χριστός | Χριστός | Χριστος | Khristos | N-GSM | N-GSM | 5547 | False | Χριστός, -οῦ, ὁ | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | anointed, Messiah, Christ | 5326 | 5358 | 529 | 529 | 35 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered |
4 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 5 | 5 | υἱοῦ | υἱοῦ | υἱοῦ | υιου | υἱός | υἱός | υιος | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b |
NF = NA1904
Rule#1:
# Rule_2ndDecl_1a
# Masculine singular accusative = Neutrum singular nominative = Neutrum singular accusative = Neutrum singular vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^second.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'acc')
& (NF['gn'] == 'm')
& (NF['normalized_noaccent'].str.match('^.*ον$') == True) ,
'Rule_2ndDecl_1a_altI'] = 'NeuterSingularNominative-NeuterSingularAccusative-NeuterSingularVocative'
NF.sort_values(by='Rule_2ndDecl_1a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
350 | Matthew | 1 | Matt | 1 | 21 | Matt 1:21 | 351 | 351 | υἱὸν | υἱὸν | υἱόν | υιον | υἱός | υἱός | υιος | uios | N-ASM | N-ASM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | NeuterSingularNominative-NeuterSingularAccusat... |
88984 | Romans | 6 | Rom | 14 | 10 | Rom 14:10 | 88985 | 88985 | ἀδελφόν | ἀδελφόν | ἀδελφόν | αδελφον | ἀδελφός | ἀδελφός | αδελφος | adelphos | N-ASM | N-ASM | 80 | False | ἀδελφός, -οῦ, ὁ | ἀδελφός, -οῦ, ὁ | brother | brother | 79 | 79 | 343 | 343 | 49 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 6a | NeuterSingularNominative-NeuterSingularAccusat... |
# Rule_2ndDecl_1b
# Masculine singular accusative = Neutrum singular nominative = Neutrum singular accusative = Neutrum singular vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^second.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'acc')
& (NF['gn'] == 'n')
& (NF['normalized_noaccent'].str.match('^.*ον$') == True) ,
'Rule_2ndDecl_1b_altI'] = 'NeuterSingularNominative-NeuterSingularVocative-MasculineSingularAccusative'
NF.sort_values(by='Rule_2ndDecl_1b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
617 | Matthew | 1 | Matt | 2 | 11 | Matt 2:11 | 618 | 618 | παιδίον | παιδίον | παιδίον | παιδιον | παιδίον | παιδίον | παιδιον | paidion | N-ASN | N-ASN | 3813 | False | παιδίον, -ου, τό | παιδίον, -ου, τό | little child, infant | little child, infant | 3642 | 3663 | 52 | 52 | 303 | noun | noun | n | neuter | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 6b | NaN | NeuterSingularNominative-NeuterSingularVocativ... |
89135 | Romans | 6 | Rom | 14 | 20 | Rom 14:20 | 89136 | 89136 | ἔργον | ἔργον | ἔργον | εργον | ἔργον | ἔργον | εργον | ergon | N-ASN | N-ASN | 2041 | False | ἔργον, -ου, τό | ἔργον, -ου, τό | work, labor, action, deed | work, labor, action, deed | 2024 | 2032 | 169 | 169 | 92 | noun | noun | n | neuter | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | NaN | NeuterSingularNominative-NeuterSingularVocativ... |
# Rule_2ndDecl_1c
# Masculine singular accusative = Neutrum singular nominative = Neutrum singular accusative = Neutrum singular vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^second.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'nom')
& (NF['gn'] == 'n')
& (NF['normalized_noaccent'].str.match('^.*ον$') == True) ,
'Rule_2ndDecl_1c_altI'] = 'NeuterSingularAccusative-NeuterSingularVocative-MasculineSingularAccusative'
NF.sort_values(by='Rule_2ndDecl_1c_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
601 | Matthew | 1 | Matt | 2 | 9 | Matt 2:9 | 602 | 602 | παιδίον. | παιδίον. | παιδίον | παιδιον | παιδίον | παιδίον | παιδιον | paidion | N-NSN | N-NSN | 3813 | False | παιδίον, -ου, τό | παιδίον, -ου, τό | little child, infant | little child, infant | 3642 | 3663 | 52 | 52 | 303 | noun | noun | n | neuter | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 6b | NaN | NaN | NeuterSingularAccusative-NeuterSingularVocativ... |
93827 | I_Corinthians | 7 | 1Cor | 10 | 19 | 1Cor 10:19 | 93828 | 93828 | εἴδωλόν | εἴδωλόν | εἴδωλον | ειδωλον | εἴδωλον | εἴδωλον | ειδωλον | eidolon | N-NSN | N-NSN | 1497 | False | εἴδωλον, -ου, τό | εἴδωλον, -ου, τό | idol, false god | idol, false god | 1484 | 1490 | 11 | 11 | 968 | noun | noun | n | neuter | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN | NeuterSingularAccusative-NeuterSingularVocativ... |
# Rule_2ndDecl_1d
# Masculine singular accusative = Neutrum singular nominative = Neutrum singular accusative = Neutrum singular vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^second.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'voc')
& (NF['gn'] == 'n')
& (NF['normalized_noaccent'].str.match('^.*ον$') == True) ,
'Rule_2ndDecl_1d_altI'] = 'NeuterSingularAccusative-NeuterSingularNominative-MasculineSingularAccusative'
NF.sort_values(by='Rule_2ndDecl_1d_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4250 | Matthew | 1 | Matt | 9 | 2 | Matt 9:2 | 4251 | 4251 | τέκνον, | τέκνον, | τέκνον | τεκνον | τέκνον | τέκνον | τεκνον | teknon | N-VSN | N-VSN | 5043 | False | τέκνον, -ου, τό | τέκνον, -ου, τό | child, descendent, inhabitant | child, descendent, inhabitant | 4841 | 4872 | 99 | 99 | 167 | noun | noun | n | neuter | sg | singular | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 5b | NaN | NaN | NaN | NeuterSingularAccusative-NeuterSingularNominat... |
12514 | Matthew | 1 | Matt | 21 | 28 | Matt 21:28 | 12515 | 12515 | Τέκνον, | Τέκνον, | Τέκνον | Τεκνον | τέκνον | τέκνον | τεκνον | teknon | N-VSN | N-VSN | 5043 | False | τέκνον, -ου, τό | τέκνον, -ου, τό | child, descendent, inhabitant | child, descendent, inhabitant | 4841 | 4872 | 99 | 99 | 167 | noun | noun | n | neuter | sg | singular | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 5b | NaN | NaN | NaN | NeuterSingularAccusative-NeuterSingularNominat... |
# Rule_2ndDecl_2a
# Masculine singular genetive = Neutrum singular genitve
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^second.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'gen')
& (NF['gn'] == 'm')
& (NF['normalized_noaccent'].str.match('^.*ου$') == True),
'Rule_2ndDecl_2a_altI'] = 'NeuterSingularGenitive'
NF.sort_values(by='Rule_2ndDecl_2a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 4 | 4 | Χριστοῦ | Χριστοῦ | Χριστοῦ | Χριστου | Χριστός | Χριστός | Χριστος | Khristos | N-GSM | N-GSM | 5547 | False | Χριστός, -οῦ, ὁ | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | anointed, Messiah, Christ | 5326 | 5358 | 529 | 529 | 35 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN | NaN | NaN | NeuterSingularGenitive |
104734 | Ephesians | 10 | Eph | 3 | 19 | Eph 3:19 | 104735 | 104735 | Θεοῦ. | Θεοῦ. | Θεοῦ | Θεου | θεός | θεός | θεος | theos | N-GSM | N-GSM | 2316 | False | θεός, -οῦ, ὁ | θεός, -οῦ, ὁ | God, god | God, god | 2283 | 2293 | 1311 | 1311 | 14 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3a | NaN | NaN | NaN | NaN | NeuterSingularGenitive |
# Rule_2ndDecl_2b
# Masculine singular genetive = Neutrum singular genitve
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^second.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'gen')
& (NF['gn'] == 'n')
& (NF['normalized_noaccent'].str.match('^.*ου$') == True),
'Rule_2ndDecl_2b_altI'] = 'MasculineSingularGenitive'
NF.sort_values(by='Rule_2ndDecl_2b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
566 | Matthew | 1 | Matt | 2 | 8 | Matt 2:8 | 567 | 567 | παιδίου· | παιδίου· | παιδίου | παιδιου | παιδίον | παιδίον | παιδιον | paidion | N-GSN | N-GSN | 3813 | False | παιδίον, -ου, τό | παιδίον, -ου, τό | little child, infant | little child, infant | 3642 | 3663 | 52 | 52 | 303 | noun | noun | n | neuter | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 6b | NaN | NaN | NaN | NaN | NaN | MasculineSingularGenitive |
98128 | II_Corinthians | 8 | 2Cor | 4 | 4 | 2Cor 4:4 | 98129 | 98129 | εὐαγγελίου | εὐαγγελίου | εὐαγγελίου | ευαγγελιου | εὐαγγέλιον | εὐαγγέλιον | ευαγγελιον | euaggelion | N-GSN | N-GSN | 2098 | False | εὐαγγέλιον, -ου, -ν | εὐαγγέλιον, -ου, -ν | good news, gospel | good news, gospel | 2073 | 2082 | 76 | 76 | 222 | noun | noun | n | neuter | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | NaN | NaN | NaN | NaN | NaN | MasculineSingularGenitive |
# Rule_2ndDecl_3a
# Masculine singular dative = Neutrum singular dative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^second.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'dat')
& (NF['gn'] == 'n')
& (NF['normalized_noaccent'].str.match('^.*ω$') == True),
'Rule_2ndDecl_3a_altI'] = 'MasculineSingularDative'
NF.sort_values(by='Rule_2ndDecl_3a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1550 | Matthew | 1 | Matt | 4 | 21 | Matt 4:21 | 1551 | 1551 | πλοίῳ | πλοίῳ | πλοίῳ | πλοιω | πλοῖον | πλοῖον | πλοιον | ploion | N-DSN | N-DSN | 4143 | False | πλοῖον, -ου, τό | πλοῖον, -ου, τό | ship, vessel | ship, vessel | 3967 | 3989 | 67 | 67 | 244 | noun | noun | n | neuter | sg | singular | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 8a | NaN | NaN | NaN | NaN | NaN | NaN | MasculineSingularDative |
93318 | I_Corinthians | 7 | 1Cor | 9 | 13 | 1Cor 9:13 | 93319 | 93319 | θυσιαστηρίῳ | θυσιαστηρίῳ | θυσιαστηρίῳ | θυσιαστηριω | θυσιαστήριον | θυσιαστήριον | θυσιαστηριον | thusiasterion | N-DSN | N-DSN | 2379 | False | θυσιαστήριον, -ου, τό | θυσιαστήριον, -ου, τό | altar | altar | 2346 | 2356 | 23 | 23 | 563 | noun | noun | n | neuter | sg | singular | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | MasculineSingularDative |
# Rule_2ndDecl_3b
# Masculine singular dative = Neutrum singular dative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^second.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'dat')
& (NF['gn'] == 'm')
& (NF['normalized_noaccent'].str.match('^.*ω$') == True),
'Rule_2ndDecl_3b_altI'] = 'NeuterSingularDative'
NF.sort_values(by='Rule_2ndDecl_3b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
987 | Matthew | 1 | Matt | 3 | 6 | Matt 3:6 | 988 | 988 | ποταμῷ | ποταμῷ | ποταμῷ | ποταμω | ποταμός | ποταμός | ποταμος | potamos | N-DSM | N-DSM | 4215 | False | ποταμός, -οῦ, ὁ | ποταμός, -οῦ, ὁ | river, torrent | river, torrent | 4037 | 4061 | 17 | 17 | 697 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NeuterSingularDative |
104436 | Ephesians | 10 | Eph | 2 | 21 | Eph 2:21 | 104437 | 104437 | Κυρίῳ, | Κυρίῳ, | Κυρίῳ | Κυριω | κύριος | κύριος | κυριος | kurios | N-DSM | N-DSM | 2962 | False | κύριος, -ου, ὁ | κύριος, -ου, ὁ | lord, Lord, master, sir | lord, Lord, master, sir | 2922 | 2937 | 718 | 718 | 22 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NeuterSingularDative |
# Rule_2ndDecl_4a
# Masculine plural nominative = Maskuline plural vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^second.*', regex=True) == True)
& (NF['nu'] == 'pl')
& (NF['case'] == 'nom')
& (NF['gn'] == 'm')
& (NF['normalized_noaccent'].str.match('^.*οι$') == True),
'Rule_2ndDecl_4a_altI'] = 'MasculinePluralVocative'
NF.sort_values(by='Rule_2ndDecl_4a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
450 | Matthew | 1 | Matt | 2 | 1 | Matt 2:1 | 451 | 451 | μάγοι | μάγοι | μάγοι | μαγοι | μάγος | μάγος | μαγος | magos | N-NPM | N-NPM | 3097 | False | μάγος, -ου, ὁ | μάγος, -ου, ὁ | sorcerer, magician, wizard | sorcerer, magician, wizard | 3053 | 3071 | 6 | 6 | 1469 | noun | noun | m | masculine | pl | plural | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | MasculinePluralVocative |
86432 | Romans | 6 | Rom | 8 | 17 | Rom 8:17 | 86433 | 86433 | κληρονόμοι· | κληρονόμοι· | κληρονόμοι | κληρονομοι | κληρονόμος | κληρονόμος | κληρονομος | kleronomos | N-NPM | N-NPM | 2818 | False | κληρονόμος, -ου, ὁ | κληρονόμος, -ου, ὁ | heir, inheritor | heir, inheritor | 2776 | 2790 | 15 | 15 | 764 | noun | noun | m | masculine | pl | plural | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | MasculinePluralVocative |
# Rule_2ndDecl_4b
# Masculine plural nominative = Maskuline plural vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^second.*', regex=True) == True)
& (NF['nu'] == 'pl')
& (NF['case'] == 'voc')
& (NF['gn'] == 'm')
& (NF['normalized_noaccent'].str.match('^.*οι$') == True),
'Rule_2ndDecl_4b_altI'] = 'MasculinePluralNominative'
NF.sort_values(by='Rule_2ndDecl_4b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13674 | Matthew | 1 | Matt | 23 | 13 | Matt 23:13 | 13675 | 13675 | Φαρισαῖοι | Φαρισαῖοι | Φαρισαῖοι | Φαρισαιοι | Φαρισαῖος | Φαρισαῖος | Φαρισαιος | Pharisaios | N-VPM | N-VPM | 5330 | False | Φαρισαῖος, -ου, ὁ | Φαρισαῖος, -ου, ὁ | Pharisee | Pharisee | 5117 | 5149 | 98 | 98 | 169 | noun | noun | m | masculine | pl | plural | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | MasculinePluralNominative |
110620 | I_Thessalonians | 13 | 1Thess | 5 | 12 | 1Thess 5:12 | 110621 | 110621 | ἀδελφοί, | ἀδελφοί, | ἀδελφοί | αδελφοι | ἀδελφός | ἀδελφός | αδελφος | adelphos | N-VPM | N-VPM | 80 | False | ἀδελφός, -οῦ, ὁ | ἀδελφός, -οῦ, ὁ | brother | brother | 79 | 79 | 343 | 343 | 49 | noun | noun | m | masculine | pl | plural | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 6a | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | MasculinePluralNominative |
# Rule_2ndDecl_5a
# Neuter plural nominative = Neuter plural vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^second.*', regex=True) == True)
& (NF['nu'] == 'pl')
& (NF['case'] == 'nom')
& (NF['gn'] == 'n')
& (NF['normalized_noaccent'].str.match('^.*α$') == True),
'Rule_2ndDecl_5a_altI'] = 'NeuterPluralVocative'
NF.sort_values(by='Rule_2ndDecl_5a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3966 | Matthew | 1 | Matt | 8 | 20 | Matt 8:20 | 3967 | 3967 | πετεινὰ | πετεινὰ | πετεινά | πετεινα | πετεινός | πετεινός | πετεινος | peteinos | N-NPN | N-NPN | 4071 | False | πετεινόν, -ου, τό | πετεινόν, -ου, τό | bird | bird | 3897 | 3918 | 14 | 14 | 811 | noun | noun | n | neuter | pl | plural | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NeuterPluralVocative |
115607 | Hebrews | 19 | Heb | 1 | 10 | Heb 1:10 | 115608 | 115608 | ἔργα | ἔργα | ἔργα | εργα | ἔργον | ἔργον | εργον | ergon | N-NPN | N-NPN | 2041 | False | ἔργον, -ου, τό | ἔργον, -ου, τό | work, labor, action, deed | work, labor, action, deed | 2024 | 2032 | 169 | 169 | 92 | noun | noun | n | neuter | pl | plural | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NeuterPluralVocative |
# Rule_2ndDecl_5b
# Neuter plural nominative = Neuter plural vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['declension'].str.contains('^2nd.*', regex=True) == True)
& (NF['nu'] == 'pl')
& (NF['case'] == 'voc')
& (NF['gn'] == 'n')
& (NF['normalized_noaccent'].str.match('^.*α$') == True),
'Rule_2ndDecl_5b_altI'] = 'NeuterPluralNominative'
NF.sort_values(by='Rule_2ndDecl_5b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
24898 | Mark | 2 | Mark | 10 | 24 | Mark 10:24 | 24899 | 24899 | Τέκνα, | Τέκνα, | Τέκνα | Τεκνα | τέκνον | τέκνον | τεκνον | teknon | N-VPN | N-VPN | 5043 | False | τέκνον, -ου, τό | τέκνον, -ου, τό | child, descendent, inhabitant | child, descendent, inhabitant | 4841 | 4872 | 99 | 99 | 167 | noun | noun | n | neuter | pl | plural | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 5b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NeuterPluralNominative |
59649 | John | 4 | John | 13 | 33 | John 13:33 | 59650 | 59650 | τεκνία, | τεκνία, | τεκνία | τεκνια | τεκνίον | τεκνίον | τεκνιον | teknion | N-VPN | N-VPN | 5040 | False | τεκνίον, -ου, τό | τεκνίον, -ου, τό | little child | little child | 4838 | 4869 | 8 | 8 | 1237 | noun | noun | n | neuter | pl | plural | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NeuterPluralNominative |
def Odeclensionambiguity(row):
if row['declension'].str.contains('^2nd.*', regex=True) == True :
return 1
else:
return 0
NF['looptest1']=NF['declension'].apply(lambda x : x in ['2nd'])
NF['looptest2']=NF['declension'].apply(lambda x : x in [r'^2nd'])
NF.head(10)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | ambigious_gn2 | ambigious_gn3 | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | ambigious_case2 | ambigious_case3 | bol_case | tense | bol_tense | voice | ambigious_voice2 | ambigious_voice3 | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | looptest1 | looptest2 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 1 | 1 | Βίβλος | Βίβλος | Βίβλος | Βιβλος | βίβλος | βίβλος | βιβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | 10 | 1052 | noun | noun | f | NaN | NaN | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | NaN | NaN | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | True | False |
1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 2 | 2 | γενέσεως | γενέσεως | γενέσεως | γενεσεως | γένεσις | γένεσις | γενεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | 5 | 1638 | noun | noun | f | NaN | NaN | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | NaN | NaN | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | False | False |
2 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 3 | 3 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦ | Ιησου | Ἰησοῦς | Ἰησοῦς | Ιησους | Iesous | N-GSM | N-GSM | 2424 | False | Ἰησοῦς | Ἰησοῦς | Jesus | Jesus | 2387 | 2399 | 913 | 913 | 19 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | NaN | NaN | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | irregular | irregular | irregular | irregular | not_covered | False | False |
3 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 4 | 4 | Χριστοῦ | Χριστοῦ | Χριστοῦ | Χριστου | Χριστός | Χριστός | Χριστος | Khristos | N-GSM | N-GSM | 5547 | False | Χριστός, -οῦ, ὁ | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | anointed, Messiah, Christ | 5326 | 5358 | 529 | 529 | 35 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | NaN | NaN | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | True | False |
4 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 5 | 5 | υἱοῦ | υἱοῦ | υἱοῦ | υιου | υἱός | υἱός | υιος | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | NaN | NaN | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | True | False |
5 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 6 | 6 | Δαυεὶδ | Δαυεὶδ | Δαυείδ | Δαυειδ | Δαυίδ | Δαυίδ | Δαυιδ | Dauid | N-PRI | N-PRI | 1138 | False | Δαυίδ, ὁ | Δαυίδ, ὁ | David | David | 1148 | 1151 | 59 | 59 | 275 | noun | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | False | False |
6 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 7 | 7 | υἱοῦ | υἱοῦ | υἱοῦ | υιου | υἱός | υἱός | υιος | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | NaN | NaN | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | True | False |
7 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 8 | 8 | Ἀβραάμ. | Ἀβραάμ. | Ἀβραάμ | Αβρααμ | Ἀβραάμ | Ἀβραάμ | Αβρααμ | Abraam | N-PRI | N-PRI | 11 | False | Ἀβραάμ, ὁ | Ἀβραάμ, ὁ | Abraham | Abraham | 10 | 10 | 73 | 73 | 232 | noun | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | False | False |
8 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 9 | 9 | Ἀβραὰμ | Ἀβραὰμ | Ἀβραάμ | Αβρααμ | Ἀβραάμ | Ἀβραάμ | Αβρααμ | Abraam | N-PRI | N-PRI | 11 | False | Ἀβραάμ, ὁ | Ἀβραάμ, ὁ | Abraham | Abraham | 10 | 10 | 73 | 73 | 232 | noun | noun | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | not_covered | False | False |
9 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 10 | 10 | ἐγέννησεν | ἐγέννησεν | ἐγέννησεν | εγεννησεν | γεννάω | γεννάω | γενναω | gennao | V-AAI-3S | V-AAI-3S | 1080 | False | γεννάω | γεννάω | beget, bring forth, give birth to | beget, bring forth, give birth to | 1069 | 1072 | 97 | 97 | 170 | verb | verb | NaN | NaN | NaN | NaN | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | NaN | NaN | aorist | aorist | a | NaN | NaN | active | ind | indicative | NaN | NaN | NaN | alpha | NaN | alpha | NaN | NaN | 6a | False | False |
#def odeclensionambiguity (row):
# if re.search('Matt', str(row)):
# return '1'
# if re.search('Mark', str(row)):
# return '2'
#
# else:
# return ''
#def Odeclensionambiguity(row):
# if row['declension'].str.match('^2nd.*') == True and row['sp'] == 'noun' and row['nu'] == 'sg' and row['case'] == 'acc' and row['normalized_noaccent'.str.match('^.*ον$')==True]:
# return 'foo'
# if row['declension'].str.match('^3rd.*') == True and row['sp'] == 'noun' and row['nu'] :
# return 'bar'
# if row['declension'].str.match('^1st.*') == True and row['sp'] == 'noun' and row['nu'] :
# return 'moo'
# else:
# return 0
def Odeclensionambiguity(row):
if row['declension'].str.match('^2nd.*') == True and row['sp'] == 'noun' and row['nu'] == 'sg' and row['case'] == 'acc':
return 'foo'
else:
return 0
NF['looptest3']=NF.apply(lambda row : Odeclensionambiguity(row), axis = 1)
NF.head(10)
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /var/folders/bc/dyz2szqd43992c1c1z3c10580000gp/T/ipykernel_97548/3564790874.py in <module> ----> 1 NF['looptest3']=NF.apply(lambda row : Odeclensionambiguity(row), axis = 1) 2 NF.head(10) ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/frame.py in apply(self, func, axis, raw, result_type, args, **kwargs) 8738 kwargs=kwargs, 8739 ) -> 8740 return op.apply() 8741 8742 def applymap( ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/apply.py in apply(self) 686 return self.apply_raw() 687 --> 688 return self.apply_standard() 689 690 def agg(self): ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/apply.py in apply_standard(self) 810 811 def apply_standard(self): --> 812 results, res_index = self.apply_series_generator() 813 814 # wrap results ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/apply.py in apply_series_generator(self) 826 for i, v in enumerate(series_gen): 827 # ignore SettingWithCopy here in case the user mutates --> 828 results[i] = self.f(v) 829 if isinstance(results[i], ABCSeries): 830 # If we have a view on v, we need to make a copy because /var/folders/bc/dyz2szqd43992c1c1z3c10580000gp/T/ipykernel_97548/3564790874.py in <lambda>(row) ----> 1 NF['looptest3']=NF.apply(lambda row : Odeclensionambiguity(row), axis = 1) 2 NF.head(10) /var/folders/bc/dyz2szqd43992c1c1z3c10580000gp/T/ipykernel_97548/3023850087.py in Odeclensionambiguity(row) 22 23 def Odeclensionambiguity(row): ---> 24 if row['declension'].str.match('^2nd.*') == True and row['sp'] == 'noun' and row['nu'] == 'sg' and row['case'] == 'acc': 25 return 'foo' 26 else: AttributeError: 'str' object has no attribute 'str'
words[
(words['declension'].str.match('^2nd.*') == True)
& (words['sp'] == 'noun')
& (words['nu'] == 'sg')
& (words['case'] == 'acc')
& (words['normalized_noaccent'].str.match('^.*ον$') == True)
].sort_values(['declension', 'nu'], ascending=[False,True]).head(10)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | ambigious_gn2 | ambigious_gn3 | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | ambigious_case2 | ambigious_case3 | bol_case | tense | bol_tense | voice | ambigious_voice2 | ambigious_voice3 | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
350 | Matthew | 1 | Matt | 1 | 21 | Matt 1:21 | 351 | 351 | υἱὸν | υἱὸν | υἱόν | υιον | υἱός | υἱός | υιος | uios | N-ASM | N-ASM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b |
361 | Matthew | 1 | Matt | 1 | 21 | Matt 1:21 | 362 | 362 | λαὸν | λαὸν | λαόν | λαον | λαός | λαός | λαος | laos | N-ASM | N-ASM | 2992 | False | λαός, -οῦ, ὁ | λαός, -οῦ, ὁ | people, crowd | people, crowd | 2954 | 2969 | 142 | 142 | 115 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 8a |
389 | Matthew | 1 | Matt | 1 | 23 | Matt 1:23 | 390 | 390 | υἱόν, | υἱόν, | υἱόν | υιον | υἱός | υἱός | υιος | uios | N-ASM | N-ASM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b |
429 | Matthew | 1 | Matt | 1 | 25 | Matt 1:25 | 430 | 430 | υἱόν· | υἱόν· | υἱόν | υιον | υἱός | υἱός | υιος | uios | N-ASM | N-ASM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b |
537 | Matthew | 1 | Matt | 2 | 6 | Matt 2:6 | 538 | 538 | λαόν | λαόν | λαόν | λαον | λαός | λαός | λαος | laos | N-ASM | N-ASM | 2992 | False | λαός, -οῦ, ὁ | λαός, -οῦ, ὁ | people, crowd | people, crowd | 2954 | 2969 | 142 | 142 | 115 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 8a |
551 | Matthew | 1 | Matt | 2 | 7 | Matt 2:7 | 552 | 552 | χρόνον | χρόνον | χρόνον | χρονον | χρόνος | χρόνος | χρονος | khronos | N-ASM | N-ASM | 5550 | False | χρόνος, -ου, ὁ | χρόνος, -ου, ὁ | time, particular time, season | time, particular time, season | 5329 | 5361 | 54 | 54 | 294 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3a |
617 | Matthew | 1 | Matt | 2 | 11 | Matt 2:11 | 618 | 618 | παιδίον | παιδίον | παιδίον | παιδιον | παιδίον | παιδίον | παιδιον | paidion | N-ASN | N-ASN | 3813 | False | παιδίον, -ου, τό | παιδίον, -ου, τό | little child, infant | little child, infant | 3642 | 3663 | 52 | 52 | 303 | noun | noun | n | NaN | NaN | neuter | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 6b |
635 | Matthew | 1 | Matt | 2 | 11 | Matt 2:11 | 636 | 636 | χρυσὸν | χρυσὸν | χρυσόν | χρυσον | χρυσός | χρυσός | χρυσος | khrusos | N-ASM | N-ASM | 5557 | False | χρυσός, -οῦ, ὁ | χρυσός, -οῦ, ὁ | anything made of gold | anything made of gold | 5335 | 5367 | 9 | 9 | 1131 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered |
637 | Matthew | 1 | Matt | 2 | 11 | Matt 2:11 | 638 | 638 | λίβανον | λίβανον | λίβανον | λιβανον | λίβανος | λίβανος | λιβανος | libanos | N-ASM | N-ASM | 3030 | False | λίβανος, -ου, ὁ | λίβανος, -ου, ὁ | incense | incense | 2988 | 3004 | 2 | 2 | 2656 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered |
671 | Matthew | 1 | Matt | 2 | 13 | Matt 2:13 | 672 | 672 | παιδίον | παιδίον | παιδίον | παιδιον | παιδίον | παιδίον | παιδιον | paidion | N-ASN | N-ASN | 3813 | False | παιδίον, -ου, τό | παιδίον, -ου, τό | little child, infant | little child, infant | 3642 | 3663 | 52 | 52 | 303 | noun | noun | n | NaN | NaN | neuter | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 6b |
SecondDecl_ONending.head(10)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | ambigious_gn2 | ambigious_gn3 | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | ambigious_case2 | ambigious_case3 | bol_case | tense | bol_tense | voice | ambigious_voice2 | ambigious_voice3 | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
350 | Matthew | 1 | Matt | 1 | 21 | Matt 1:21 | 351 | 351 | υἱὸν | υἱὸν | υἱόν | υιον | υἱός | υἱός | υιος | uios | N-ASM | N-ASM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b |
361 | Matthew | 1 | Matt | 1 | 21 | Matt 1:21 | 362 | 362 | λαὸν | λαὸν | λαόν | λαον | λαός | λαός | λαος | laos | N-ASM | N-ASM | 2992 | False | λαός, -οῦ, ὁ | λαός, -οῦ, ὁ | people, crowd | people, crowd | 2954 | 2969 | 142 | 142 | 115 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 8a |
389 | Matthew | 1 | Matt | 1 | 23 | Matt 1:23 | 390 | 390 | υἱόν, | υἱόν, | υἱόν | υιον | υἱός | υἱός | υιος | uios | N-ASM | N-ASM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b |
429 | Matthew | 1 | Matt | 1 | 25 | Matt 1:25 | 430 | 430 | υἱόν· | υἱόν· | υἱόν | υιον | υἱός | υἱός | υιος | uios | N-ASM | N-ASM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b |
537 | Matthew | 1 | Matt | 2 | 6 | Matt 2:6 | 538 | 538 | λαόν | λαόν | λαόν | λαον | λαός | λαός | λαος | laos | N-ASM | N-ASM | 2992 | False | λαός, -οῦ, ὁ | λαός, -οῦ, ὁ | people, crowd | people, crowd | 2954 | 2969 | 142 | 142 | 115 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 8a |
551 | Matthew | 1 | Matt | 2 | 7 | Matt 2:7 | 552 | 552 | χρόνον | χρόνον | χρόνον | χρονον | χρόνος | χρόνος | χρονος | khronos | N-ASM | N-ASM | 5550 | False | χρόνος, -ου, ὁ | χρόνος, -ου, ὁ | time, particular time, season | time, particular time, season | 5329 | 5361 | 54 | 54 | 294 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3a |
617 | Matthew | 1 | Matt | 2 | 11 | Matt 2:11 | 618 | 618 | παιδίον | παιδίον | παιδίον | παιδιον | παιδίον | παιδίον | παιδιον | paidion | N-ASN | N-ASN | 3813 | False | παιδίον, -ου, τό | παιδίον, -ου, τό | little child, infant | little child, infant | 3642 | 3663 | 52 | 52 | 303 | noun | noun | n | NaN | NaN | neuter | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 6b |
635 | Matthew | 1 | Matt | 2 | 11 | Matt 2:11 | 636 | 636 | χρυσὸν | χρυσὸν | χρυσόν | χρυσον | χρυσός | χρυσός | χρυσος | khrusos | N-ASM | N-ASM | 5557 | False | χρυσός, -οῦ, ὁ | χρυσός, -οῦ, ὁ | anything made of gold | anything made of gold | 5335 | 5367 | 9 | 9 | 1131 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered |
637 | Matthew | 1 | Matt | 2 | 11 | Matt 2:11 | 638 | 638 | λίβανον | λίβανον | λίβανον | λιβανον | λίβανος | λίβανος | λιβανος | libanos | N-ASM | N-ASM | 3030 | False | λίβανος, -ου, ὁ | λίβανος, -ου, ὁ | incense | incense | 2988 | 3004 | 2 | 2 | 2656 | noun | noun | m | NaN | NaN | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered |
671 | Matthew | 1 | Matt | 2 | 13 | Matt 2:13 | 672 | 672 | παιδίον | παιδίον | παιδίον | παιδιον | παιδίον | παιδίον | παιδιον | paidion | N-ASN | N-ASN | 3813 | False | παιδίον, -ου, τό | παιδίον, -ου, τό | little child, infant | little child, infant | 3642 | 3663 | 52 | 52 | 303 | noun | noun | n | NaN | NaN | neuter | sg | singular | NaN | NaN | NaN | NaN | acc | NaN | NaN | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 6b |
words['test']=words[
(words['declension'].str.match('^2nd.*') == True)
& (words['sp'] == 'noun')
& (words['nu'] == 'sg')
& (words['case'] == 'acc')
& (words['normalized_noaccent'].str.match('^.*ον$') == True)
]
--------------------------------------------------------------------------- KeyError Traceback (most recent call last) ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) 3360 try: -> 3361 return self._engine.get_loc(casted_key) 3362 except KeyError as err: ~/opt/anaconda3/lib/python3.8/site-packages/pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc() ~/opt/anaconda3/lib/python3.8/site-packages/pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc() pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item() pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item() KeyError: 'test' The above exception was the direct cause of the following exception: KeyError Traceback (most recent call last) ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/frame.py in _set_item_mgr(self, key, value) 3750 try: -> 3751 loc = self._info_axis.get_loc(key) 3752 except KeyError: ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) 3362 except KeyError as err: -> 3363 raise KeyError(key) from err 3364 KeyError: 'test' During handling of the above exception, another exception occurred: ValueError Traceback (most recent call last) /var/folders/bc/dyz2szqd43992c1c1z3c10580000gp/T/ipykernel_97548/3442600513.py in <module> ----> 1 words['test']=words[ 2 3 (words['declension'].str.match('^2nd.*') == True) 4 & (words['sp'] == 'noun') 5 & (words['nu'] == 'sg') ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/frame.py in __setitem__(self, key, value) 3600 self._setitem_array(key, value) 3601 elif isinstance(value, DataFrame): -> 3602 self._set_item_frame_value(key, value) 3603 elif ( 3604 is_list_like(value) ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/frame.py in _set_item_frame_value(self, key, value) 3740 # now align rows 3741 arraylike = _reindex_for_setitem(value, self.index) -> 3742 self._set_item_mgr(key, arraylike) 3743 3744 def _iset_item_mgr(self, loc: int | slice | np.ndarray, value) -> None: ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/frame.py in _set_item_mgr(self, key, value) 3752 except KeyError: 3753 # This item wasn't present, just insert at end -> 3754 self._mgr.insert(len(self._info_axis), key, value) 3755 else: 3756 self._iset_item_mgr(loc, value) ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py in insert(self, loc, item, value) 1160 value = ensure_block_shape(value, ndim=self.ndim) 1161 -> 1162 block = new_block(values=value, ndim=self.ndim, placement=slice(loc, loc + 1)) 1163 1164 for blkno, count in _fast_count_smallints(self.blknos[loc:]): ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/internals/blocks.py in new_block(values, placement, ndim, klass) 1935 1936 values, _ = extract_pandas_array(values, None, ndim) -> 1937 check_ndim(values, placement, ndim) 1938 1939 if klass is None: ~/opt/anaconda3/lib/python3.8/site-packages/pandas/core/internals/blocks.py in check_ndim(values, placement, ndim) 1977 ) 1978 if len(placement) != len(values): -> 1979 raise ValueError( 1980 f"Wrong number of items passed {len(values)}, " 1981 f"placement implies {len(placement)}" ValueError: Wrong number of items passed 62, placement implies 1
Rule#1:
# Rule_1stDecl_1a
# Feminine singular nominative (α-ending) = Feminine singular vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'nom')
& (NF['gn'] == 'f')
& (NF['normalized_noaccent'].str.match('^.*α$') == True) ,
'Rule_1stDecl_1a_altI'] = 'FeminineSingularVocative'
NF.sort_values(by='Rule_1stDecl_1a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
913 | Matthew | 1 | Matt | 3 | 2 | Matt 3:2 | 914 | 914 | βασιλεία | βασιλεία | βασιλεία | βασιλεια | βασιλεία | βασιλεία | βασιλεια | basileia | N-NSF | N-NSF | 932 | False | βασιλεία, -ας, ἡ | βασιλεία, -ας, ἡ | kingship, sovereignty, authority, rule, kingdom | kingship, sovereignty, authority, rule, kingdom | 922 | 926 | 162 | 162 | 96 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | 3a | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularVocative |
99697 | II_Corinthians | 8 | 2Cor | 8 | 23 | 2Cor 8:23 | 99698 | 99698 | δόξα | δόξα | δόξα | δοξα | δόξα | δόξα | δοξα | doxa | N-NSF | N-NSF | 1391 | False | δόξα, -ης, ἡ | δόξα, -ης, ἡ | honor, renown, glory splendor | honor, renown, glory splendor | 1380 | 1384 | 166 | 166 | 93 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_breve | first_alpha_breve | 3a | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularVocative |
# Rule_1stDecl_1b
# Feminine singular nominative (α-ending) = Feminine singular vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'voc')
& ((NF['gn'] == 'f'))
& (NF['normalized_noaccent'].str.match('^.*α$') == True) ,
'Rule_1stDecl_1b_altI'] = 'FeminineSingularNominative'
NF.sort_values(by='Rule_1stDecl_1b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10035 | Matthew | 1 | Matt | 17 | 17 | Matt 17:17 | 10036 | 10036 | γενεὰ | γενεὰ | γενεά | γενεα | γενεά | γενεά | γενεα | genea | N-VSF | N-VSF | 1074 | False | γενεά, -ᾶς, ἡ | γενεά, -ᾶς, ἡ | generation | generation | 1063 | 1066 | 43 | 43 | 348 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularNominative |
23999 | Mark | 2 | Mark | 9 | 19 | Mark 9:19 | 24000 | 24000 | γενεὰ | γενεὰ | γενεά | γενεα | γενεά | γενεά | γενεα | genea | N-VSF | N-VSF | 1074 | False | γενεά, -ᾶς, ἡ | γενεά, -ᾶς, ἡ | generation | generation | 1063 | 1066 | 43 | 43 | 348 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularNominative |
# Rule_1stDecl_2a
# Feminine singular nominative (η-ending) = Feminine singular vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'nom')
& (NF['gn'] == 'f')
& (NF['normalized_noaccent'].str.match('^.*η$') == True) ,
'Rule_1stDecl_2a_altI'] = 'FeminineSingularVocative'
NF.sort_values(by='Rule_1stDecl_2a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
780 | Matthew | 1 | Matt | 2 | 18 | Matt 2:18 | 781 | 781 | Φωνὴ | Φωνὴ | Φωνή | Φωνη | φωνή | φωνή | φωνη | phone | N-NSF | N-NSF | 5456 | False | φωνή, -ῆς, ἡ | φωνή, -ῆς, ἡ | sound, noise, voice | sound, noise, voice | 5238 | 5270 | 139 | 139 | 121 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | 3a | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularVocative |
106077 | Ephesians | 10 | Eph | 6 | 23 | Eph 6:23 | 106078 | 106078 | Εἰρήνη | Εἰρήνη | Εἰρήνη | Ειρηνη | εἰρήνη | εἰρήνη | ειρηνη | eirene | N-NSF | N-NSF | 1515 | False | εἰρήνη, -ης, ἡ | εἰρήνη, -ης, ἡ | peace, peace of mind | peace, peace of mind | 1496 | 1502 | 92 | 92 | 186 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | 7b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularVocative |
# Rule_1stDecl_2b
# Feminine singular nominative (η-ending) = Feminine singular vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['gn']== 'f')
& (NF['case'] == 'voc')
& (NF['normalized_noaccent'].str.match('^.*η$') == True) ,
'Rule_1stDecl_2b_altI'] = 'FeminineSingularNominative'
NF.sort_values(by='Rule_1stDecl_2b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
520 | Matthew | 1 | Matt | 2 | 6 | Matt 2:6 | 521 | 521 | γῆ | γῆ | γῆ | γη | γῆ | γῆ | γη | ge | N-VSF | N-VSF | 1093 | False | γῆ, γῆς, ἡ | γῆ, γῆς, ἡ | earth, soil, land | earth, soil, land | 1081 | 1084 | 250 | 250 | 61 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | 7b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularNominative |
39861 | Luke | 3 | Luke | 12 | 19 | Luke 12:19 | 39862 | 39862 | Ψυχή, | Ψυχή, | Ψυχή | Ψυχη | ψυχή | ψυχή | ψυχη | psukhe | N-VSF | N-VSF | 5590 | False | ψυχή, -ῆς, ἡ | ψυχή, -ῆς, ἡ | soul, life, self | soul, life, self | 5369 | 5401 | 102 | 102 | 157 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | 8b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularNominative |
# Rule_1stDecl_3a
# Feminine Genitive Singular ending ας = Feminine Accusative Plural = Masculine Nominative Singular = Masculine Accusative Plural
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'gen')
& ((NF['gn'] == 'f'))
& (NF['normalized_noaccent'].str.match('^.*ας$') == True) ,
'Rule_1stDecl_3a_altI'] = 'FemininePluralAccusative-MasculineSingularNominative-MasculinePluralAccusative'
NF.sort_values(by='Rule_1stDecl_3a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
170 | Matthew | 1 | Matt | 1 | 11 | Matt 1:11 | 171 | 171 | μετοικεσίας | μετοικεσίας | μετοικεσίας | μετοικεσιας | μετοικεσία | μετοικεσία | μετοικεσια | metoikesia | N-GSF | N-GSF | 3350 | False | μετοικεσία, -ας, ἡ | μετοικεσία, -ας, ἡ | change of abode, migration, deportation | change of abode, migration, deportation | 3199 | 3218 | 4 | 4 | 1864 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FemininePluralAccusative-MasculineSingularNomi... |
104528 | Ephesians | 10 | Eph | 3 | 6 | Eph 3:6 | 104529 | 104529 | ἐπαγγελίας | ἐπαγγελίας | ἐπαγγελίας | επαγγελιας | ἐπαγγελία | ἐπαγγελία | επαγγελια | epaggelia | N-GSF | N-GSF | 1860 | False | ἐπαγγελία, -ας, ἡ | ἐπαγγελία, -ας, ἡ | promise | promise | 1840 | 1848 | 52 | 52 | 303 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | 6b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FemininePluralAccusative-MasculineSingularNomi... |
# Rule_1stDecl_3b
# Feminine Genitive Singular ending ας = Feminine Accusative Plural = Masculine Nominative Singular = Masculine Accusative Plural
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'pl')
& (NF['case'] == 'acc')
& ((NF['gn'] == 'f'))
& (NF['normalized_noaccent'].str.match('^.*ας$') == True) ,
'Rule_1stDecl_3b_altI'] = 'FeminineSingularGenitive-MasculineSingularNominative-MasculinePluralAccusative'
NF.sort_values(by='Rule_1stDecl_3b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
992 | Matthew | 1 | Matt | 3 | 6 | Matt 3:6 | 993 | 993 | ἁμαρτίας | ἁμαρτίας | ἁμαρτίας | αμαρτιας | ἁμαρτία | ἁμαρτία | αμαρτια | amartia | N-APF | N-APF | 266 | False | ἁμαρτία, -ας, ἡ | ἁμαρτία, -ας, ἡ | sin | sin | 262 | 262 | 173 | 173 | 91 | noun | noun | f | feminine | pl | plural | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | 3b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularGenitive-MasculineSingularNomi... |
113824 | II_Timothy | 16 | 2Tim | 2 | 23 | 2Tim 2:23 | 113825 | 113825 | μάχας· | μάχας· | μάχας | μαχας | μάχη | μάχη | μαχη | makhe | N-APF | N-APF | 3163 | False | μάχη, -ης, ἡ | μάχη, -ης, ἡ | strife, contention, quarrel | strife, contention, quarrel | 3118 | 3136 | 4 | 4 | 1864 | noun | noun | f | feminine | pl | plural | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularGenitive-MasculineSingularNomi... |
# Rule_1stDecl_3c
# Feminine Genitive Singular ending ας = Feminine Accusative Plural = Masculine Nominative Singular = Masculine Accusative Plural
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'nom')
& ((NF['gn'] == 'm'))
& (NF['normalized_noaccent'].str.match('^.*ας$') == True) ,
'Rule_1stDecl_3c_altI'] = 'FeminineSingularGenitive-FeminineSingularAccusative-MasculinePluralAccusative'
NF.sort_values(by='Rule_1stDecl_3c_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
26 | Matthew | 1 | Matt | 1 | 3 | Matt 1:3 | 27 | 27 | Ἰούδας | Ἰούδας | Ἰούδας | Ιουδας | Ἰούδας | Ἰούδας | Ιουδας | Ioudas | N-NSM | N-NSM | 2455 | False | Ἰούδας, -α, ὁ | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Judah, Judas, Jude | 2415 | 2428 | 44 | 37 | 395 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron_doric | first_alpha_macron_doric | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularGenitive-FeminineSingularAccus... |
79503 | Acts | 5 | Acts | 23 | 2 | Acts 23:2 | 79504 | 79504 | Ἀνανίας | Ἀνανίας | Ἀνανίας | Ανανιας | Ἁνανίας | Ἁνανίας | Ανανιας | Ananias | N-NSM | N-NSM | 367 | False | Ἁνανίας, -ου, ὁ | Ἁνανίας, -ου, ὁ | Ananias | Ananias | 365 | 365 | 11 | 11 | 968 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularGenitive-FeminineSingularAccus... |
# Rule_1stDecl_3d
# Feminine Genitive Singular ending ας = Feminine Accusative Plural = Masculine Nominative Singular = Masculine Accusative Plural
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'pl')
& (NF['case'] == 'acc')
& ((NF['gn'] == 'm'))
& (NF['normalized_noaccent'].str.match('^.*ας$') == True) ,
'Rule_1stDecl_3d_altI'] = 'FeminineSingularGenitive-FeminineSingularAccusative-MasculineSingularNominative'
NF.sort_values(by='Rule_1stDecl_3d_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1776 | Matthew | 1 | Matt | 5 | 12 | Matt 5:12 | 1777 | 1777 | προφήτας | προφήτας | προφήτας | προφητας | προφήτης | προφήτης | προφητης | prophetes | N-APM | N-APM | 4396 | False | προφήτης, -ου, ὁ | προφήτης, -ου, ὁ | prophet, poet | prophet, poet | 4213 | 4238 | 144 | 144 | 111 | noun | noun | m | masculine | pl | plural | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | 3a | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularGenitive-FeminineSingularAccus... |
77447 | Acts | 5 | Acts | 20 | 1 | Acts 20:1 | 77448 | 77448 | μαθητὰς | μαθητὰς | μαθητάς | μαθητας | μαθητής | μαθητής | μαθητης | mathetes | N-APM | N-APM | 3101 | False | μαθητής, -οῦ, ὁ | μαθητής, -οῦ, ὁ | learner, disciple, pupil | learner, disciple, pupil | 3057 | 3075 | 261 | 261 | 59 | noun | noun | m | masculine | pl | plural | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | 7b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularGenitive-FeminineSingularAccus... |
# Rule_1stDecl_4a
# Feminine Genitive Singular ending ης = Masculine Nominative Singular
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'gen')
& ((NF['gn'] == 'f'))
& (NF['normalized_noaccent'].str.match('^.*ης$') == True) ,
'Rule_1stDecl_4a_altI'] = 'MasculineSingularNominative'
NF.sort_values(by='Rule_1stDecl_4a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
716 | Matthew | 1 | Matt | 2 | 15 | Matt 2:15 | 717 | 717 | τελευτῆς | τελευτῆς | τελευτῆς | τελευτης | τελευτή | τελευτή | τελευτη | teleute | N-GSF | N-GSF | 5054 | False | τελευτή, -ῆς, ἡ | τελευτή, -ῆς, ἡ | end of life, death | end of life, death | 4852 | 4883 | 1 | 1 | 3490 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | MasculineSingularNominative |
114587 | Titus | 17 | Titus | 1 | 10 | Titus 1:10 | 114588 | 114588 | περιτομῆς, | περιτομῆς, | περιτομῆς | περιτομης | περιτομή | περιτομή | περιτομη | peritome | N-GSF | N-GSF | 4061 | False | περιτομή, -ῆς, ἡ | περιτομή, -ῆς, ἡ | circumcision | circumcision | 3887 | 3908 | 36 | 36 | 404 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | MasculineSingularNominative |
# Rule_1stDecl_4b
# Feminine Genitive Singular ending ης = Masculine Nominative Singular
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'nom')
& ((NF['gn'] == 'm'))
& (NF['normalized_noaccent'].str.match('^.*ης$') == True) ,
'Rule_1stDecl_4b_altI'] = 'FeminineSingularGenitive'
NF.sort_values(by='Rule_1stDecl_4b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
480 | Matthew | 1 | Matt | 2 | 3 | Matt 2:3 | 481 | 481 | Ἡρῴδης | Ἠρῴδης | Ἡρῴδης | Ηρωδης | Ἡρῴδης | Ἡρῴδης | Ηρωδης | Erodes | N-NSM | N-NSM | 2264 | False | Ἡρῴδης, -ου, ὁ | Ἡρῴδης, -ου, ὁ | Herod | Herod | 2232 | 2242 | 43 | 43 | 348 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularGenitive |
66994 | Acts | 5 | Acts | 4 | 27 | Acts 4:27 | 66995 | 66995 | Ἡρῴδης | Ἠρῴδης | Ἡρῴδης | Ηρωδης | Ἡρῴδης | Ἡρῴδης | Ηρωδης | Erodes | N-NSM | N-NSM | 2264 | False | Ἡρῴδης, -ου, ὁ | Ἡρῴδης, -ου, ὁ | Herod | Herod | 2232 | 2242 | 43 | 43 | 348 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularGenitive |
# Rule_1stDecl_5a
# Feminine Singular Dative ending α = Masculine Singular Dative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'dat')
& ((NF['gn'] == 'f'))
& (NF['normalized_noaccent'].str.match('^.*α$') == True) ,
'Rule_1stDecl_5a_altI'] = 'MasculineSingularDative'
NF.sort_values(by='Rule_1stDecl_5a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1456 | Matthew | 1 | Matt | 4 | 16 | Matt 4:16 | 1457 | 1457 | σκοτίᾳ | σκοτίᾳ | σκοτίᾳ | σκοτια | σκοτία | σκοτία | σκοτια | skotia | N-DSF | N-DSF | 4653 | False | σκοτία, -ας, ἡ | σκοτία, -ας, ἡ | darkness | darkness | 4463 | 4490 | 17 | 17 | 697 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | MasculineSingularDative |
99076 | II_Corinthians | 8 | 2Cor | 7 | 6 | 2Cor 7:6 | 99077 | 99077 | παρουσίᾳ | παρουσίᾳ | παρουσίᾳ | παρουσια | παρουσία | παρουσία | παρουσια | parousia | N-DSF | N-DSF | 3952 | False | παρουσία, -ας, ἡ | παρουσία, -ας, ἡ | presence, coming, arrival, advent | presence, coming, arrival, advent | 3779 | 3800 | 24 | 24 | 545 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | MasculineSingularDative |
# Rule_1stDecl_5b
# Feminine Singular Dative ending α = Masculine Singular Dative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'dat')
& ((NF['gn'] == 'm'))
& (NF['normalized_noaccent'].str.match('^.*α$') == True) ,
'Rule_1stDecl_5b_altI'] = 'FeminineSingularDative'
NF.sort_values(by='Rule_1stDecl_5b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2935 | Matthew | 1 | Matt | 6 | 24 | Matt 6:24 | 2936 | 2936 | μαμωνᾷ. | μαμωνᾷ. | μαμωνᾷ | μαμωνα | μαμωνᾶς | μαμωνᾶς | μαμωνας | mamonas | N-DSM | N-DSM | 3126 | False | μαμωνᾶς, -ᾶ, ὁ | μαμωνᾶς, -ᾶ, ὁ | riches, money, possessions | riches, money, possessions | 3084 | 3102 | 4 | 4 | 1864 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularDative |
95886 | I_Corinthians | 7 | 1Cor | 15 | 5 | 1Cor 15:5 | 95887 | 95887 | Κηφᾷ, | Κηφᾷ, | Κηφᾷ | Κηφα | Κηφᾶς | Κηφᾶς | Κηφας | Kephas | N-DSM | N-DSM | 2786 | False | Κηφᾶς, -ᾶ, ὁ | Κηφᾶς, -ᾶ, ὁ | Cephas | Cephas | 2744 | 2758 | 9 | 9 | 1131 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularDative |
# Rule_1stDecl_6a
# Feminine Singular Dative ending η = Masculine Singular Dative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'dat')
& ((NF['gn'] == 'f'))
& (NF['normalized_noaccent'].str.match('^.*η$') == True) ,
'Rule_1stDecl_6a_altI'] = 'MasculineSingularDative'
NF.sort_values(by='Rule_1stDecl_6a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
471 | Matthew | 1 | Matt | 2 | 2 | Matt 2:2 | 472 | 472 | ἀνατολῇ | ἀνατολῇ | ἀνατολῇ | ανατολη | ἀνατολή | ἀνατολή | ανατολη | anatole | N-DSF | N-DSF | 395 | False | ἀνατολή, -ῆς, ἡ | ἀνατολή, -ῆς, ἡ | rising of sun, East | rising of sun, East | 393 | 393 | 11 | 11 | 968 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | MasculineSingularDative |
106649 | Philippians | 11 | Phil | 2 | 3 | Phil 2:3 | 106650 | 106650 | ταπεινοφροσύνῃ | ταπεινοφροσύνῃ | ταπεινοφροσύνῃ | ταπεινοφροσυνη | ταπεινοφροσύνη | ταπεινοφροσύνη | ταπεινοφροσυνη | tapeinophrosune | N-DSF | N-DSF | 5012 | False | ταπεινοφροσύνη, -ης, ἡ | ταπεινοφροσύνη, -ης, ἡ | humility | humility | 4816 | 4844 | 7 | 7 | 1347 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | MasculineSingularDative |
# Rule_1stDecl_6b
# Feminine Singular Dative ending η = Masculine Singular Dative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'dat')
& ((NF['gn'] == 'm'))
& (NF['normalized_noaccent'].str.match('^.*η$') == True) ,
'Rule_1stDecl_6b_altI'] = 'FeminineSingularDative'
NF.sort_values(by='Rule_1stDecl_6b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
986 | Matthew | 1 | Matt | 3 | 6 | Matt 3:6 | 987 | 987 | Ἰορδάνῃ | Ἰορδάνῃ | Ἰορδάνῃ | Ιορδανη | Ἰορδάνης | Ἰορδάνης | Ιορδανης | Iordanes | N-DSM | N-DSM | 2446 | False | Ἰορδάνης, -ου, ὁ | Ἰορδάνης, -ου, ὁ | Jordan | Jordan | 2407 | 2419 | 15 | 15 | 764 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularDative |
127974 | Revelation | 27 | Rev | 1 | 1 | Rev 1:1 | 127975 | 127975 | Ἰωάνῃ, | Ἰωάνῃ, | Ἰωάνῃ | Ιωανη | Ἰωάννης | Ἰωάννης | Ιωαννης | Ioannes | N-DSM | N-DSM | 2491 | False | Ἰωάννης, -ου, ὁ | Ἰωάννης, -ου, ὁ | John | John | 2449 | 2462 | 134 | 134 | 123 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularDative |
# Rule_1stDecl_7a
# Accusative Singular ending αν same for Masculine, Feminine, Neuter
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'acc')
& ((NF['gn'] == 'f'))
& (NF['normalized_noaccent'].str.match('^.*αν$') == True) ,
'Rule_1stDecl_7a_altI'] = 'Masculine-Neuter'
NF.sort_values(by='Rule_1stDecl_7a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
175 | Matthew | 1 | Matt | 1 | 12 | Matt 1:12 | 176 | 176 | μετοικεσίαν | μετοικεσίαν | μετοικεσίαν | μετοικεσιαν | μετοικεσία | μετοικεσία | μετοικεσια | metoikesia | N-ASF | N-ASF | 3350 | False | μετοικεσία, -ας, ἡ | μετοικεσία, -ας, ἡ | change of abode, migration, deportation | change of abode, migration, deportation | 3199 | 3218 | 4 | 4 | 1864 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | Masculine-Neuter |
99871 | II_Corinthians | 8 | 2Cor | 9 | 8 | 2Cor 9:8 | 99872 | 99872 | αὐτάρκειαν | αὐτάρκειαν | αὐτάρκειαν | αυταρκειαν | αὐτάρκεια | αὐτάρκεια | αυταρκεια | autarkeia | N-ASF | N-ASF | 841 | False | αὐτάρκεια, -ας, ἡ | αὐτάρκεια, -ας, ἡ | self-sufficiency, independence | self-sufficiency, independence | 830 | 834 | 2 | 2 | 2656 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | Masculine-Neuter |
# Rule_1stDecl_7b
# Accusative Singular ending αν same for Masculine, Feminine, Neuter
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'acc')
& ((NF['gn'] == 'm'))
& (NF['normalized_noaccent'].str.match('^.*αν$') == True) ,
'Rule_1stDecl_7b_altI'] = 'Feminine-Neuter'
NF.sort_values(by='Rule_1stDecl_7b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
21 | Matthew | 1 | Matt | 1 | 2 | Matt 1:2 | 22 | 22 | Ἰούδαν | Ἰούδαν | Ἰούδαν | Ιουδαν | Ἰούδας | Ἰούδας | Ιουδας | Ioudas | N-ASM | N-ASM | 2455 | False | Ἰούδας, -α, ὁ | Ἰούδας, -α, ὁ | Judah, Judas, Jude | Judah, Judas, Jude | 2415 | 2428 | 44 | 37 | 395 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron_doric | first_alpha_macron_doric | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | Feminine-Neuter |
69834 | Acts | 5 | Acts | 8 | 28 | Acts 8:28 | 69835 | 69835 | Ἡσαΐαν. | Ἠσαΐαν. | Ἡσαΐαν | Ησαιαν | Ἠσαΐας | Ἠσαΐας | Ησαιας | Esaias | N-ASM | N-ASM | 2268 | False | Ἠσαΐας, -ου, ὁ | Ἠσαΐας, -ου, ὁ | Isaiah | Isaiah | 2236 | 2246 | 22 | 22 | 582 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | Feminine-Neuter |
# Rule_1stDecl_7c
# Accusative Singular ending αν same for Masculine, Feminine, Neuter
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'acc')
& ((NF['gn'] == 'n'))
& (NF['normalized_noaccent'].str.match('^.*αν$') == True) ,
'Rule_1stDecl_7c_altI'] = 'Masculine-Feminine'
NF.sort_values(by='Rule_1stDecl_7c_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 1 | 1 | Βίβλος | Βίβλος | Βίβλος | Βιβλος | βίβλος | βίβλος | βιβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | 10 | 1052 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 2 | 2 | γενέσεως | γενέσεως | γενέσεως | γενεσεως | γένεσις | γένεσις | γενεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | 5 | 1638 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
# Rule_1stDecl_8a
# Accusative Singular ending ην same for Masculine, Feminine, Neuter
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'acc')
& ((NF['gn'] == 'f'))
& (NF['normalized_noaccent'].str.match('^.*ην$') == True) ,
'Rule_1stDecl_8a_altI'] = 'Masculine-Neuter'
NF.sort_values(by='Rule_1stDecl_8a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | Rule_1stDecl_8a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
826 | Matthew | 1 | Matt | 2 | 20 | Matt 2:20 | 827 | 827 | γῆν | γῆν | γῆν | γην | γῆ | γῆ | γη | ge | N-ASF | N-ASF | 1093 | False | γῆ, γῆς, ἡ | γῆ, γῆς, ἡ | earth, soil, land | earth, soil, land | 1081 | 1084 | 250 | 250 | 61 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | 7b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | Masculine-Neuter |
100505 | II_Corinthians | 8 | 2Cor | 11 | 12 | 2Cor 11:12 | 100506 | 100506 | ἀφορμήν, | ἀφορμήν, | ἀφορμήν | αφορμην | ἀφορμή | ἀφορμή | αφορμη | aphorme | N-ASF | N-ASF | 874 | False | ἀφορμή, -ῆς, ἡ | ἀφορμή, -ῆς, ἡ | occasion, opportunity | occasion, opportunity | 864 | 868 | 7 | 7 | 1347 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | Masculine-Neuter |
# Rule_1stDecl_8b
# Accusative Singular ending ην same for Masculine, Feminine, Neuter
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'acc')
& ((NF['gn'] == 'm'))
& (NF['normalized_noaccent'].str.match('^.*ην$') == True) ,
'Rule_1stDecl_8b_altI'] = 'Feminine-Neuter'
NF.sort_values(by='Rule_1stDecl_8b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | Rule_1stDecl_8a_altI | Rule_1stDecl_8b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
647 | Matthew | 1 | Matt | 2 | 12 | Matt 2:12 | 648 | 648 | Ἡρῴδην, | Ἠρῴδην, | Ἡρῴδην | Ηρωδην | Ἡρῴδης | Ἡρῴδης | Ηρωδης | Erodes | N-ASM | N-ASM | 2264 | False | Ἡρῴδης, -ου, ὁ | Ἡρῴδης, -ου, ὁ | Herod | Herod | 2232 | 2242 | 43 | 43 | 348 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | Feminine-Neuter |
72787 | Acts | 5 | Acts | 13 | 5 | Acts 13:5 | 72788 | 72788 | ὑπηρέτην. | ὑπηρέτην. | ὑπηρέτην | υπηρετην | ὑπηρέτης | ὑπηρέτης | υπηρετης | uperetes | N-ASM | N-ASM | 5257 | False | ὑπηρέτης, -ου, ὁ | ὑπηρέτης, -ου, ὁ | servant, attendant | servant, attendant | 5043 | 5074 | 20 | 20 | 620 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | Feminine-Neuter |
# Rule_1stDecl_8c
# Accusative Singular ending ην same for Masculine, Feminine, Neuter
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'acc')
& ((NF['gn'] == 'n'))
& (NF['normalized_noaccent'].str.match('^.*ην$') == True) ,
'Rule_1stDecl_8c_altI'] = 'Masculine-Feminine'
NF.sort_values(by='Rule_1stDecl_8c_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | Rule_1stDecl_8a_altI | Rule_1stDecl_8b_altI | Rule_1stDecl_8c_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 1 | 1 | Βίβλος | Βίβλος | Βίβλος | Βιβλος | βίβλος | βίβλος | βιβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | 10 | 1052 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 2 | 2 | γενέσεως | γενέσεως | γενέσεως | γενεσεως | γένεσις | γένεσις | γενεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | 5 | 1638 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
# Rule_1stDecl_9abcd
# Feminine Plural nominative (αι-ending) same for Masculine, Neuter AND = Plural vocative ending same for M, F, N
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'pl')
& ((NF['case'] == 'nom')|(NF['case'] == 'voc'))
& ((NF['gn'] == 'f') | (NF['gn'] == 'm') | (NF['gn'] == 'n'))
& (NF['normalized_noaccent'].str.match('^.*αι$') == True) ,
'Rule_1stDecl_9abcd_altI'] = 'FemininePluralNominative-FemininePlulrealVocative-MasculinePluralNominiative-MasculinePluralVocative-NeuterSingularNominative-NeuterSingularVocative-'
NF.sort_values(by='Rule_1stDecl_9abcd_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | Rule_1stDecl_8a_altI | Rule_1stDecl_8b_altI | Rule_1stDecl_8c_altI | Rule_1stDecl_9abcd_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
249 | Matthew | 1 | Matt | 1 | 17 | Matt 1:17 | 250 | 250 | γενεαὶ | γενεαὶ | γενεαί | γενεαι | γενεά | γενεά | γενεα | genea | N-NPF | N-NPF | 1074 | False | γενεά, -ᾶς, ἡ | γενεά, -ᾶς, ἡ | generation | generation | 1063 | 1066 | 43 | 43 | 348 | noun | noun | f | feminine | pl | plural | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FemininePluralNominative-FemininePlulrealVocat... |
78636 | Acts | 5 | Acts | 21 | 28 | Acts 21:28 | 78637 | 78637 | Ἰσραηλεῖται, | Ἰσραηλεῖται, | Ἰσραηλεῖται | Ισραηλειται | Ἰσραηλίτης | Ἰσραηλίτης | Ισραηλιτης | Israelites | N-VPM | N-VPM | 2475 | False | Ἰσραηλίτης, -ου, ὁ | Ἰσραηλίτης, -ου, ὁ | Israelite | Israelite | 2432 | 2445 | 9 | 9 | 1131 | noun | noun | m | masculine | pl | plural | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FemininePluralNominative-FemininePlulrealVocat... |
# Rule_1stDecl_10abc
# Plural genitive (ων-ending) same for Masculine, Feminine, Neuter
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'pl')
& ((NF['case'] == 'gen'))
& ((NF['gn'] == 'f') | (NF['gn'] == 'm') | (NF['gn'] == 'n'))
& (NF['normalized_noaccent'].str.match('^.*ων$') == True) ,
'Rule_1stDecl_10abc_altI'] = 'NeuterPluralGenitive-MasculinePluralGenitive-FemininePluralGenitive'
NF.sort_values(by='Rule_1stDecl_10abc_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | Rule_1stDecl_8a_altI | Rule_1stDecl_8b_altI | Rule_1stDecl_8c_altI | Rule_1stDecl_9abcd_altI | Rule_1stDecl_10abc_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
365 | Matthew | 1 | Matt | 1 | 21 | Matt 1:21 | 366 | 366 | ἁμαρτιῶν | ἁμαρτιῶν | ἁμαρτιῶν | αμαρτιων | ἁμαρτία | ἁμαρτία | αμαρτια | amartia | N-GPF | N-GPF | 266 | False | ἁμαρτία, -ας, ἡ | ἁμαρτία, -ας, ἡ | sin | sin | 262 | 262 | 173 | 173 | 91 | noun | noun | f | feminine | pl | plural | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | 3b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NeuterPluralGenitive-MasculinePluralGenitive-F... |
89259 | Romans | 6 | Rom | 15 | 4 | Rom 15:4 | 89260 | 89260 | γραφῶν | γραφῶν | γραφῶν | γραφων | γραφή | γραφή | γραφη | graphe | N-GPF | N-GPF | 1124 | False | γραφή, -ῆς, ἡ | γραφή, -ῆς, ἡ | writing, passage of scripture, scriptures | writing, passage of scripture, scriptures | 1112 | 1115 | 50 | 50 | 308 | noun | noun | f | feminine | pl | plural | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | 6a | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NeuterPluralGenitive-MasculinePluralGenitive-F... |
# Rule_1stDecl_11abc
# Plural dative (αις-ending) same for Masculine, Feminine, Neuter
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'pl')
& ((NF['case'] == 'dat'))
& ((NF['gn'] == 'f') | (NF['gn'] == 'm') | (NF['gn'] == 'n'))
& (NF['normalized_noaccent'].str.match('^.*αις$') == True) ,
'Rule_1stDecl_11abc_altI'] = 'NeuterPluralDative-MasculinePluralDative-FemininePluralDative'
NF.sort_values(by='Rule_1stDecl_11abc_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | Rule_1stDecl_8a_altI | Rule_1stDecl_8b_altI | Rule_1stDecl_8c_altI | Rule_1stDecl_9abcd_altI | Rule_1stDecl_10abc_altI | Rule_1stDecl_11abc_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
445 | Matthew | 1 | Matt | 2 | 1 | Matt 2:1 | 446 | 446 | ἡμέραις | ἡμέραις | ἡμέραις | ημεραις | ἡμέρα | ἡμέρα | ημερα | emera | N-DPF | N-DPF | 2250 | False | ἡμέρα, -ας, ἡ | ἡμέρα, -ας, ἡ | day | day | 2222 | 2232 | 389 | 389 | 45 | noun | noun | f | feminine | pl | plural | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | 3b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NeuterPluralDative-MasculinePluralDative-Femin... |
100728 | II_Corinthians | 8 | 2Cor | 11 | 27 | 2Cor 11:27 | 100729 | 100729 | νηστείαις | νηστείαις | νηστείαις | νηστειαις | νηστεία | νηστεία | νηστεια | nesteia | N-DPF | N-DPF | 3521 | False | νηστεία, -ας, ἡ | νηστεία, -ας, ἡ | fasting, day of atonement | fasting, day of atonement | 3353 | 3373 | 5 | 5 | 1638 | noun | noun | f | feminine | pl | plural | NaN | NaN | NaN | NaN | dat | dative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NeuterPluralDative-MasculinePluralDative-Femin... |
# Rule_1stDecl_12abc
# Feminine singular Plural accusative (ας-ending) same for Masculine, Feminine, Neuter
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^first.*', regex=True) == True)
& (NF['nu'] == 'pl')
& ((NF['case'] == 'acc'))
& ((NF['gn'] == 'f') | (NF['gn'] == 'm') | (NF['gn'] == 'n'))
& (NF['normalized_noaccent'].str.match('^.*ας$') == True) ,
'Rule_1stDecl_12abc_altI'] = 'NeuterPluralAccusative-MasculinePluralAccusative-FemininePluralAccusative'
NF.sort_values(by='Rule_1stDecl_12abc_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | Rule_1stDecl_8a_altI | Rule_1stDecl_8b_altI | Rule_1stDecl_8c_altI | Rule_1stDecl_9abcd_altI | Rule_1stDecl_10abc_altI | Rule_1stDecl_11abc_altI | Rule_1stDecl_12abc_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
992 | Matthew | 1 | Matt | 3 | 6 | Matt 3:6 | 993 | 993 | ἁμαρτίας | ἁμαρτίας | ἁμαρτίας | αμαρτιας | ἁμαρτία | ἁμαρτία | αμαρτια | amartia | N-APF | N-APF | 266 | False | ἁμαρτία, -ας, ἡ | ἁμαρτία, -ας, ἡ | sin | sin | 262 | 262 | 173 | 173 | 91 | noun | noun | f | feminine | pl | plural | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_alpha_macron | first_alpha_macron | 3b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularGenitive-MasculineSingularNomi... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NeuterPluralAccusative-MasculinePluralAccusati... |
109166 | Colossians | 12 | Col | 4 | 10 | Col 4:10 | 109167 | 109167 | ἐντολάς, | ἐντολάς, | ἐντολάς | εντολας | ἐντολή | ἐντολή | εντολη | entole | N-APF | N-APF | 1785 | False | ἐντολή, -ῆς, ἡ | ἐντολή, -ῆς, ἡ | ordinance, injunction, command | ordinance, injunction, command | 1765 | 1773 | 67 | 67 | 244 | noun | noun | f | feminine | pl | plural | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | alpha | alpha | 1st_eta | first_eta | 5b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | FeminineSingularGenitive-MasculineSingularNomi... | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NeuterPluralAccusative-MasculinePluralAccusati... |
# Rule_3rdDecl_1ab Singlular Nominative = Singular Vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^third.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'nom')
& ((NF['gn'] == 'f') | (NF['gn'] == 'm') | (NF['gn'] == 'n'))
& (NF['normalized_noaccent'].str.match('^.*ρ$') == False),
'Rule_3rdDecl_1a_altI'] = 'SingularVocative'
NF.sort_values(by='Rule_3rdDecl_1a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | Rule_1stDecl_8a_altI | Rule_1stDecl_8b_altI | Rule_1stDecl_8c_altI | Rule_1stDecl_9abcd_altI | Rule_1stDecl_10abc_altI | Rule_1stDecl_11abc_altI | Rule_1stDecl_12abc_altI | Rule_3rdDecl_1a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
99 | Matthew | 1 | Matt | 1 | 7 | Matt 1:7 | 100 | 100 | Σολομὼν | Σολομὼν | Σολομών | Σολομων | Σολομών | Σολομών | Σολομων | Solomon | N-NSM | N-NSM | 4672 | False | Σολομών, -ῶνος | Σολομών, -ῶνος | Solomon | Solomon | 4480 | 4507 | 12 | 12 | 902 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | nu | NaN | 3rd | third_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | SingularVocative |
99274 | II_Corinthians | 8 | 2Cor | 7 | 14 | 2Cor 7:14 | 99275 | 99275 | καύχησις | καύχησις | καύχησις | καυχησις | καύχησις | καύχησις | καυχησις | kaukhesis | N-NSF | N-NSF | 2746 | False | καύχησις, -εως, ἡ | καύχησις, -εως, ἡ | act of boasting, exultation | act of boasting, exultation | 2703 | 2717 | 11 | 11 | 968 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | SingularVocative |
# Rule_3rdDecl_1b Singlular Nominative = Singular Vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^third.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'voc')
& ((NF['gn'] == 'f') | (NF['gn'] == 'm') | (NF['gn'] == 'n'))
& (NF['normalized_noaccent'].str.match('^.*ρ$') == False),
'Rule_3rdDecl_1b_altI'] = 'SingularNominative'
NF.sort_values(by='Rule_3rdDecl_1b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | Rule_1stDecl_8a_altI | Rule_1stDecl_8b_altI | Rule_1stDecl_8c_altI | Rule_1stDecl_9abcd_altI | Rule_1stDecl_10abc_altI | Rule_1stDecl_11abc_altI | Rule_1stDecl_12abc_altI | Rule_3rdDecl_1a_altI | Rule_3rdDecl_1b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9480 | Matthew | 1 | Matt | 16 | 17 | Matt 16:17 | 9481 | 9481 | Σίμων | Σίμων | Σίμων | Σιμων | Σίμων | Σίμων | Σιμων | Simon | N-VSM | N-VSM | 4613 | False | Σίμων, -ωνος, ὁ | Σίμων, -ωνος, ὁ | Simon | Simon | 4420 | 4447 | 75 | 75 | 227 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | nu | NaN | 3rd | third_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | SingularNominative |
81341 | Acts | 5 | Acts | 26 | 13 | Acts 26:13 | 81342 | 81342 | βασιλεῦ, | βασιλεῦ, | βασιλεῦ | βασιλευ | βασιλεύς | βασιλεύς | βασιλευς | basileus | N-VSM | N-VSM | 935 | False | βασιλεύς, -έως, ὁ | βασιλεύς, -έως, ὁ | king, ruler, emperor | king, ruler, emperor | 924 | 928 | 115 | 115 | 143 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | epsilon_upsilon | epsilon_upsilon | 3rd | third_d | 4b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | SingularNominative |
# Rule_3rdDecl_2a Plural Nominative = Plural Vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^third.*', regex=True) == True)
& (NF['nu'] == 'pl')
& (NF['case'] == 'nom')
& ((NF['gn'] == 'f') | (NF['gn'] == 'm') | (NF['gn'] == 'n'))
& (NF['normalized_noaccent'].str.match('^.*$') == True) ,
'Rule_3rdDecl_2a_altI'] = 'PluralVoctive'
NF.sort_values(by='Rule_3rdDecl_2a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | Rule_1stDecl_8a_altI | Rule_1stDecl_8b_altI | Rule_1stDecl_8c_altI | Rule_1stDecl_9abcd_altI | Rule_1stDecl_10abc_altI | Rule_1stDecl_11abc_altI | Rule_1stDecl_12abc_altI | Rule_3rdDecl_1a_altI | Rule_3rdDecl_1b_altI | Rule_3rdDecl_2a_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
963 | Matthew | 1 | Matt | 3 | 4 | Matt 3:4 | 964 | 964 | ἀκρίδες | ἀκρίδες | ἀκρίδες | ακριδες | ἀκρίς | ἀκρίς | ακρις | akris | N-NPF | N-NPF | 200 | False | ἀκρίς, -ίδος, ἡ | ἀκρίς, -ίδος, ἡ | locust | locust | 195 | 195 | 4 | 4 | 1864 | noun | noun | f | feminine | pl | plural | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | delta | delta | 3rd | third_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | PluralVoctive |
103348 | Galatians | 9 | Gal | 5 | 20 | Gal 5:20 | 103349 | 103349 | αἱρέσεις, | αἱρέσεις, | αἱρέσεις | αιρεσεις | αἵρεσις | αἵρεσις | αιρεσις | airesis | N-NPF | N-NPF | 139 | False | αἵρεσις, -εως, ἡ | αἵρεσις, -εως, ἡ | self-chosen opinion, sect | self-chosen opinion, sect | 138 | 138 | 9 | 9 | 1131 | noun | noun | f | feminine | pl | plural | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | PluralVoctive |
# Rule_3rdDecl_2b Plural Vocative = Plural Nomiative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^third.*', regex=True) == True)
& (NF['nu'] == 'pl')
& (NF['case'] == 'voc')
& ((NF['gn'] == 'f') | (NF['gn'] == 'm') | (NF['gn'] == 'n'))
& (NF['normalized_noaccent'].str.match('^.*$') == True) ,
'Rule_3rdDecl_2b_altI'] = 'PluralNominative'
NF.sort_values(by='Rule_3rdDecl_2b_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | Rule_1stDecl_8a_altI | Rule_1stDecl_8b_altI | Rule_1stDecl_8c_altI | Rule_1stDecl_9abcd_altI | Rule_1stDecl_10abc_altI | Rule_1stDecl_11abc_altI | Rule_1stDecl_12abc_altI | Rule_3rdDecl_1a_altI | Rule_3rdDecl_1b_altI | Rule_3rdDecl_2a_altI | Rule_3rdDecl_2b_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1007 | Matthew | 1 | Matt | 3 | 7 | Matt 3:7 | 1008 | 1008 | Γεννήματα | Γεννήματα | Γεννήματα | Γεννηματα | γέννημα | γέννημα | γεννημα | gennema | N-VPN | N-VPN | 1081 | False | γέννημα, -τος, τό | γέννημα, -τος, τό | offspring, child, fruit | offspring, child, fruit | 1070 | 1073 | 8 | 8 | 1237 | noun | noun | n | neuter | pl | plural | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | tau | NaN | 3rd | third_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | PluralNominative |
121547 | James | 20 | Jas | 4 | 4 | Jas 4:4 | 121548 | 121548 | μοιχαλίδες, | μοιχαλίδες, | μοιχαλίδες | μοιχαλιδες | μοιχαλίς | μοιχαλίς | μοιχαλις | moikhalis | N-VPF | N-VPF | 3428 | False | μοιχαλίς, -ίδος, ἡ | μοιχαλίς, -ίδος, ἡ | adulteress | adulteress | 3264 | 3283 | 7 | 7 | 1347 | noun | noun | f | feminine | pl | plural | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | delta | delta | 3rd | third_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | PluralNominative |
# Rule_3rdDecl_3abc τα in Plural Nominative = Plural Accusative = Plural Vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^third.*', regex=True) == True)
& (NF['nu'] == 'pl')
& ((NF['case'] == 'nom')|(NF['case'] == 'acc')|(NF['case'] == 'voc'))
& ((NF['gn'] == 'f') | (NF['gn'] == 'm') | (NF['gn'] == 'n'))
& (NF['normalized_noaccent'].str.match('^.*τα$') == True) ,
'Rule_3rdDecl_3abc_altI'] = 'PluralNominative-PluralAccusative-PluralVocative'
NF.sort_values(by='Rule_3rdDecl_3abc_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_2ndDecl_1b_altI | Rule_2ndDecl_1c_altI | Rule_2ndDecl_1d_altI | Rule_2ndDecl_2a_altI | Rule_2ndDecl_2b_altI | Rule_2ndDecl_3a_altI | Rule_2ndDecl_3b_altI | Rule_2ndDecl_4a_altI | Rule_2ndDecl_4b_altI | Rule_2ndDecl_5a_altI | Rule_2ndDecl_5b_altI | Rule_1stDecl_1a_altI | Rule_1stDecl_1b_altI | Rule_1stDecl_2a_altI | Rule_1stDecl_2b_altI | Rule_1stDecl_3a_altI | Rule_1stDecl_3b_altI | Rule_1stDecl_3c_altI | Rule_1stDecl_3d_altI | Rule_1stDecl_4a_altI | Rule_1stDecl_4b_altI | Rule_1stDecl_5a_altI | Rule_1stDecl_5b_altI | Rule_1stDecl_6a_altI | Rule_1stDecl_6b_altI | Rule_1stDecl_7a_altI | Rule_1stDecl_7b_altI | Rule_1stDecl_7c_altI | Rule_1stDecl_8a_altI | Rule_1stDecl_8b_altI | Rule_1stDecl_8c_altI | Rule_1stDecl_9abcd_altI | Rule_1stDecl_10abc_altI | Rule_1stDecl_11abc_altI | Rule_1stDecl_12abc_altI | Rule_3rdDecl_1a_altI | Rule_3rdDecl_1b_altI | Rule_3rdDecl_2a_altI | Rule_3rdDecl_2b_altI | Rule_3rdDecl_3abc_altI | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1007 | Matthew | 1 | Matt | 3 | 7 | Matt 3:7 | 1008 | 1008 | Γεννήματα | Γεννήματα | Γεννήματα | Γεννηματα | γέννημα | γέννημα | γεννημα | gennema | N-VPN | N-VPN | 1081 | False | γέννημα, -τος, τό | γέννημα, -τος, τό | offspring, child, fruit | offspring, child, fruit | 1070 | 1073 | 8 | 8 | 1237 | noun | noun | n | neuter | pl | plural | NaN | NaN | NaN | NaN | voc | vocative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | tau | NaN | 3rd | third_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | PluralNominative | PluralNominative-PluralAccusative-PluralVocative |
89206 | Romans | 6 | Rom | 15 | 1 | Rom 15:1 | 89207 | 89207 | ἀσθενήματα | ἀσθενήματα | ἀσθενήματα | ασθενηματα | ἀσθένημα | ἀσθένημα | ασθενημα | asthenema | N-APN | N-APN | 771 | False | ἀσθένημα, -τος, τό | ἀσθένημα, -τος, τό | weakness, infirmity | weakness, infirmity | 762 | 766 | 1 | 1 | 3490 | noun | noun | n | neuter | pl | plural | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | tau | NaN | 3rd | third_d | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | PluralNominative-PluralAccusative-PluralVocative |
NF.to_excel("/Users/oliverglanz/Library/CloudStorage/OneDrive-AndrewsUniversity/1200_AUS-research/Fabric-TEXT/0_data_NA1904/feature-dev/AmbigiousNominalForms20221016.xlsx")
# read DataFrame
NA1904 = pd.read_excel("/Users/oliverglanz/Library/CloudStorage/OneDrive-AndrewsUniversity/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.5_20221004.xlsx")
# words = pd.read_excel("/Users/glanz/Library/CloudStorage/OneDrive-AndrewsUniversity/1200_AUS-research/Fabric-TEXT/0_data_NA1904/Nestle1904_source_v1.5_20221004.xlsx")
VF = NA1904
VF.head()
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule1_Impfs_no1a | Rule1_Impfs_no1b | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 1 | 1 | Βίβλος | Βίβλος | Βίβλος | Βιβλος | βίβλος | βίβλος | βιβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | 10 | 1052 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN |
1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 2 | 2 | γενέσεως | γενέσεως | γενέσεως | γενεσεως | γένεσις | γένεσις | γενεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | 5 | 1638 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | NaN | NaN |
2 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 3 | 3 | Ἰησοῦ | Ἰησοῦ | Ἰησοῦ | Ιησου | Ἰησοῦς | Ἰησοῦς | Ιησους | Iesous | N-GSM | N-GSM | 2424 | False | Ἰησοῦς | Ἰησοῦς | Jesus | Jesus | 2387 | 2399 | 913 | 913 | 19 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | irregular | irregular | irregular | irregular | not_covered | NaN | NaN |
3 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 4 | 4 | Χριστοῦ | Χριστοῦ | Χριστοῦ | Χριστου | Χριστός | Χριστός | Χριστος | Khristos | N-GSM | N-GSM | 5547 | False | Χριστός, -οῦ, ὁ | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | anointed, Messiah, Christ | 5326 | 5358 | 529 | 529 | 35 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN |
4 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 5 | 5 | υἱοῦ | υἱοῦ | υἱοῦ | υιου | υἱός | υἱός | υιος | uios | N-GSM | N-GSM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | NaN | NaN |
Search0 = '''
word tense=imperfect mood=ind ps=p1 nu normalized~^.*ον$
'''
Search0 = NA.search(Search0)
NA.show(Search0, start=1, end=2, condensed=True, colorMap={1:'pink'}, extraFeatures={'clause','sentence','lemma','morph_form','morph_functional','normalized','strongs','lexeme_dict','gloss', 'sp', 'gn', 'nu', 'ps', 'case', 'tense', 'voice', 'mood', 'degree', 'extra', 'freq_lemma', 'bol_dict_abc', 'lemma_translit', 'abc_order', 'bol_lemma_dict','bol_gloss'})
0.09s 21 results
verse 1
verse 2
# Rule1_Impfs_no1a
# 1sgIndImpf = 3plIndImpf
pd.set_option('display.max_columns', 100)
VF.loc[ (VF['sp'] == 'verb')
& (VF['tense'] == 'imperfect')
& (VF['ps'] == 'p1')
& (VF['nu'] == 'sg')
& (VF['mood'] == 'ind')
& (VF['voice'] == 'a')
& (VF['normalized_noaccent'].str.match('^.*ον$') == True),
'Rule1_Impf_no1a'] = 'ImpfIndicativeP3PlActive'
VF.sort_values(by='Rule1_Impf_no1a', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule1_Impfs_no1a | Rule1_Impfs_no1b | test | test1 | test2 | Rule1_Impf_no1a | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
44553 | Luke | 3 | Luke | 19 | 20 | Luke 19:20 | 44554 | 44554 | εἶχον | εἶχον | εἶχον | ειχον | ἔχω | ἔχω | εχω | ekho | V-IAI-1S | V-IAI-1S | 2192 | False | ἔχω | ἔχω | have, hold, possess | have, hold, possess | 2169 | 2178 | 709 | 709 | 23 | verb | verb | NaN | NaN | sg | singular | NaN | NaN | p1 | first_person | NaN | NaN | imperfect | imperfect | a | active | ind | indicative | NaN | NaN | NaN | khi | NaN | khi | NaN | NaN | 3a | NaN | NaN | NaN | x | NaN | ImpfIndicativeP3PlActive |
127457 | III_John | 4 | 3John | 1 | 13 | 3John 1:13 | 127458 | 127458 | εἶχον | εἶχον | εἶχον | ειχον | ἔχω | ἔχω | εχω | ekho | V-IAI-1S | V-IAI-1S | 2192 | False | ἔχω | ἔχω | have, hold, possess | have, hold, possess | 2169 | 2178 | 709 | 709 | 23 | verb | verb | NaN | NaN | sg | singular | NaN | NaN | p1 | first_person | NaN | NaN | imperfect | imperfect | a | active | ind | indicative | NaN | NaN | NaN | khi | NaN | khi | NaN | NaN | 3a | NaN | NaN | NaN | x | NaN | ImpfIndicativeP3PlActive |
# Rule1_Impfs_no1b
# 1sgIndImpf = 3plIndImpf
pd.set_option('display.max_columns', 100)
VF.loc[ (VF['sp'] == 'verb')
& (VF['tense'] == 'imperfect')
& (VF['ps'] == 'p3')
& (VF['nu'] == 'pl')
& (VF['mood'] == 'ind')
& (VF['voice'] == 'a')
& (VF['normalized_noaccent'].str.match('^.*ον$') == True),
'Rule1_Impf_no1b'] = 'ImpfIndicativeP1SgActive'
VF.sort_values(by='Rule1_Impf_no1b', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule1_Impfs_no1a | Rule1_Impfs_no1b | test | test1 | test2 | Rule1_Impf_no1a | Rule1_Impf_no1b | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4233 | Matthew | 1 | Matt | 9 | 2 | Matt 9:2 | 4234 | 4234 | προσέφερον | προσέφερον | προσέφερον | προσεφερον | προσφέρω | προσφέρω | προσφερω | prosphero | V-IAI-3P | V-IAI-3P | 4374 | False | προσφέρω | προσφέρω | bring to, offer | bring to, offer | 4193 | 4218 | 46 | 46 | 329 | verb | verb | NaN | NaN | pl | plural | NaN | NaN | p3 | third_person | NaN | NaN | imperfect | imperfect | a | active | ind | indicative | NaN | NaN | NaN | rho | NaN | NaN | NaN | NaN | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | ImpfIndicativeP1SgActive |
63586 | John | 4 | John | 20 | 4 | John 20:4 | 63587 | 63587 | ἔτρεχον | ἔτρεχον | ἔτρεχον | ετρεχον | τρέχω | τρέχω | τρεχω | trekho | V-IAI-3P | V-IAI-3P | 5143 | False | τρέχω | τρέχω | run, exercise myself | run, exercise myself | 4932 | 4963 | 20 | 20 | 620 | verb | verb | NaN | NaN | pl | plural | NaN | NaN | p3 | third_person | NaN | NaN | imperfect | imperfect | a | active | ind | indicative | NaN | NaN | NaN | khi | NaN | khi | NaN | NaN | not_covered | NaN | NaN | NaN | NaN | NaN | NaN | ImpfIndicativeP1SgActive |
ει ending appears in: Impf p3 sg Indicative Active (130x) = Present p2 sg Indicative Medium (2x)
Search0 = '''
word tense=imperfect mood=ind ps=p3 nu normalized_noaccent~^.*ει$ lemma_translit#eimi
'''
Search0 = NA.search(Search0)
NA.show(Search0, start=1, end=2, condensed=True, colorMap={1:'pink'}, extraFeatures={'clause','sentence','lemma','morph_form','morph_functional','normalized','strongs','lexeme_dict','gloss', 'sp', 'gn', 'nu', 'ps', 'case', 'tense', 'voice', 'mood', 'degree', 'extra', 'freq_lemma', 'bol_dict_abc', 'lemma_translit', 'abc_order', 'bol_lemma_dict','bol_gloss'})
0.16s 130 results
verse 1
verse 2
# Rule no1a:
# ει ending appears in: Impf p3 sg Indicative Active (130x) = Present p2 sg Indicative Medium (2x)
pd.set_option('display.max_columns', 100)
VF.loc[ (VF['sp'] == 'verb')
& (VF['lemma_translit'] != 'eimi')
& (VF['tense'] == 'imperfect')
& (VF['ps'] == 'p3')
& (VF['nu'] == 'sg')
& (VF['mood'] == 'ind')
& (VF['voice'] == 'a')
& (VF['normalized_noaccent'].str.match('^.*ει$') == True),
'Rule1_Present_no1a'] = 'PresentIndicativeActiveP2Sg'
VF.sort_values(by='Rule1_Present_no1a', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule1_Impfs_no1a | Rule1_Impfs_no1b | test | test1 | test2 | Rule1_Impf_no1a | Rule1_Impf_no1b | Rule1_Present_no1a | Rule1_Present_no1b | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3652 | Matthew | 1 | Matt | 8 | 2 | Matt 8:2 | 3653 | 3653 | προσεκύνει | προσεκύνει | προσεκύνει | προσεκυνει | προσκυνέω | προσκυνέω | προσκυνεω | proskuneo | V-IAI-3S | V-IAI-3S | 4352 | False | προσκυνέω | προσκυνέω | worship | worship | 4171 | 4196 | 60 | 60 | 270 | verb | verb | NaN | NaN | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | imperfect | imperfect | a | active | ind | indicative | NaN | NaN | NaN | epsilon | NaN | epsilon | NaN | NaN | 8a | NaN | NaN | NaN | NaN | NaN | NaN | NaN | PresentIndicativeActiveP2Sg | NaN |
72074 | Acts | 5 | Acts | 11 | 23 | Acts 11:23 | 72075 | 72075 | παρεκάλει | παρεκάλει | παρεκάλει | παρεκαλει | παρακαλέω | παρακαλέω | παρακαλεω | parakaleo | V-IAI-3S | V-IAI-3S | 3870 | False | παρακαλέω | παρακαλέω | summon, entreat, admonish, comfort | summon, entreat, admonish, comfort | 3696 | 3717 | 109 | 109 | 151 | verb | verb | NaN | NaN | sg | singular | NaN | NaN | p3 | third_person | NaN | NaN | imperfect | imperfect | a | active | ind | indicative | NaN | NaN | NaN | epsilon | NaN | epsilon | NaN | NaN | 6b | NaN | NaN | NaN | NaN | NaN | NaN | NaN | PresentIndicativeActiveP2Sg | NaN |
# Rule no1b:
# ει ending appears in: Impf p3 sg Indicative Active (130x) = Present p2 sg Indicative Medium (2x)
pd.set_option('display.max_columns', 100)
VF.loc[ (VF['sp'] == 'verb')
& (VF['lemma_translit'] != 'eimi')
& (VF['tense'] == 'present')
& (VF['ps'] == 'p2')
& (VF['nu'] == 'sg')
& (VF['mood'] == 'ind')
& (VF['voice'] == 'a')
& (VF['normalized_noaccent'].str.match('^.*ει$') == True),
'Rule1_Present_no1b'] = 'ImperfectIndicativeActiveP3Sg'
VF.sort_values(by='Rule1_Present_no1b', ascending=[True]).head(2)
Input In [143] & (VF['lemma_translit'] !! 'eimi') ^ SyntaxError: invalid syntax
VF.sort_values(by='test2', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule1_Impfs_no1a | Rule1_Impfs_no1b | test | test1 | test2 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 1 | 1 | Βίβλος | Βίβλος | Βίβλος | Βιβλος | βίβλος | βίβλος | βιβλος | biblos | N-NSF | N-NSF | 976 | False | βίβλος, -ου, ἡ | βίβλος, -ου, ἡ | written book, roll, or volume | written book, roll, or volume | 965 | 969 | 10 | 10 | 1052 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | nom | nominative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NaN | NaN | NaN | NaN | NaN |
1 | Matthew | 1 | Matt | 1 | 1 | Matt 1:1 | 2 | 2 | γενέσεως | γενέσεως | γενέσεως | γενεσεως | γένεσις | γένεσις | γενεσις | genesis | N-GSF | N-GSF | 1078 | False | γένεσις, -εως, ἡ | γένεσις, -εως, ἡ | birth, lineage | birth, lineage | 1067 | 1070 | 5 | 5 | 1638 | noun | noun | f | feminine | sg | singular | NaN | NaN | NaN | NaN | gen | genitive | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | iota | iota | 3rd | third_d | not_covered | NaN | NaN | NaN | NaN | NaN |
# Rule_2ndDecl_1a
# Masculine singular accusative = Neutrum singular nominative = Neutrum singular accusative = Neutrum singular vocative
pd.set_option('display.max_columns', 100)
NF.loc[ (NF['bol_noun_declension'].str.contains('^second.*', regex=True) == True)
& (NF['nu'] == 'sg')
& (NF['case'] == 'acc')
& (NF['gn'] == 'm')
& (NF['normalized_noaccent'].str.match('^.*ον$') == True) ,
'Rule_2ndDecl_1a_altI'] = 'NeuterSingularNominative-NeuterSingularAccusative-NeuterSingularVocative'
NF.sort_values(by='Rule_2ndDecl_1a_altI', ascending=[True]).head(2)
book_long | booknum | book_short | chapter | verse | bol_ref | orig_order | bol_monad_num | word | bol_surface | normalized | normalized_noaccent | lemma | bol_lemma | lemma_noaccent | lemma_translit | form_tag | functional_tag | strongs | strongs_unreliable | lexeme_dict | bol_lemma_dict | gloss | bol_gloss | abc_order | bol_dict_abc | freq_lemma | bol_lexeme_occurrences | bol_frequency_rank | sp | bol_psp | gn | bol_gender | nu | bol_number | nu_poss | bol_possessor_number | ps | bol_person | case | bol_case | tense | bol_tense | voice | bol_voice | mood | bol_mood | degree | extra | bol_suffix | bol_verb_type | bol_noun_stem | word_stem | declension | bol_noun_declension | vocab_ReadGreekIn30Days | Rule_2ndDecl_1a_altI | Rule_Impferfect_1a_altI | test | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
350 | Matthew | 1 | Matt | 1 | 21 | Matt 1:21 | 351 | 351 | υἱὸν | υἱὸν | υἱόν | υιον | υἱός | υἱός | υιος | uios | N-ASM | N-ASM | 5207 | False | υἱός, -οῦ, ὁ | υἱός, -οῦ, ὁ | son, descendent | son, descendent | 4995 | 5026 | 376 | 376 | 47 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | 3b | NeuterSingularNominative-NeuterSingularAccusat... | 3pl | NaN |
89831 | Romans | 6 | Rom | 16 | 5 | Rom 16:5 | 89832 | 89832 | Χριστόν. | Χριστόν. | Χριστόν | Χριστον | Χριστός | Χριστός | Χριστος | Khristos | N-ASM | N-ASM | 5547 | False | Χριστός, -οῦ, ὁ | Χριστός, -οῦ, ὁ | anointed, Messiah, Christ | anointed, Messiah, Christ | 5326 | 5358 | 529 | 529 | 35 | noun | noun | m | masculine | sg | singular | NaN | NaN | NaN | NaN | acc | accusative | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | omicron | NaN | 2nd | second_d | not_covered | NeuterSingularNominative-NeuterSingularAccusat... | 3pl | NaN |
import os
import re
import collections
import json
import csv
# from glob import glob
from tf.fabric import Fabric
from tf.convert.walker import CV
# from tf.compose import modify
source_dirs = 'input' # "input" is the name of the input folder that contains the source file
output_dirs = 'output' # "output" is the name of the output folder to which the finished TF files will be dumped into
bo2book = {line.split()[0]:line.split()[1] for line in '''
NTt2 New_Testament
'''.split('\n') if line} # "OT" is the name of the file in the input folder AND "split()" splits at space
# patts = {'section': re.compile('(\d*):(\d*)\.(\d*)')}
def director(cv):
'''
Walks through NA1904 and triggers
slot and node creation events.
'''
# process books in order
for bo, book in bo2book.items():
book_loc = os.path.join(source_dirs, f'{bo}.txt')
print(f'\thandling {book_loc}...')
with open(book_loc, 'r', encoding="utf8") as infile:
text = [w for w in infile.read().split('\n') if w]
this_book = cv.node('book')
# keep track of when to trigger paragraph, chapter, and verse objects
# para_track = 1 # keep counts of paragraphs
prev_book = "Matt" # start at Genesis
prev_chap = 1 # start at 1
prev_verse = 1 # start at 1
sentence_track = 1
sentence_done = False
clause_track = 1
clause_done = False
wrdnum = 0 # start at 0
this_chap = cv.node('chapter')
this_sentence = cv.node('sentence')
this_clause = cv.node('clause')
# this_para = cv.node('paragraph')
this_verse = cv.node('verse')
# iterate through words and construct objects
for word in text:
wrdnum += 1
data = word.split('\t')
# word_data, lemmas = data[:7], data[7:]
word_data = data[:24] #the number here is the amount of columns
morphology = ' '.join(data[24:]) #the number here is the amount of columns
# segment out word data
# bo_code, ref, brake, ketiv, qere, morph, strongs = word_data
orig_order, book, chapter, verse, word, normalized, lemma, morph_form, morph_functional, strongs,lexeme_dict, gloss, sp, gn, nu, ps, case, tense, voice, mood, degree, extra, freq_lemma, dict_abc = word_data
#try:
# verse = int(verse)
#except ValueError:
# subverse = verse[-1:]
# verse = verse[:-1]
if verse == "":
print(f'{orig_order}: {verse} {subverse}')
# strongs_lemma, anlex_lemma = ' '.join(lemmas).split('!') # reconstitute lemmas and split on !
# chapt, verse, wrdnum = [int(v) for v in patts['section'].match(ref).groups()]
# -- handle TF events --
# detect book boundary
if prev_book != book:
# end subverse
# cv.feature(this_subverse, subverse=prev_subverse)
# cv.terminate(this_subverse)
# end verse
cv.feature(this_verse, verse=prev_verse)
cv.terminate(this_verse)
# end chapter
cv.feature(this_chap, chapter=prev_chap)
cv.terminate(this_chap)
# end book
cv.feature(this_book, book=prev_book)
cv.terminate(this_book)
# new book, chapter, verse, and subverse begin
this_book = cv.node('book')
prev_book = book
this_chap = cv.node('chapter')
prev_chap = chapter
this_verse = cv.node('verse')
prev_verse = verse
#this_subverse = cv.node('subverse')
#prev_subverse = subverse
wrdnum = 1
# detect chapter boundary
elif prev_chap != chapter:
# end subverse
#cv.feature(this_subverse, subverse=prev_subverse)
#cv.terminate(this_subverse)
# end verse
cv.feature(this_verse, verse=prev_verse)
cv.terminate(this_verse)
# end chapter
cv.feature(this_chap, chapter=prev_chap)
cv.terminate(this_chap)
# new chapter, verse, and subverse begin
this_chap = cv.node('chapter')
prev_chap = chapter
this_verse = cv.node('verse')
prev_verse = verse
#this_subverse = cv.node('subverse')
#prev_subverse = subverse
wrdnum = 1
# detect verse boundary
elif prev_verse != verse:
# end subverse
#cv.feature(this_subverse, subverse=prev_subverse)
#cv.terminate(this_subverse)
# end verse
cv.feature(this_verse, verse=prev_verse)
cv.terminate(this_verse)
# new verse and subverse begin
this_verse = cv.node('verse')
prev_verse = verse
#this_subverse = cv.node('subverse')
#prev_subverse = subverse
wrdnum = 1
# detect subverse boundary
#elif prev_subverse != subverse:
# cv.feature(this_subverse, subverse=prev_subverse)
# cv.terminate(this_subverse)
# this_subverse = cv.node('subverse')
# prev_subverse = subverse
# detect paragraph boundary
# if brake == 'P':
# cv.feature(this_para, para=para_track)
# cv.terminate(this_para)
# this_para = cv.node('paragraph') # start a new paragraph
# para_track += 1 # count paragraphs in the book
if sentence_done:
cv.feature(this_clause, clause=clause_track)
cv.terminate(this_clause)
cv.feature(this_sentence, sentence=sentence_track)
cv.terminate(this_sentence)
this_sentence = cv.node('sentence')
sentence_track += 1
this_clause = cv.node('clause')
clause_track += 1
sentence_done = False
clause_done = False
elif clause_done:
cv.feature(this_clause, clause=clause_track)
cv.terminate(this_clause)
this_clause = cv.node('clause')
clause_track += 1
clause_done = False
if text[-1:] == "." or text[-1:] == ";":
sentence_done = True
elif text[-1:] == "," or text[-1:] == "·":
clause_done = True
# make word object
this_word = cv.slot()
cv.feature(this_word,
orig_order=orig_order,
word=word,
normalized=normalized,
lemma=lemma,
morph_form=morph_form,
morph_functional=morph_functional,
strongs=strongs,
lexeme_dict=lexeme_dict,
gloss=gloss,
sp=sp,
gn=gn,
nu=nu,
ps=ps,
case=case,
tense=tense,
voice=voice,
mood=mood,
degree=degree,
extra=extra,
freq_lemma=freq_lemma,
dict_abc=dict_abc,
# ketiv=ketiv,
# qere=qere,
# strongs=strongs,
# str_lem=strongs_lemma.strip(),
# anlex_lem=anlex_lemma.strip()
)
cv.terminate(this_word)
# end book and its objects
# - end subverse
#cv.feature(this_subverse, subverse=prev_subverse)
#cv.terminate(this_subverse)
# - end verse
cv.feature(this_verse, verse=prev_verse)
cv.terminate(this_verse)
# - end paragraph
# cv.feature(this_para, para=para_track)
# cv.terminate(this_para)
# - end clause
cv.feature(this_clause, clause=clause_track)
cv.terminate(this_clause)
# - end sentence
cv.feature(this_sentence, sentence=sentence_track)
cv.terminate(this_sentence)
# - end chapter
cv.feature(this_chap, chapter=prev_chap)
cv.terminate(this_chap)
# - end book
cv.feature(this_book, book=prev_book)
cv.terminate(this_book)
slotType = 'word'
otext = {'fmt:text-orig-full':'{word} ',
'sectionTypes':'book,chapter,verse',
'sectionFeatures':'book,chapter,verse'}
generic = {'Name': 'NA1904',
'Version': '1904',
'Author': 'Nestle & Aland',
'Editors': 'Ulrik Sandborg Petersen, Eliran Wong',
'Converter': 'Oliver Glanz',
'Source:':'https://github.com/biblicalhumanities/Nestle1904/blob/master/morph/Nestle1904.csv',
'Note':'?'}
intFeatures = {'chapter', 'verse'}
featureMeta = {'book': {'description': 'A book name'},
'chapter': {'description': 'A chapter number'},
'sentence': {'description': 'A sentence number'},
'clause': {'description': 'A clause number'},
'verse': {'description': 'A verse number'},
'word': {'description': 'Word with punctuation stripped'},
'normalized': {'description': 'normalized word'},
'lemma': {'description': 'ditionary entry form'},
'morph_form': {'description': 'formal morphology'},
'morph_functional': {'description': 'functional morphology'},
'strongs': {'description': 'strongs number'},
'orig_order': {'description': 'original word order within the 1904 corpus'},
'lexeme_dict': {'description': 'dictionary entry form'},
'gloss': {'description': 'English gloss'},
'sp': {'description': 'part of speech'},
'gn': {'description': 'gender'},
'nu': {'description': 'number'},
'ps': {'description': 'person'},
'case': {'description': 'case'},
'tense': {'description': 'tense'},
'voice': {'description': 'voice'},
'mood': {'description': 'mood'},
'degree': {'description': 'degree'},
'extra': {'description': 'extra comments'},
'freq_lemma': {'description': 'word frequency'},
'dict_abc': {'description': 'alphabetic order of lexeme'},
#'subverse': {'description': 'Subverse information'},
# 'para': {'description': 'A paragraph number'},
# 'ketiv': {'descrption': 'The text as it is written in the printed Tischendorf'},
# 'qere': {'description': 'The text as the editor thinks it should have been'},
# 'strongs': {'description': 'A word\'s number in Strongs'},
# 'str_lem': {'description': 'Word lemma that corresponds to The NEW Strong\'sComplete Dictionary of Bible Words'},
# 'anlex_lem': {'description': 'Word lemma that corresponds to Friberg, Friberg and Miller\'s ANLEX'}
}
# configure metadata/output
version = '1904'
generic['Version'] = version
output = os.path.join(output_dirs, version)
print(f'Processing Version {version}')
output_dir = output_dirs.format(version=version)
TF = Fabric(locations=output_dir, silent=True)
cv = CV(TF)
cv.walk(director,
slotType,
otext=otext,
generic=generic,
intFeatures=intFeatures,
featureMeta=featureMeta,
warn=True,
force=False,)
Processing Version 1904 0.00s Importing data from walking through the source ... | 0.00s Preparing metadata... | 0.00s No structure nodes will be set up | SECTION TYPES: book, chapter, verse | SECTION FEATURES: book, chapter, verse | STRUCTURE TYPES: | STRUCTURE FEATURES: | TEXT FEATURES: | | text-orig-full word | 0.00s OK | 0.00s Following director... handling input\NTt2.txt... | 2.16s "edge" actions: 0 | 2.16s "feature" actions: 146013 | 2.16s "node" actions: 8234 | 2.16s "resume" actions: 0 | 2.16s "slot" actions: 137779 | 2.17s "terminate" actions: 146013 | 27 x "book" node | 261 x "chapter" node | 1 x "clause" node | 1 x "sentence" node | 7944 x "verse" node | 137779 x "word" node = slot type | 146013 nodes of all types | 2.19s OK | 0.00s Removing unlinked nodes ... | | 0.00s 1 unlinked "chapter" node: [1] | | 0.00s 1 unlinked "verse" node: [1] | | 0.00s 2 unlinked nodes | | 0.00s Leaving 146011 nodes | 0.00s checking for nodes and edges ... | 0.00s OK | 0.00s checking features ... | 0.01s OK | 0.00s reordering nodes ... | 0.04s Sorting 27 nodes of type "book" | 0.05s Sorting 260 nodes of type "chapter" | 0.07s Sorting 1 nodes of type "clause" | 0.08s Sorting 1 nodes of type "sentence" | 0.08s Sorting 7943 nodes of type "verse" | 0.10s Max node = 146011 | 0.10s OK | 0.00s reassigning feature values ... | | 0.14s node feature "book" with 27 nodes | | 0.14s node feature "case" with 137779 nodes | | 0.20s node feature "chapter" with 260 nodes | | 0.20s node feature "clause" with 1 node | | 0.20s node feature "degree" with 137779 nodes | | 0.25s node feature "dict_abc" with 137779 nodes | | 0.31s node feature "extra" with 137779 nodes | | 0.36s node feature "freq_lemma" with 137779 nodes | | 0.42s node feature "gloss" with 137779 nodes | | 0.47s node feature "gn" with 137779 nodes | | 0.52s node feature "lemma" with 137779 nodes | | 0.57s node feature "lexeme_dict" with 137779 nodes | | 0.62s node feature "mood" with 137779 nodes | | 0.68s node feature "morph_form" with 137779 nodes | | 0.74s node feature "morph_functional" with 137779 nodes | | 0.80s node feature "normalized" with 137779 nodes | | 0.85s node feature "nu" with 137779 nodes | | 0.90s node feature "orig_order" with 137779 nodes | | 0.96s node feature "ps" with 137779 nodes | | 1.02s node feature "sentence" with 1 node | | 1.02s node feature "sp" with 137779 nodes | | 1.07s node feature "strongs" with 137779 nodes | | 1.13s node feature "tense" with 137779 nodes | | 1.18s node feature "verse" with 7943 nodes | | 1.19s node feature "voice" with 137779 nodes | | 1.25s node feature "word" with 137779 nodes | 1.19s OK 0.00s Exporting 27 node and 1 edge and 1 config features to output: 0.00s VALIDATING oslots feature 0.02s VALIDATING oslots feature 0.02s maxSlot= 137779 0.02s maxNode= 146011 0.02s OK: oslots is valid | 0.00s T book to output | 0.23s T case to output | 0.00s T chapter to output | 0.00s T clause to output | 0.23s T degree to output | 0.29s T dict_abc to output | 0.21s T extra to output | 0.24s T freq_lemma to output | 0.26s T gloss to output | 0.21s T gn to output | 0.24s T lemma to output | 0.26s T lexeme_dict to output | 0.23s T mood to output | 0.22s T morph_form to output | 0.23s T morph_functional to output | 0.25s T normalized to output | 0.27s T nu to output | 0.24s T orig_order to output | 0.08s T otype to output | 0.22s T ps to output | 0.00s T sentence to output | 0.22s T sp to output | 0.22s T strongs to output | 0.20s T tense to output | 0.01s T verse to output | 0.26s T voice to output | 0.25s T word to output | 0.10s T oslots to output | 0.00s M otext to output 5.23s Exported 27 node features and 1 edge features and 1 config features to output
True
# First, I have to laod different modules that I use for analyzing the data and for plotting:
import sys, os, collections
import pandas as pd
import numpy as np
import re
import csv
import seaborn as sns
import matplotlib.pyplot as plt; plt.rcdefaults()
from matplotlib.pyplot import figure
from collections import Counter
# Second, I have to load the Text Fabric app
from tf.fabric import Fabric
from tf.app import use
#LXX = use('CCATLXX/tf/1994_v1', hoist=globals())
#NA2 = use('NA1904/tf/1904_v3', hoist=globals())
#NA2 = use('na1904', hoist=globals())
NA2 = use ("CenterBLC/NA:latest", version="1904")
ExtraFeatures0 = '''
book book=Matthew
chapter
verse
word alt_morphology=FuturIndicative
'''
ExtraFeatures0 = NA2.search(ExtraFeatures0)
NA2.show(ExtraFeatures0, start=1, end=110, condensed=True, colorMap={1:'pink'}, extraFeatures={'lemma','morph_form','morph_functional','normalized','strongs', 'alt_morphology', 'case', 'degree', 'bol_dict_abc','extra', 'freq_lemma', 'gloss', 'gn', 'lemma', 'lexeme_dict', 'mood', 'nu', 'orig_order', 'ps', 'sp', 'strongs','tense','voice'})
0.10s 7 results
verse 1
verse 2
verse 3
verse 4
verse 5
verse 6
verse 7
sp = '''
word lemma* sp* bol_lemma_dict* bol_dict_abc* lexeme_dict*
'''
sp = NA2.search(sp)
NA2.show(sp, start=1, end=110, condensed=True, colorMap={1:'pink'}, extraFeatures={'lemma','morph_form','morph_functional','normalized','strongs', 'case', 'degree', 'bol_dict_abc','extra', 'freq_lemma', 'gloss', 'gn', 'lemma', 'lexeme_dict', 'mood', 'nu', 'orig_order', 'ps', 'sp', 'strongs','tense','voice'})
0.76s 137779 results
verse 1
verse 2
verse 3
verse 4
verse 5
verse 6
verse 7
verse 8
verse 9
verse 10
verse 11
verse 12
verse 13
verse 14
verse 15
verse 16
verse 17
verse 18
verse 19
verse 20
verse 21
verse 22
verse 23
verse 24
verse 25
verse 26
verse 27
verse 28
verse 29
verse 30
verse 31
verse 32
verse 33
verse 34
verse 35
verse 36
verse 37
verse 38
verse 39
verse 40
verse 41
verse 42
verse 43
verse 44
verse 45
verse 46
verse 47
verse 48
verse 49
verse 50
verse 51
verse 52
verse 53
verse 54
verse 55
verse 56
verse 57
verse 58
verse 59
verse 60
verse 61
verse 62
verse 63
verse 64
verse 65
verse 66
verse 67
verse 68
verse 69
verse 70
verse 71
verse 72
verse 73
verse 74
verse 75
verse 76
verse 77
verse 78
verse 79
verse 80
verse 81
verse 82
verse 83
verse 84
verse 85
verse 86
verse 87
verse 88
verse 89
verse 90
verse 91
verse 92
verse 93
verse 94
verse 95
verse 96
verse 97
verse 98
verse 99
verse 100
NA2.export(sp, toDir='D:/OneDrive/1200_AUS-research/GLI/DictionaryTranslationProject/', toFile='GreekSP.tsv')
text-fabric -zip CenterBLC/lxx/tf
File "<ipython-input-3-f4ff536c61ac>", line 1 text-fabric -zip CenterBLC/lxx/tf ^ SyntaxError: invalid syntax