update
This commit is contained in:
parent
cf83134bdc
commit
ac9be90d9c
|
@ -0,0 +1,23 @@
|
|||
#
|
||||
|
||||
import re
|
||||
import code
|
||||
|
||||
#
|
||||
|
||||
inputFile = 'sample.txt'
|
||||
outputFile = 'OGNTa.ruby'
|
||||
|
||||
# loading data
|
||||
f = open(inputFile,'r',encoding="utf-8")
|
||||
newData = f.read()
|
||||
f.close()
|
||||
|
||||
# processing
|
||||
newData = re.sub("(.*?)\t(.*?)\t(.*?)\t(.*?)\t(.*?)\t(.*?)\t(.*?)\t(.*?)\t(.*?)\t(.*?)\t(.*?)\n", r"<rt>\2 \3:\4</rt> <RUBY><ruby><ruby>\10 \5 \11<rt>\8</rt></ruby><rt>\6</rt></ruby><rt>\7</rt></RUBY>", newData)
|
||||
print (newData)
|
||||
|
||||
# save file
|
||||
f = open(outputFile,'w',encoding='utf-8')
|
||||
f.write(newData)
|
||||
f.close()
|
|
@ -0,0 +1,10 @@
|
|||
<rt>Book Chapter:Verse</rt> <RUBY><ruby><ruby>PMpWordOGNTPMfWord<rt>TBESG</rt></ruby><rt>lexeme</rt></ruby><rt>rmac</rt></RUBY>
|
||||
<rt>40 1:1</rt> <RUBY><ruby><ruby>Βίβλος<rt>book</rt></ruby><rt>βίβλος</rt></ruby><rt>N-NSF</rt></RUBY>
|
||||
<rt>40 1:1</rt> <RUBY><ruby><ruby>γενέσεως<rt>origin</rt></ruby><rt>γένεσις</rt></ruby><rt>N-GSF</rt></RUBY>
|
||||
<rt>40 1:1</rt> <RUBY><ruby><ruby>Ἰησοῦ<rt>Jesus/Joshua</rt></ruby><rt>Ἰησοῦς</rt></ruby><rt>N-GSM-P</rt></RUBY>
|
||||
<rt>40 1:1</rt> <RUBY><ruby><ruby>Χριστοῦ<rt>Christ</rt></ruby><rt>Χριστός</rt></ruby><rt>N-GSM-T</rt></RUBY>
|
||||
<rt>40 1:1</rt> <RUBY><ruby><ruby>υἱοῦ<rt>son</rt></ruby><rt>υἱός</rt></ruby><rt>N-GSM</rt></RUBY>
|
||||
<rt>40 1:1</rt> <RUBY><ruby><ruby>Δαυὶδ<rt>David</rt></ruby><rt>Δαυείδ, Δαυίδ, Δαβίδ</rt></ruby><rt>N-GSM-P</rt></RUBY>
|
||||
<rt>40 1:1</rt> <RUBY><ruby><ruby>υἱοῦ<rt>son</rt></ruby><rt>υἱός</rt></ruby><rt>N-GSM</rt></RUBY>
|
||||
<rt>40 1:1</rt> <RUBY><ruby><ruby>Ἀβραάμ.¶<rt>Abraham</rt></ruby><rt>Ἀβραάμ</rt></ruby><rt>N-GSM-P</rt></RUBY>
|
||||
<rt>40 1:2</rt> <RUBY><ruby><ruby>Ἀβραὰμ<rt>Abraham</rt></ruby><rt>Ἀβραάμ</rt></ruby><rt>N-NSM-P</rt></RUBY>
|
30
README.md
30
README.md
|
@ -6,25 +6,29 @@ This is an abridged and updated version of OpenGNT Version 3 [OGNT 3.3 Base Text
|
|||
|
||||
- OGNT3.3 abridged to the following tab-separated columns:
|
||||
- OGNTsort = sort numbers of all words of the base text of OGNT.
|
||||
- Book = Book number, ranging from 40 to 66.
|
||||
- Chapter = Chapter number.
|
||||
- Verse = verse number.
|
||||
- OGNT = Greek word of OGNT in accented form.
|
||||
- Lemma = Greek word of OGNT in lexical form.
|
||||
- RMAC = Robinson's Morphological Analysis Codes.
|
||||
- TBESG = context-insensitive glosses (from Tyndale House's TAGNT).
|
||||
- IT = context-sensitive glossess (from Berean Interlinear Bible)
|
||||
- Book-Chapter:Verse = scripture reference.
|
||||
- PMpWord-OGNT-PMfWord = OGNT and punctuation marks.
|
||||
- PMpWord = punctuation mark(s) preceding the main word.
|
||||
- [[ changed to ⟦
|
||||
- ]] changed to ⟧
|
||||
- OGNT = Greek word of OGNT in accented form.
|
||||
- PMfWord = punctuation mark(s) following the main word.
|
||||
- lexeme = Greek word of OGNT in lexical form.
|
||||
- rmac = Robinson's Morphological Analysis Codes.
|
||||
- TBESG = context-insensitive glosses (from Tyndale House's TAGNT).
|
||||
- IT = context-sensitive glossess (from Berean Interlinear Bible)
|
||||
|
||||
| OGNTsort | Book-Chapter:Verse | PMpWord OGNTa PMfWord | lexeme | rmac | TBESG | IT |
|
||||
|----------|--------------------|-----------------------|----------------------|---------|--------------|--------------------|
|
||||
| 000001 | 40-1:1 | Βίβλος | βίβλος | N-NSF | book | [The] book |
|
||||
| 000002 | 40-1:1 | γενέσεως | γένεσις | N-GSF | origin | of [the] genealogy |
|
||||
| 000003 | 40-1:1 | Ἰησοῦ | Ἰησοῦς | N-GSM-P | Jesus/Joshua | of Jesus |
|
||||
| 000004 | 40-1:1 | Χριστοῦ | Χριστός | N-GSM-T | Christ | Christ, |
|
||||
| 000005 | 40-1:1 | υἱοῦ | υἱός | N-GSM | son | son |
|
||||
| 000006 | 40-1:1 | Δαυὶδ | Δαυείδ, Δαυίδ, Δαβίδ | N-GSM-P | David | of David, |
|
||||
| 000007 | 40-1:1 | υἱοῦ | υἱός | N-GSM | son | son |
|
||||
| 000008 | 40-1:1 | Ἀβραάμ . ¶ | Ἀβραάμ | N-GSM-P | Abraham | of Abraham: |
|
||||
|
||||
| OGNTsort | Book | Chapter | Verse | OGNTa | lexeme | rmac | TBESG | IT | PMpWord | PMfWord |
|
||||
|----------|------|---------|-------|----------|----------|------------|----------|--------------|:-------:|:-------:|
|
||||
| 000001 | 40 | 1 | 1 | Βίβλος | βίβλος | N-NSF | book | [The] book | | |
|
||||
| 000008 | 40 | 1 | 1 | Ἀβραάμ | Ἀβραάμ | N-GSM-P | Abraham | of Abraham: | | .¶ |
|
||||
| 029446 | 41 | 16 | 9 | Ἀναστὰς | ἀνίστημι | V-2AAP-NSM | to arise | Having risen | ⟦ | |
|
||||
|
||||
|
||||
## Content changes
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
OGNTsort Book Chapter Verse OGNT lexeme rmac TBESG IT PMpWord PMfWord
|
||||
000001 40 1 1 Βίβλος βίβλος N-NSF book [The] book
|
||||
000002 40 1 1 γενέσεως γένεσις N-GSF origin of [the] genealogy
|
||||
000003 40 1 1 Ἰησοῦ Ἰησοῦς N-GSM-P Jesus/Joshua of Jesus
|
||||
000004 40 1 1 Χριστοῦ Χριστός N-GSM-T Christ Christ,
|
||||
000005 40 1 1 υἱοῦ υἱός N-GSM son son
|
||||
000006 40 1 1 Δαυὶδ Δαυείδ, Δαυίδ, Δαβίδ N-GSM-P David of David,
|
||||
000007 40 1 1 υἱοῦ υἱός N-GSM son son
|
||||
000008 40 1 1 Ἀβραάμ Ἀβραάμ N-GSM-P Abraham of Abraham: .¶
|
||||
000009 40 1 2 Ἀβραὰμ Ἀβραάμ N-NSM-P Abraham Abraham
|
Loading…
Reference in New Issue