"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# Loading-the-New-Testament-Text-Fabric\n",
"N1904 = use (\"tonyjurg/Nestle1904LFT:clone\", version=\"0.2\", hoist=globals())"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Basic testing of the textfabric data\n",
"##### [Back to TOC](#TOC)\n",
"\n",
"### Some basic display \n",
"\n",
"note: the implementation with regards how phrases need to be displayed (esp. with regards to conjunctions) is still to be done."
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" 0.34s 3 results\n"
]
}
],
"source": [
"Search0 = '''\n",
"book book=Matthew\n",
" chapter chapter=1\n",
" verse verse=20\n",
" wg1:wg wgclass=cl wglevel*\n",
" a:word wordrole=v\n",
" b:word wordrole=o\n",
"a .containedclause. b\n",
"'''\n",
"Search0 = NA.search(Search0)\n",
"N1904.show(Search0, start=20, end=21, condensed=True, extraFeatures={'containedclause','wordrole', 'roleclausedistance'}, suppress={'chapter'}, withNodes=False)"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" 0.34s 440 results\n"
]
},
{
"data": {
"text/html": [
"verse 1"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:10
verse 10
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg Conj14CL
wgclass=cl*
wg
wg S-V-O coordinate
wgclass=cl
Ἐζεκίας
containedclause=101roleclausedistance=0wordrole=s
wg
wg S-V-O coordinate
wgclass=cl
wg DetNP Object
wgclass=np
Ἀμώς,
containedclause=104roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Ἀμὼς
containedclause=107roleclausedistance=0wordrole=s
δὲ
containedclause=67roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=107roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=107roleclausedistance=1wordrole=o
Ἰωσείαν,
containedclause=107roleclausedistance=1wordrole=o
wg
δὲ
containedclause=67roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=101roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=101roleclausedistance=1wordrole=o
Μανασσῆ,
containedclause=101roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Μανασσῆς
containedclause=104roleclausedistance=0wordrole=s
δὲ
containedclause=67roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=104roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=104roleclausedistance=1wordrole=o
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 2"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:11
verse 11
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg Conj14CL
wgclass=cl*
wg
wg S-V-O-ADV coordinate
wgclass=cl
Ἰωσείας
containedclause=110roleclausedistance=0wordrole=s
wg PrepNp Adverbial
wgclass=pp
ἐπὶ
containedclause=110roleclausedistance=1wordrole=adv
wg DetNP
wgclass=np
τῆς
containedclause=110roleclausedistance=2wordrole=adv
wg NPofNP
wgclass=np
μετοικεσίας
containedclause=110roleclausedistance=3wordrole=adv
Βαβυλῶνος.
containedclause=110roleclausedistance=3wordrole=adv
δὲ
containedclause=67roleclausedistance=0
wg S-V-O-ADV coordinate
wgclass=cl
ἐγέννησεν
containedclause=110roleclausedistance=0wordrole=v
wg NpaNp Object
wg DetNP
wgclass=np
τὸν
containedclause=110roleclausedistance=2wordrole=o
Ἰεχονίαν
containedclause=110roleclausedistance=2wordrole=o
wg
καὶ
containedclause=110roleclausedistance=2wordrole=o
wg DetNP
wgclass=np
τοὺς
containedclause=110roleclausedistance=3wordrole=o
wg NPofNP
wgclass=np
ἀδελφοὺς
containedclause=110roleclausedistance=4wordrole=o
αὐτοῦ
containedclause=110roleclausedistance=4wordrole=o
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 3"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:12
verse 12
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg Conj12CL
wgclass=cl*
wg ADV-S-V-O coordinate
wgclass=cl
wg PrepNp Adverbial
wgclass=pp
Μετὰ
containedclause=122roleclausedistance=1wordrole=adv
wg
wg S-V-O coordinate
wgclass=cl
Σαλαθιὴλ
containedclause=128roleclausedistance=0wordrole=s
δὲ
containedclause=121roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=128roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=128roleclausedistance=1wordrole=o
Ζοροβαβέλ,
containedclause=128roleclausedistance=1wordrole=o
δὲ
containedclause=120roleclausedistance=0
wg Conj12CL
wgclass=cl*
wg ADV-S-V-O coordinate
wgclass=cl
wg PrepNp Adverbial
wgclass=pp
wg DetNP
wgclass=np
τὴν
containedclause=122roleclausedistance=2wordrole=adv
wg NPofNP
wgclass=np
μετοικεσίαν
containedclause=122roleclausedistance=3wordrole=adv
Βαβυλῶνος
containedclause=122roleclausedistance=3wordrole=adv
Ἰεχονίας
containedclause=122roleclausedistance=0wordrole=s
ἐγέννησεν
containedclause=122roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=122roleclausedistance=1wordrole=o
Σαλαθιήλ,
containedclause=122roleclausedistance=1wordrole=o
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 4"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:13
verse 13
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg Conj12CL
wgclass=cl*
wg
wg S-V-O coordinate
wgclass=cl
Ζοροβαβὲλ
containedclause=131roleclausedistance=0wordrole=s
wg
wg S-V-O coordinate
wgclass=cl
wg DetNP Object
wgclass=np
Ἐλιακείμ,
containedclause=134roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Ἐλιακεὶμ
containedclause=137roleclausedistance=0wordrole=s
δὲ
containedclause=121roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=137roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=137roleclausedistance=1wordrole=o
Ἀζώρ,
containedclause=137roleclausedistance=1wordrole=o
wg
δὲ
containedclause=121roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=131roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=131roleclausedistance=1wordrole=o
Ἀβιούδ,
containedclause=131roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Ἀβιοὺδ
containedclause=134roleclausedistance=0wordrole=s
δὲ
containedclause=121roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=134roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=134roleclausedistance=1wordrole=o
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 5"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:14
verse 14
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg Conj12CL
wgclass=cl*
wg
wg S-V-O coordinate
wgclass=cl
Ἀζὼρ
containedclause=140roleclausedistance=0wordrole=s
wg
wg S-V-O coordinate
wgclass=cl
wg DetNP Object
wgclass=np
Ἀχείμ,
containedclause=143roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Ἀχεὶμ
containedclause=146roleclausedistance=0wordrole=s
δὲ
containedclause=121roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=146roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=146roleclausedistance=1wordrole=o
Ἐλιούδ,
containedclause=146roleclausedistance=1wordrole=o
wg
δὲ
containedclause=121roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=140roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=140roleclausedistance=1wordrole=o
Σαδώκ,
containedclause=140roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Σαδὼκ
containedclause=143roleclausedistance=0wordrole=s
δὲ
containedclause=121roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=143roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=143roleclausedistance=1wordrole=o
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 6"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:15
verse 15
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg Conj12CL
wgclass=cl*
wg
wg S-V-O coordinate
wgclass=cl
Ἐλιοὺδ
containedclause=149roleclausedistance=0wordrole=s
wg
wg S-V-O coordinate
wgclass=cl
wg DetNP Object
wgclass=np
Μαθθάν,
containedclause=152roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Μαθθὰν
containedclause=155roleclausedistance=0wordrole=s
δὲ
containedclause=121roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=155roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=155roleclausedistance=1wordrole=o
Ἰακώβ,
containedclause=155roleclausedistance=1wordrole=o
wg
δὲ
containedclause=121roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=149roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=149roleclausedistance=1wordrole=o
Ἐλεάζαρ,
containedclause=149roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Ἐλεάζαρ
containedclause=152roleclausedistance=0wordrole=s
δὲ
containedclause=121roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=152roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=152roleclausedistance=1wordrole=o
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 7"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:16
verse 16
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg Conj12CL
wgclass=cl*
wg
wg S-V-O coordinate
wgclass=cl
Ἰακὼβ
containedclause=158roleclausedistance=0wordrole=s
wg Np-Appos Object
wg DetNP
wgclass=np
wg NPofNP
wgclass=np
wg NP-CL
wgclass=cl*
wg ADV-V-S
wgclass=cl
wg PrepNp Adverbial
wgclass=pp
ἧς
containedclause=164roleclausedistance=1wordrole=adv
ἐγεννήθη
containedclause=164roleclausedistance=0wordrole=v
wg Np-Appos Subject
Ἰησοῦς
containedclause=164roleclausedistance=1wordrole=s
wg DetCL
wgclass=cl*
ὁ
containedclause=167roleclausedistance=2wordrole=s
wg VC-P
wgclass=cl
λεγόμενος
containedclause=168roleclausedistance=0wordrole=vc
Χριστός.
containedclause=168roleclausedistance=0wordrole=p
δὲ
containedclause=121roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=158roleclausedistance=0wordrole=v
wg Np-Appos Object
wg DetNP
wgclass=np
τὸν
containedclause=158roleclausedistance=2wordrole=o
Ἰωσὴφ
containedclause=158roleclausedistance=2wordrole=o
wg DetNP
wgclass=np
τὸν
containedclause=158roleclausedistance=2wordrole=o
wg NPofNP
wgclass=np
ἄνδρα
containedclause=158roleclausedistance=3wordrole=o
wg NP-CL
wgclass=cl*
Μαρίας,
containedclause=163roleclausedistance=4wordrole=o
wg ADV-V-S
wgclass=cl
wg PrepNp Adverbial
wgclass=pp
ἐξ
containedclause=164roleclausedistance=1wordrole=adv
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 8"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:19
verse 19
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg S-ADV-V-O
wgclass=cl
wg Np-Appos Subject
Ἰωσὴφ
containedclause=221roleclausedistance=1wordrole=s
wg CLaCL Adverbial subordinate
wgclass=cl*
wg
wg ADV-V-O coordinate
wgclass=cl
θέλων
containedclause=228roleclausedistance=0wordrole=v
wg O-V Object subordinate
wgclass=cl
αὐτὴν
containedclause=229roleclausedistance=0wordrole=o
δειγματίσαι,
containedclause=229roleclausedistance=0wordrole=v
ἐβουλήθη
containedclause=221roleclausedistance=0wordrole=v
wg ADV-V-O Object subordinate
wgclass=cl
λάθρᾳ
containedclause=230roleclausedistance=0wordrole=adv
ἀπολῦσαι
containedclause=230roleclausedistance=0wordrole=v
αὐτήν.
containedclause=230roleclausedistance=0wordrole=o
δὲ
containedclause=220roleclausedistance=0
wg S-ADV-V-O
wgclass=cl
wg Np-Appos Subject
wg DetNP
wgclass=np
ὁ
containedclause=221roleclausedistance=2wordrole=s
wg NPofNP
wgclass=np
ἀνὴρ
containedclause=221roleclausedistance=3wordrole=s
αὐτῆς,
containedclause=221roleclausedistance=3wordrole=s
wg CLaCL Adverbial subordinate
wgclass=cl*
wg P-VC coordinate
wgclass=cl
δίκαιος
containedclause=226roleclausedistance=0wordrole=p
ὢν
containedclause=226roleclausedistance=0wordrole=vc
wg
καὶ
containedclause=225roleclausedistance=2wordrole=adv
wg ADV-V-O coordinate
wgclass=cl
μὴ
containedclause=228roleclausedistance=0wordrole=adv
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 9"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:2
verse 2
sentence
wg
wgclass=to be skipped?
wg Conj13CL
wgclass=cl*
wg S-V-O coordinate
wgclass=cl
Ἀβραὰμ
containedclause=12roleclausedistance=0wordrole=s
wg
wg S-V-O coordinate
wgclass=cl
Ἰακὼβ
containedclause=18roleclausedistance=0wordrole=s
δὲ
containedclause=11roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=18roleclausedistance=0wordrole=v
wg NpaNp Object
wg DetNP
wgclass=np
τὸν
containedclause=18roleclausedistance=2wordrole=o
Ἰούδαν
containedclause=18roleclausedistance=2wordrole=o
wg
καὶ
containedclause=18roleclausedistance=2wordrole=o
wg DetNP
wgclass=np
τοὺς
containedclause=18roleclausedistance=3wordrole=o
wg NPofNP
wgclass=np
ἀδελφοὺς
containedclause=18roleclausedistance=4wordrole=o
αὐτοῦ,
containedclause=18roleclausedistance=4wordrole=o
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=12roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=12roleclausedistance=1wordrole=o
Ἰσαάκ,
containedclause=12roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Ἰσαὰκ
containedclause=15roleclausedistance=0wordrole=s
δὲ
containedclause=11roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=15roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=15roleclausedistance=1wordrole=o
Ἰακώβ,
containedclause=15roleclausedistance=1wordrole=o
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 10"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:20
verse 20
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg
wgclass=cl
wg O-S-V
wgclass=cl
ταῦτα
containedclause=234roleclausedistance=0wordrole=o
ἐφάνη
containedclause=233roleclausedistance=0wordrole=v
αὐτῷ
containedclause=233roleclausedistance=0wordrole=io
wg Adverbial
wgclass=cl
λέγων
containedclause=237roleclausedistance=0wordrole=v
wg CLaCL Object
wgclass=cl*
wg ClCl coordinate
wg
wgclass=cl
wg Np2CL Minor
wgclass=cl*
wg Np-Appos Auxiliar
Ἰωσὴφ
containedclause=241roleclausedistance=1wordrole=aux
wg NPofNP
wgclass=np
υἱὸς
containedclause=241roleclausedistance=2wordrole=aux
Δαυείδ,
containedclause=241roleclausedistance=2wordrole=aux
μὴ
containedclause=240roleclausedistance=0wordrole=adv
φοβηθῇς
containedclause=240roleclausedistance=0wordrole=v
wg V-O-O2 Object subordinate
wgclass=cl
παραλαβεῖν
containedclause=244roleclausedistance=0wordrole=v
Μαρίαν
containedclause=244roleclausedistance=0wordrole=o
δὲ
containedclause=232roleclausedistance=0
wg
wgclass=cl
wg Adverbial
wgclass=cl
wg CLaCL Object
wgclass=cl*
wg ClCl coordinate
wg
wgclass=cl
wg V-O-O2 Object subordinate
wgclass=cl
wg DetNP Second Object
wgclass=np
τὴν
containedclause=244roleclausedistance=1wordrole=o2
wg NPofNP
wgclass=np
γυναῖκά
containedclause=244roleclausedistance=2wordrole=o2
σου,
containedclause=244roleclausedistance=2wordrole=o2
wg sub-CL
wgclass=cl*
wg S-P-VC subordinate
wgclass=cl
wg DetCL Subject
wgclass=cl*
τὸ
containedclause=249roleclausedistance=1wordrole=s
γὰρ
containedclause=247roleclausedistance=3wordrole=o
wg S-P-VC subordinate
wgclass=cl
wg DetCL Subject
wgclass=cl*
wg ADV-V
wgclass=cl
wg PrepNp Adverbial
wgclass=pp
ἐν
containedclause=250roleclausedistance=1wordrole=adv
αὐτῇ
containedclause=250roleclausedistance=1wordrole=adv
γεννηθὲν
containedclause=250roleclausedistance=0wordrole=v
wg PrepNp Predicate
wgclass=pp
ἐκ
containedclause=248roleclausedistance=1wordrole=p
wg NpAdjp
wgclass=np
Πνεύματός
containedclause=248roleclausedistance=2wordrole=p
wg O-S-V
wgclass=cl
αὐτοῦ
containedclause=234roleclausedistance=0wordrole=s
wg Adverbial
wgclass=cl
wg CLaCL Object
wgclass=cl*
wg ClCl coordinate
wg sub-CL
wgclass=cl*
wg S-P-VC subordinate
wgclass=cl
ἐστιν
containedclause=248roleclausedistance=0wordrole=vc
wg PrepNp Predicate
wgclass=pp
wg NpAdjp
wgclass=np
Ἁγίου·
containedclause=248roleclausedistance=2wordrole=p
wg O-S-V
wgclass=cl
ἐνθυμηθέντος
containedclause=234roleclausedistance=0wordrole=v
ἰδοὺ
containedclause=233roleclausedistance=0wordrole=aux
wg NPofNP Subject
wgclass=np
ἄγγελος
containedclause=233roleclausedistance=1wordrole=s
Κυρίου
containedclause=233roleclausedistance=1wordrole=s
wg PrepNp Adverbial
wgclass=pp
κατ’
containedclause=233roleclausedistance=1wordrole=adv
ὄναρ
containedclause=233roleclausedistance=1wordrole=adv
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 11"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:21
verse 21
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg
wgclass=cl
wg Adverbial
wgclass=cl
wg CLaCL Object
wgclass=cl*
wg
wg CLaCL coordinate
wgclass=cl*
wg V-O coordinate
wgclass=cl
τέξεται
containedclause=256roleclausedistance=0wordrole=v
wg
wg
wgclass=cl
wg sub-CL Adverbial
wgclass=cl*
wg S-V-O-ADV subordinate
wgclass=cl
αὐτὸς
containedclause=262roleclausedistance=0wordrole=s
γὰρ
containedclause=261roleclausedistance=1wordrole=adv
wg S-V-O-ADV subordinate
wgclass=cl
σώσει
containedclause=262roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=262roleclausedistance=1wordrole=o
wg NPofNP
wgclass=np
λαὸν
containedclause=262roleclausedistance=2wordrole=o
αὐτοῦ
containedclause=262roleclausedistance=2wordrole=o
wg PrepNp Adverbial
wgclass=pp
ἀπὸ
containedclause=262roleclausedistance=1wordrole=adv
wg DetNP
wgclass=np
τῶν
containedclause=262roleclausedistance=2wordrole=adv
wg NPofNP
wgclass=np
ἁμαρτιῶν
containedclause=262roleclausedistance=3wordrole=adv
αὐτῶν.
containedclause=262roleclausedistance=3wordrole=adv
δὲ
containedclause=238roleclausedistance=2wordrole=o
wg CLaCL coordinate
wgclass=cl*
wg V-O coordinate
wgclass=cl
υἱὸν
containedclause=256roleclausedistance=0wordrole=o
wg
καὶ
containedclause=255roleclausedistance=4wordrole=o
wg
wgclass=cl
καλέσεις
containedclause=258roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸ
containedclause=258roleclausedistance=1wordrole=o
wg NPofNP
wgclass=np
ὄνομα
containedclause=258roleclausedistance=2wordrole=o
αὐτοῦ
containedclause=258roleclausedistance=2wordrole=o
Ἰησοῦν·
containedclause=258roleclausedistance=0wordrole=o2
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 12"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:22
verse 22
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg ClCl
wg S-V
wgclass=cl
wg NP-all Subject
wgclass=np
Τοῦτο
containedclause=271roleclausedistance=1wordrole=s
wg sub-CL
wgclass=cl*
wg V-S subordinate
wgclass=cl
wg DetCL Subject
wgclass=cl*
wg V-ADV-ADV-ADV
wgclass=cl
wg PrepNp Adverbial
wgclass=pp
Κυρίου
containedclause=276roleclausedistance=1wordrole=adv
wg PrepNp Adverbial
wgclass=pp
διὰ
containedclause=276roleclausedistance=1wordrole=adv
wg DetNP
wgclass=np
τοῦ
containedclause=276roleclausedistance=2wordrole=adv
προφήτου
containedclause=276roleclausedistance=2wordrole=adv
wg Adverbial
wgclass=cl
λέγοντος
containedclause=280roleclausedistance=0wordrole=v
δὲ
containedclause=269roleclausedistance=0
wg ClCl
wg S-V
wgclass=cl
wg NP-all Subject
wgclass=np
ὅλον
containedclause=271roleclausedistance=1wordrole=s
γέγονεν
containedclause=271roleclausedistance=0wordrole=v
wg sub-CL
wgclass=cl*
ἵνα
containedclause=273roleclausedistance=0
wg V-S subordinate
wgclass=cl
πληρωθῇ
containedclause=274roleclausedistance=0wordrole=v
wg DetCL Subject
wgclass=cl*
τὸ
containedclause=275roleclausedistance=1wordrole=s
wg V-ADV-ADV-ADV
wgclass=cl
ῥηθὲν
containedclause=276roleclausedistance=0wordrole=v
wg PrepNp Adverbial
wgclass=pp
ὑπὸ
containedclause=276roleclausedistance=1wordrole=adv
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 13"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:23
verse 23
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg ClCl
wg sub-CL
wgclass=cl*
wg V-S subordinate
wgclass=cl
wg DetCL Subject
wgclass=cl*
wg V-ADV-ADV-ADV
wgclass=cl
wg Adverbial
wgclass=cl
wg Object
wgclass=cl
Ἰδοὺ
containedclause=281roleclausedistance=0wordrole=aux
wg
καὶ
containedclause=281roleclausedistance=2wordrole=o
wg V-O-O2 coordinate
wgclass=cl
καλέσουσιν
containedclause=288roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸ
containedclause=288roleclausedistance=1wordrole=o
wg NPofNP
wgclass=np
ὄνομα
containedclause=288roleclausedistance=2wordrole=o
αὐτοῦ
containedclause=288roleclausedistance=2wordrole=o
wg NP-CL Second Object
wgclass=cl*
Ἐμμανουήλ,
containedclause=291roleclausedistance=1wordrole=o2
wg S-VC-P
wgclass=cl
ὅ
containedclause=292roleclausedistance=0wordrole=s
wg BeVerb Verbal Copula
wgclass=vp
ἐστιν
containedclause=292roleclausedistance=1wordrole=vc
μεθερμηνευόμενον
containedclause=292roleclausedistance=1wordrole=vc
wg P-S Verbless Predicate subordinate
wgclass=cl
wg PrepNp Predicate
wgclass=pp
Μεθ’
containedclause=294roleclausedistance=1wordrole=p
wg S-ADV-V coordinate
wgclass=cl
wg DetNP Subject
wgclass=np
ἡ
containedclause=282roleclausedistance=1wordrole=s
wg
wg V-O-O2 coordinate
wgclass=cl
wg NP-CL Second Object
wgclass=cl*
wg S-VC-P
wgclass=cl
wg P-S Verbless Predicate subordinate
wgclass=cl
wg PrepNp Predicate
wgclass=pp
ἡμῶν
containedclause=294roleclausedistance=1wordrole=p
wg DetNP Subject
wgclass=np
ὁ
containedclause=294roleclausedistance=1wordrole=s
Θεός.
containedclause=294roleclausedistance=1wordrole=s
wg S-ADV-V coordinate
wgclass=cl
wg DetNP Subject
wgclass=np
παρθένος
containedclause=282roleclausedistance=1wordrole=s
wg PrepNp Adverbial
wgclass=pp
ἐν
containedclause=282roleclausedistance=1wordrole=adv
γαστρὶ
containedclause=282roleclausedistance=1wordrole=adv
ἕξει
containedclause=282roleclausedistance=0wordrole=v
wg
καὶ
containedclause=281roleclausedistance=2wordrole=o
wg V-O coordinate
wgclass=cl
τέξεται
containedclause=286roleclausedistance=0wordrole=v
υἱόν,
containedclause=286roleclausedistance=0wordrole=o
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 14"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:24
verse 24
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg CLaCL
wgclass=cl*
wg CLaCL coordinate
wgclass=cl*
wg ClCl coordinate
wg S-ADV-V
wgclass=cl
wg V-ADV Adverbial subordinate
wgclass=cl
ἐγερθεὶς
containedclause=304roleclausedistance=0wordrole=v
wg sub-CL
wgclass=cl*
wg V-O-S subordinate
wgclass=cl
προσέταξεν
containedclause=308roleclausedistance=0wordrole=v
αὐτῷ
containedclause=308roleclausedistance=0wordrole=o
wg DetNP Subject
wgclass=np
ὁ
containedclause=308roleclausedistance=1wordrole=s
wg NPofNP
wgclass=np
ἄγγελος
containedclause=308roleclausedistance=2wordrole=s
Κυρίου,
containedclause=308roleclausedistance=2wordrole=s
wg
καὶ
containedclause=300roleclausedistance=0
wg CLaCL coordinate
wgclass=cl*
wg V-O coordinate
wgclass=cl
παρέλαβεν
containedclause=313roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὴν
containedclause=313roleclausedistance=1wordrole=o
wg NPofNP
wgclass=np
γυναῖκα
containedclause=313roleclausedistance=2wordrole=o
αὐτοῦ·
containedclause=313roleclausedistance=2wordrole=o
δὲ
containedclause=298roleclausedistance=0
wg CLaCL
wgclass=cl*
wg CLaCL coordinate
wgclass=cl*
wg ClCl coordinate
wg S-ADV-V
wgclass=cl
wg DetNP Subject
wgclass=np
ὁ
containedclause=302roleclausedistance=1wordrole=s
Ἰωσὴφ
containedclause=302roleclausedistance=1wordrole=s
wg V-ADV Adverbial subordinate
wgclass=cl
wg PrepNp Adverbial
wgclass=pp
ἀπὸ
containedclause=304roleclausedistance=1wordrole=adv
wg DetNP
wgclass=np
τοῦ
containedclause=304roleclausedistance=2wordrole=adv
ὕπνου
containedclause=304roleclausedistance=2wordrole=adv
ἐποίησεν
containedclause=302roleclausedistance=0wordrole=v
wg sub-CL
wgclass=cl*
ὡς
containedclause=307roleclausedistance=0
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 15"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:25
verse 25
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg CLaCL
wgclass=cl*
wg CLaCL coordinate
wgclass=cl*
wg
wg CLaCL coordinate
wgclass=cl*
wg
καὶ
containedclause=312roleclausedistance=0
wg
wg V-O-O2 coordinate
wgclass=cl
ἐκάλεσεν
containedclause=321roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸ
containedclause=321roleclausedistance=1wordrole=o
wg NPofNP
wgclass=np
ὄνομα
containedclause=321roleclausedistance=2wordrole=o
αὐτοῦ
containedclause=321roleclausedistance=2wordrole=o
Ἰησοῦν.
containedclause=321roleclausedistance=0wordrole=o2
wg CLaCL coordinate
wgclass=cl*
wg
wg CLaCL coordinate
wgclass=cl*
wg
wg ADV-V-O-ADV coordinate
wgclass=cl
οὐκ
containedclause=317roleclausedistance=0wordrole=adv
ἐγίνωσκεν
containedclause=317roleclausedistance=0wordrole=v
αὐτὴν
containedclause=317roleclausedistance=0wordrole=o
wg PrepNp Adverbial
wgclass=pp
ἕως
containedclause=317roleclausedistance=1wordrole=adv
wg ADV-V-O subordinate
wgclass=cl
οὗ
containedclause=319roleclausedistance=0wordrole=adv
ἔτεκεν
containedclause=319roleclausedistance=0wordrole=v
υἱόν·
containedclause=319roleclausedistance=0wordrole=o
wg
καὶ
containedclause=299roleclausedistance=0
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 16"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:3
verse 3
sentence
wg
wgclass=to be skipped?
wg Conj13CL
wgclass=cl*
wg
wg S-V-O-ADV coordinate
wgclass=cl
Ἰούδας
containedclause=25roleclausedistance=0wordrole=s
wg PrepNp Adverbial
wgclass=pp
wg DetNP
wgclass=np
τῆς
containedclause=25roleclausedistance=2wordrole=adv
Θάμαρ,
containedclause=25roleclausedistance=2wordrole=adv
wg
wg S-V-O coordinate
wgclass=cl
Φαρὲς
containedclause=33roleclausedistance=0wordrole=s
δὲ
containedclause=11roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=33roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=33roleclausedistance=1wordrole=o
Ἐσρώμ,
containedclause=33roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Ἐσρὼμ
containedclause=36roleclausedistance=0wordrole=s
δὲ
containedclause=11roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=36roleclausedistance=0wordrole=v
wg
δὲ
containedclause=11roleclausedistance=0
wg
wg S-V-O coordinate
wgclass=cl
wg DetNP Object
wgclass=np
τὸν
containedclause=36roleclausedistance=1wordrole=o
Ἀράμ,
containedclause=36roleclausedistance=1wordrole=o
wg
wg S-V-O-ADV coordinate
wgclass=cl
ἐγέννησεν
containedclause=25roleclausedistance=0wordrole=v
wg NpaNp Object
wg DetNP
wgclass=np
τὸν
containedclause=25roleclausedistance=2wordrole=o
Φαρὲς
containedclause=25roleclausedistance=2wordrole=o
wg
καὶ
containedclause=25roleclausedistance=2wordrole=o
wg DetNP
wgclass=np
τὸν
containedclause=25roleclausedistance=3wordrole=o
Ζαρὰ
containedclause=25roleclausedistance=3wordrole=o
wg PrepNp Adverbial
wgclass=pp
ἐκ
containedclause=25roleclausedistance=1wordrole=adv
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 17"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:4
verse 4
sentence
wg
wgclass=to be skipped?
wg Conj13CL
wgclass=cl*
wg
wg S-V-O coordinate
wgclass=cl
Ἀρὰμ
containedclause=39roleclausedistance=0wordrole=s
wg
wg S-V-O coordinate
wgclass=cl
wg DetNP Object
wgclass=np
Ναασσών,
containedclause=42roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Ναασσὼν
containedclause=45roleclausedistance=0wordrole=s
δὲ
containedclause=11roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=45roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=45roleclausedistance=1wordrole=o
Σαλμών,
containedclause=45roleclausedistance=1wordrole=o
wg
δὲ
containedclause=11roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=39roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=39roleclausedistance=1wordrole=o
Ἀμιναδάβ,
containedclause=39roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Ἀμιναδὰβ
containedclause=42roleclausedistance=0wordrole=s
δὲ
containedclause=11roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=42roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=42roleclausedistance=1wordrole=o
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 18"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:5
verse 5
sentence
wg
wgclass=to be skipped?
wg Conj13CL
wgclass=cl*
wg
wg S-V-O-ADV coordinate
wgclass=cl
Σαλμὼν
containedclause=48roleclausedistance=0wordrole=s
wg
δὲ
containedclause=11roleclausedistance=0
wg S-V-O-ADV coordinate
wgclass=cl
ἐγέννησεν
containedclause=53roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=53roleclausedistance=1wordrole=o
Ἰωβὴδ
containedclause=53roleclausedistance=1wordrole=o
wg PrepNp Adverbial
wgclass=pp
ἐκ
containedclause=53roleclausedistance=1wordrole=adv
wg DetNP
wgclass=np
τῆς
containedclause=53roleclausedistance=2wordrole=adv
Ῥούθ,
containedclause=53roleclausedistance=2wordrole=adv
wg
wg S-V-O coordinate
wgclass=cl
Ἰωβὴδ
containedclause=58roleclausedistance=0wordrole=s
δὲ
containedclause=11roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=58roleclausedistance=0wordrole=v
wg
δὲ
containedclause=11roleclausedistance=0
wg
wg S-V-O coordinate
wgclass=cl
wg DetNP Object
wgclass=np
τὸν
containedclause=58roleclausedistance=1wordrole=o
Ἰεσσαί,
containedclause=58roleclausedistance=1wordrole=o
wg
wg S-V-O-ADV coordinate
wgclass=cl
ἐγέννησεν
containedclause=48roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=48roleclausedistance=1wordrole=o
Βόες
containedclause=48roleclausedistance=1wordrole=o
wg PrepNp Adverbial
wgclass=pp
ἐκ
containedclause=48roleclausedistance=1wordrole=adv
wg DetNP
wgclass=np
τῆς
containedclause=48roleclausedistance=2wordrole=adv
Ῥαχάβ,
containedclause=48roleclausedistance=2wordrole=adv
wg
wg S-V-O-ADV coordinate
wgclass=cl
Βόες
containedclause=53roleclausedistance=0wordrole=s
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 19"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:6
verse 6
sentence
wg
wgclass=to be skipped?
wg Conj13CL
wgclass=cl*
wg
wg S-V-O coordinate
wgclass=cl
Ἰεσσαὶ
containedclause=61roleclausedistance=0wordrole=s
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg Conj14CL
wgclass=cl*
wg S-V-O-ADV coordinate
wgclass=cl
ἐγέννησεν
containedclause=68roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=68roleclausedistance=1wordrole=o
Σολομῶνα
containedclause=68roleclausedistance=1wordrole=o
wg PrepNp Adverbial
wgclass=pp
ἐκ
containedclause=68roleclausedistance=1wordrole=adv
wg NPofNP
wgclass=np
τῆς
containedclause=68roleclausedistance=2wordrole=adv
wg DetNP
wgclass=np
τοῦ
containedclause=68roleclausedistance=3wordrole=adv
Οὐρίου,
containedclause=68roleclausedistance=3wordrole=adv
sentence
wg
wgclass=to be skipped?
wg Conj13CL
wgclass=cl*
wg
δὲ
containedclause=11roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=61roleclausedistance=0wordrole=v
wg Np-Appos Object
wg DetNP
wgclass=np
τὸν
containedclause=61roleclausedistance=2wordrole=o
Δαυεὶδ
containedclause=61roleclausedistance=2wordrole=o
wg DetNP
wgclass=np
τὸν
containedclause=61roleclausedistance=2wordrole=o
βασιλέα.
containedclause=61roleclausedistance=2wordrole=o
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg Conj14CL
wgclass=cl*
wg S-V-O-ADV coordinate
wgclass=cl
Δαυεὶδ
containedclause=68roleclausedistance=0wordrole=s
δὲ
containedclause=66roleclausedistance=0
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"verse 20"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
"Matthew 1:7
verse 7
sentence
wg
wgclass=to be skipped?
wg Conj-CL
wgclass=cl*
wg Conj14CL
wgclass=cl*
wg
wg S-V-O coordinate
wgclass=cl
Σολομὼν
containedclause=74roleclausedistance=0wordrole=s
wg
wg S-V-O coordinate
wgclass=cl
wg DetNP Object
wgclass=np
Ἀβιά,
containedclause=77roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Ἀβιὰ
containedclause=80roleclausedistance=0wordrole=s
δὲ
containedclause=67roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=80roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=80roleclausedistance=1wordrole=o
Ἀσάφ,
containedclause=80roleclausedistance=1wordrole=o
wg
δὲ
containedclause=67roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=74roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=74roleclausedistance=1wordrole=o
Ῥοβοάμ,
containedclause=74roleclausedistance=1wordrole=o
wg
wg S-V-O coordinate
wgclass=cl
Ῥοβοὰμ
containedclause=77roleclausedistance=0wordrole=s
δὲ
containedclause=67roleclausedistance=0
wg S-V-O coordinate
wgclass=cl
ἐγέννησεν
containedclause=77roleclausedistance=0wordrole=v
wg DetNP Object
wgclass=np
τὸν
containedclause=77roleclausedistance=1wordrole=o
"
],
"text/plain": [
""
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"Search0 = '''\n",
"book book=Matthew\n",
" chapter chapter=1\n",
" wg wgclass=cl\n",
" word wordrole=v\n",
" word wordrole=o\n",
"'''\n",
"Search0 = NA.search(Search0)\n",
"NA.show(Search0, start=1, end=20, condensed=True, extraFeatures={'containedclause','wordrole', 'roleclausedistance'}, suppress={'chapter'}, colorMap={4:'pink', 5:'turquoise', 6:'lightblue', 7:'red'}, multiFeatures=False)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Step 3 dump some structure information"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"A heading is a tuple of pairs (node type, feature value)\n",
"\tof node types and features that have been configured as structural elements\n",
"These 3 structural elements have been configured\n",
"\tnode type book with heading feature book\n",
"\tnode type chapter with heading feature chapter\n",
"\tnode type verse with heading feature verse\n",
"You can get them as a tuple with T.headings.\n",
"\n",
"Structure API:\n",
"\tT.structure(node=None) gives the structure below node, or everything if node is None\n",
"\tT.structurePretty(node=None) prints the structure below node, or everything if node is None\n",
"\tT.top() gives all top-level nodes\n",
"\tT.up(node) gives the (immediate) parent node\n",
"\tT.down(node) gives the (immediate) children nodes\n",
"\tT.headingFromNode(node) gives the heading of a node\n",
"\tT.nodeFromHeading(heading) gives the node of a heading\n",
"\tT.ndFromHd complete mapping from headings to nodes\n",
"\tT.hdFromNd complete mapping from nodes to headings\n",
"\tT.hdMult are all headings with their nodes that occur multiple times\n",
"\n",
"There are 8230 structural elements in the dataset.\n",
"\n"
]
}
],
"source": [
"T.structureInfo()"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'Availability': 'Creative Commons Attribution 4.0 International (CC BY 4.0)',\n",
" 'Converter_author': 'Tony Jurg, ReMa Student Vrije Universiteit Amsterdam, Netherlands',\n",
" 'Converter_execution': 'Tony Jurg, ReMa Student Vrije Universiteit Amsterdam, Netherlands',\n",
" 'Converter_version': '0.2',\n",
" 'Convertor_source': 'https://github.com/tonyjurg/Nestle1904LFT/tree/main/tools',\n",
" 'Data source': 'MACULA Greek Linguistic Datasets, available at https://github.com/Clear-Bible/macula-greek/tree/main/Nestle1904/lowfat',\n",
" 'Editors': 'Eberhard Nestle',\n",
" 'Name': 'Greek New Testament (Nestle 1904 based on Low Fat Tree)',\n",
" 'TextFabric version': '11.4.10',\n",
" 'fmt:text-orig-full': '{word}{after}',\n",
" 'sectionFeatures': 'book,chapter,verse',\n",
" 'sectionTypes': 'book,chapter,verse',\n",
" 'structureFeatures': 'book,chapter,verse',\n",
" 'structureTypes': 'book,chapter,verse',\n",
" 'writtenBy': 'Text-Fabric',\n",
" 'dateWritten': '2023-05-17T19:47:20Z'}"
]
},
"execution_count": 22,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"TF.features['otext'].metaData"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Running text fabric browser \n",
"\n",
"Note that the normal invocation would be:\n",
"\n",
"`!tf tonyjurg\\Nestle1904LFT`"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {
"scrolled": true
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"^C\n"
]
}
],
"source": [
"!tf app:\\text-fabric-data\\github\\tonyjurg\\Nestle1904LFT\\app data:\\text-fabric-data\\github\\tonyjurg\\Nestle1904LFT\\tf\\0.2"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": true,
"toc_position": {
"height": "calc(100% - 180px)",
"left": "10px",
"top": "150px",
"width": "321.391px"
},
"toc_section_display": true,
"toc_window_display": true
}
},
"nbformat": 4,
"nbformat_minor": 4
}