You might want to consider the start of this tutorial.

Short introductions to other TF datasets:

Rich display

Text-Fabric offers pretty and plain displays of textual objects.

A plain display of an object is a simple reference to that object if it is big, or the text of that object if it is small.

A pretty display of an object is a representation of the structure of that object. It contains text and features of sub objects. Provided the object is not too big.

In [1]:
%load_ext autoreload
%autoreload 2

Incantation

The ins and outs of installing Text-Fabric, getting the corpus, and initializing a notebook are explained in the start tutorial.

In [2]:
from tf.app import use
In [3]:
A = use("etcbc/bhsa", hoist=globals())
TF-app: ~/text-fabric-data/etcbc/bhsa/app
data: ~/text-fabric-data/etcbc/bhsa/tf/2021
data: ~/text-fabric-data/etcbc/phono/tf/2021
data: ~/text-fabric-data/etcbc/parallels/tf/2021
This is Text-Fabric 9.2.3
Api reference : https://annotation.github.io/text-fabric/tf/cheatsheet.html

122 features found and 0 ignored
Text-Fabric: Text-Fabric API 9.2.3, etcbc/bhsa/app v3, Search Reference
Data: BHSA, Character table, Feature docs
Features:
Parallel Passages
int
🆗 links between similar passages
author:
BHSA Data: Constantijn Sikkel; Parallels Notebook: Dirk Roorda, Martijn Naaijer
coreData:
BHSA
dateWritten:
2021-12-09T14:40:46Z
provenance:
Parallels notebook, see https://github.com/ETCBC/parallels
version:
2021
writtenBy:
Text-Fabric
BHSA = Biblia Hebraica Stuttgartensia Amstelodamensis
str
✅ book name in Latin (Genesis; Numeri; Reges1; ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:17:55Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ book name in amharic (ኣማርኛ)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:20:27Z
email:
shebanq@ancient-data.org
encoders:
Dirk Roorda (TF)
language:
ኣማርኛ
languageCode:
am
languageEnglish:
amharic
provenance:
book names from wikipedia and other sources
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
int
✅ chapter number (1; 2; 3; ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:17:55Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
int
✅ identifier of a clause atom relationship (0; 74; 367; ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:17:56Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
det
str
✅ determinedness of phrase(atom) (det; und; NA.)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:17:56Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ text type of clause (? (Unknown); N (narrative); D (discursive); Q (Quotation).)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:17:57Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
int
✅ frequency of lexemes
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:24:45Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
computed on the basis of the ETCBC core set of features
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ syntactic function of phrase (Cmpl; Objc; Pred; ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:17:57Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ word consonantal-transliterated (B R>CJT BR> >LHJM ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:17:57Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ word consonantal-Hebrew (ב ראשׁית ברא אלהים)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:17:58Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ lexeme pointed-transliterated (B.:- R;>CIJT B.@R@> >:ELOH ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:17:58Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ lexeme pointed-Hebrew (בְּ רֵאשִׁית בָּרָא אֱלֹה)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:17:59Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ word pointed-transliterated (B.:- R;>CI73JT B.@R@74> >:ELOHI92JM)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:04Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ word pointed-Hebrew (בְּ רֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:04Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
🆗 english translation of lexeme (beginning create god(s))
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:21:13Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional lexicon file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
gn
str
✅ grammatical gender (m; f; NA; unknown.)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:05Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ (half-)verse label (half verses: A; B; C; verses: GEN 01,02)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:06Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ of word or lexeme (Hebrew; Aramaic.)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:21:13Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional lexicon file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
lex
str
✅ lexeme consonantal-transliterated (B R>CJT/ BR>[ >LHJM/)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:21:14Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional lexicon file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ lexeme consonantal-Hebrew (ב ראשׁית֜ ברא אלהים֜)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:21:15Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional lexicon file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
ls
str
✅ lexical set, subclassification of part-of-speech (card; ques; mult)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:21:15Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional lexicon file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
⚠️ named entity type (pers; mens; gens; topo; ppde.)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:21:15Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional lexicon file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
nme
str
✅ nominal ending consonantal-transliterated (absent; n/a; JM, ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:08Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
nu
str
✅ grammatical number (sg; du; pl; NA; unknown.)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:08Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
int
✅ sequence number of an object within its context
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:09Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:21:15Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
🆗 hierarchical paragraph number (1; 1.2; 1.2.3.4; ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:22:50Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional paragraph file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
pdp
str
✅ phrase dependent part-of-speech (art; verb; subs; nmpr, ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:10Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
pfm
str
✅ preformative consonantal-transliterated (absent; n/a; J, ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:11Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
prs
str
✅ pronominal suffix consonantal-transliterated (absent; n/a; W; ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:11Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ pronominal suffix gender (m; f; NA; unknown.)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:11Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ pronominal suffix number (sg; du; pl; NA; unknown.)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:12Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ pronominal suffix person (p1; p2; p3; NA; unknown.)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:12Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
ps
str
✅ grammatical person (p1; p2; p3; NA; unknown.)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:12Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ word pointed-transliterated masoretic reading correction
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:23:29Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional ketiv/qere file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ interword material -pointed-transliterated (Masoretic correction)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:23:29Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional ketiv/qere file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ interword material -pointed-transliterated (Masoretic correction)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:23:29Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional ketiv/qere file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ word pointed-Hebrew masoretic reading correction
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:23:29Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional ketiv/qere file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
int
✅ ranking of lexemes based on freqnuecy
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:24:46Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
computed on the basis of the ETCBC core set of features
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ linguistic relation between clause/(sub)phrase(atom) (ADJ; MOD; ATR; ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:13Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
sp
str
✅ part-of-speech (art; verb; subs; nmpr, ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:21:16Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional lexicon file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
st
str
✅ state of a noun (a (absolute); c (construct); e (emphatic).)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:14Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
tab
int
✅ clause atom: its level in the linguistic embedding
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:16Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ interword material pointed-transliterated (& 00 05 00_P ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:01Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ interword material pointed-Hebrew (־ ׃)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:01Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
txt
str
✅ text type of clause and surrounding (repetion of ? N D Q as in feature domain)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:16Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
typ
str
✅ clause/phrase(atom) type (VP; NP; Ellp; Ptcp; WayX)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:16Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
uvf
str
✅ univalent final consonant consonantal-transliterated (absent; N; J; ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:17Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
vbe
str
✅ verbal ending consonantal-transliterated (n/a; W; ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:17Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
vbs
str
✅ root formation consonantal-transliterated (absent; n/a; H; ...)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:17Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
int
✅ verse number
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:18Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ vocalized lexeme pointed-transliterated (B.: R;>CIJT BR> >:ELOHIJM)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:21:16Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional lexicon file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
str
✅ vocalized lexeme pointed-Hebrew (בְּ רֵאשִׁית ברא אֱלֹהִים)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:21:17Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
provenance:
from additional lexicon file provided by the ETCBC
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
vs
str
✅ verbal stem (qal; piel; hif; apel; pael)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:18Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
vt
str
✅ verbal tense (perf; impv; wayq; infc)
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:18Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
none
✅ linguistic dependency between textual objects
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:18:22Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
none
author:
Eep Talstra Centre for Bible and Computer
dataset:
BHSA
datasetName:
Biblia Hebraica Stuttgartensia Amstelodamensis
dateWritten:
2021-12-09T14:21:17Z
email:
shebanq@ancient-data.org
encoders:
Constantijn Sikkel (QDF), Ulrik Petersen (MQL) and Dirk Roorda (TF)
version:
2021
website:
https://shebanq.ancient-data.org
writtenBy:
Text-Fabric
Phonetic Transcriptions
str
🆗 phonological transcription (bᵊ rēšˌîṯ bārˈā ʔᵉlōhˈîm)
author:
BHSA Data: Constantijn Sikkel; Phono Notebook: Dirk Roorda
coreData:
BHSA
dateWritten:
2021-12-09T14:25:55Z
provenance:
computed by the phono notebook, see https://github.com/ETCBC/phono
version:
2021
writtenBy:
Text-Fabric
str
🆗 interword material in phonological transcription
author:
BHSA Data: Constantijn Sikkel; Phono Notebook: Dirk Roorda
coreData:
BHSA
dateWritten:
2021-12-09T14:25:55Z
provenance:
computed by the phono notebook, see https://github.com/ETCBC/phono
version:
2021
writtenBy:
Text-Fabric
Text-Fabric API: names N F E L T S C TF directly usable

Arbitrary nodes

We pretty-print some (arbitrary) nodes.

The first verse.

In [4]:
v1 = A.nodeFromSectionStr("Genesis 1:1")
v1
Out[4]:
1414389

With standard features displayed:

In [6]:
A.pretty(v1, standardFeatures=True)
verse
sentence 1
clause xQtX NA
phrase PP Time
inpdp=prep
beginningpdp=subs
phrase VP Pred
createpdp=verbvs=qalvt=perf
phrase NP Subj
god(s)pdp=subs
phrase PP Objc
<object marker>pdp=prep
thepdp=art
heavenspdp=subs
andpdp=conj
<object marker>pdp=prep
thepdp=art
earthpdp=subs

Now a phrase. We display it with little and with much information.

In [7]:
phrase = 651605
A.pretty(phrase, withNodes=False, prettyTypes=False)
A.pretty(phrase, withNodes=True, standardFeatures=True, hideTypes=False)
phrase:651605 PP Cmpl
phrase_atom:904808 PP NA
subphrase:1300549
intervalpdp=prep
52 הָ
thepdp=art
lightpdp=subs
54 וּ
andpdp=conj
subphrase:1300550
intervalpdp=prep
56 הַ
thepdp=art
darknesspdp=subs

If we want to see the subphrases but not the phrase atoms:

In [8]:
A.pretty(phrase, withNodes=True, standardFeatures=True, hiddenTypes="phrase_atom")
phrase:651605 PP Cmpl
subphrase:1300549
intervalpdp=prep
52 הָ
thepdp=art
lightpdp=subs
54 וּ
andpdp=conj
subphrase:1300550
intervalpdp=prep
56 הַ
thepdp=art
darknesspdp=subs

Use the following to find out which display options are available and what their current values are.

In [9]:
A.displayShow()

current display options

1. baseTypes

  1. word

</details>

2. colorMap

None

</details>

3. condenseType

verse

</details>

4. condensed

False

</details>

5. end

None

</details>

6. extraFeatures

  1. ()
  2. {}

</details>

7. fmt

None

</details>

8. full

False

</details>

9. hiddenTypes

  1. clause_atom
  2. half_verse
  3. phrase_atom
  4. sentence_atom
  5. subphrase

</details>

10. hideTypes

True

</details>

11. highlights

{}

</details>

12. lineNumbers

None

</details>

13. noneValues

  1. none
  2. unknown
  3. None
  4. NA

</details>

14. plainGaps

True

</details>

15. prettyTypes

True

</details>

16. queryFeatures

True

</details>

17. showGraphics

None

</details>

18. skipCols

set()

</details>

19. standardFeatures

False

</details>

20. start

None

</details>

21. suppress

set()

</details>

22. tupleFeatures

()

</details>

23. withNodes

False

</details>

24. withPassage

True

</details>

25. withTypes

False

</details> </details>

Where is this phrase on SHEBANQ? You can click on the passage reference.

You can generate a link that points to where a node is on SHEBANQ as follows:

In [10]:
A.webLink(phrase)

If you want just the url:

In [11]:
A.webLink(phrase, urlOnly=True)
Out[11]:
'https://shebanq.ancient-data.org/hebrew/text?book=Genesis&chapter=1&verse=4&version=2021&mr=m&qw=q&tp=txt_p&tr=hb&wget=v&qget=v&nget=vt'

A link to another passage:

In [12]:
z = A.nodeFromSectionStr("Ezra 3:4")
In [13]:
A.webLink(z)

Plain

We can represent a node in plain representation and highlight specific portions.

In [14]:
firstVerse = F.otype.s("verse")[0]
allPhrases = F.otype.s("phrase")
phrases = {allPhrases[1], allPhrases[3]}
words = (2, 4, 6, 9)
In [15]:
firstSentence = F.otype.s("sentence")[0]
A.plain(firstSentence)
Genesis 1:1  בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃

First we highlight some words:

In [16]:
highlights = set(words)
A.plain(firstVerse, highlights=highlights)
Genesis 1:1  בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃

Now some phrases:

In [17]:
highlights = set(phrases)
print(highlights)
A.plain(firstVerse, highlights=highlights)
{651576, 651574}
Genesis 1:1  בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃

As you see, when we highlight bigger things than words, we put a highlighted border around the words in those things.

We can do both:

In [18]:
highlights = set(phrases) | set(words)
A.plain(firstVerse, highlights=highlights)
Genesis 1:1  בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃

We can also highlight the verse itself.

In [19]:
highlights = {firstVerse}
A.plain(firstVerse, highlights=highlights)
Genesis 1:1  בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃

We can use different colors for highlighting:

  • some words are red
  • some other words are green
  • phrases are blue
In [20]:
highlights = {i: "lightsalmon" for i in [1, 5, 9]}
highlights.update({i: "mediumaquamarine" for i in [3, 7]})
highlights.update({i: "blue" for i in phrases})
highlights.update({firstVerse: "#eeeeee"})
A.plain(firstVerse, highlights=highlights)
Genesis 1:1  בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃

Pretty

We define two verse nodes:

In [21]:
verse1 = A.nodeFromSectionStr("Genesis 1:7")
verse2 = A.nodeFromSectionStr("Genesis 1:17")

and display the first one:

In the next verse we choose a bit more to display: we include standard features:

In [23]:
A.pretty(verse2, standardFeatures=True)
verse
sentence 46
clause WayX NA
phrase CP Conj
andpdp=conj
phrase VP Pred
givepdp=verbvs=qalvt=wayq
phrase PP Objc
<object marker>pdp=prep
phrase NP Subj
god(s)pdp=subs
phrase PP Cmpl
inpdp=prep
firmamentpdp=subs
thepdp=art
heavenspdp=subs
clause InfC Adju
phrase VP Pred
topdp=prep
be lightpdp=verbvs=hifvt=infc
phrase PP Cmpl
uponpdp=prep
thepdp=art
earthpdp=subs

The labels of the nodes come from features in the data: hover over a label to see which feature is responsible. The same holds for the unnamed features below the words, in particular the gloss.

Note that the sentence in this verse continues after the verse ends, that is why it has no left border.

In the BHSA,entences, clauses and phrases may be discontinuous. The designers of the BHSA data (Eep Talstra and Constantijn Sikkel et al.) have added node types sentence_atom, clause_atom and phrase_atom.

They are the continuous chunks within the objects of their corresponding non-atom types. The atom types form a nice nest of building blocks.

Usually we hide the atom types from view. But we can make them visible:

In [24]:
A.pretty(verse2, hideTypes=False)
verse
half_verse
sentence
sentence_atom
clause
clause_atom
phrase
phrase_atom
phrase
phrase
phrase_atom
phrase
phrase
half_verse
sentence
sentence_atom
clause
clause_atom
phrase

Back to the view without the atoms.

We can even leave out the node types:

We put in the features (again) and also add node numbers:

In [26]:
A.pretty(verse2, withNodes=True, standardFeatures=True)
verse:1414405
sentence:1172353 46
clause:427617 WayX NA
phrase:651751 CP Conj
314 וַ
andpdp=conj
phrase:651752 VP Pred
givepdp=verbvs=qalvt=wayq
phrase:651753 PP Objc
<object marker>pdp=prep
phrase:651754 NP Subj
god(s)pdp=subs
phrase:651755 PP Cmpl
318 בִּ
inpdp=prep
firmamentpdp=subs
320 הַ
thepdp=art
heavenspdp=subs
clause:427618 InfC Adju
phrase:651756 VP Pred
322 לְ
topdp=prep
be lightpdp=verbvs=hifvt=infc
phrase:651757 PP Cmpl
uponpdp=prep
325 הָ
thepdp=art
earthpdp=subs

Now we selectively remove a few features from the display:

In [27]:
A.pretty(verse2, standardFeatures=True, suppress={"gloss", "typ"})
verse
sentence 46
clause NA
phrase Conj
pdp=conj
phrase Pred
pdp=verbvs=qalvt=wayq
phrase Objc
phrase Subj
phrase Cmpl
clause Adju
phrase Pred
pdp=prep
pdp=verbvs=hifvt=infc
phrase Cmpl
pdp=prep
pdp=art

Now we add features to the display: lex and g_word :

In [28]:
A.displaySetup(extraFeatures=["lex", "g_word"], standardFeatures=True)

We also made standardFeatures=True) the temporary default.

In [29]:
A.pretty(verse2)
verse
sentence 46
clause WayX NA
phrase CP Conj
andpdp=conjg_word=WA-lex=W
phrase VP Pred
givepdp=verbvs=qalvt=wayqg_word=J.IT.;71Nlex=NTN[
phrase PP Objc
<object marker>pdp=prepg_word=>OT@91Mlex=>T
phrase NP Subj
god(s)pdp=subsg_word=>:ELOHI73JMlex=>LHJM/
phrase PP Cmpl
inpdp=prepg_word=B.I-lex=B
firmamentpdp=subsg_word=R:QI74J<Alex=RQJ</
thepdp=artg_word=HA-lex=H
heavenspdp=subsg_word=C.@M@92JIMlex=CMJM/
clause InfC Adju
phrase VP Pred
topdp=prepg_word=L:-lex=L
be lightpdp=verbvs=hifvt=infcg_word=H@>I73JRlex=>WR[
phrase PP Cmpl
uponpdp=prepg_word=<ALlex=<L
thepdp=artg_word=H@-lex=H
earthpdp=subsg_word=>@75REYlex=>RY/

and we reset the pretty features to the default values:

In [30]:
A.displayReset("extraFeatures")
In [31]:
A.pretty(verse2)
verse
sentence 46
clause WayX NA
phrase CP Conj
andpdp=conj
phrase VP Pred
givepdp=verbvs=qalvt=wayq
phrase PP Objc
<object marker>pdp=prep
phrase NP Subj
god(s)pdp=subs
phrase PP Cmpl
inpdp=prep
firmamentpdp=subs
thepdp=art
heavenspdp=subs
clause InfC Adju
phrase VP Pred
topdp=prep
be lightpdp=verbvs=hifvt=infc
phrase PP Cmpl
uponpdp=prep
thepdp=art
earthpdp=subs

We can also opt for less detail: suppose we do not want to dig deeper than the phrases:

In [32]:
A.pretty(verse2, baseTypes={"phrase"})
verse
sentence 46
clause WayX NA
phrase וַ
phrase יִּתֵּ֥ן
phrase אֹתָ֛ם
phrase אֱלֹהִ֖ים
phrase בִּרְקִ֣יעַ הַשָּׁמָ֑יִם
clause InfC Adju
phrase לְהָאִ֖יר
phrase עַל־הָאָֽרֶץ׃

or if clauses are enough:

In [33]:
A.pretty(verse2, baseTypes={"clause"})
verse
sentence 46
clause וַיִּתֵּ֥ן אֹתָ֛ם אֱלֹהִ֖ים בִּרְקִ֣יעַ הַשָּׁמָ֑יִם
clause לְהָאִ֖יר עַל־הָאָֽרֶץ׃

even sentences are possible:

In [34]:
A.pretty(verse2, baseTypes={"sentence"})
verse
sentence וַיִּתֵּ֥ן אֹתָ֛ם אֱלֹהִ֖ים בִּרְקִ֣יעַ הַשָּׁמָ֑יִם לְהָאִ֖יר עַל־הָאָֽרֶץ׃

Before we go on, we reset the display completely.

In [35]:
A.displayReset()

Query results

We run a TF query and show some of its results with a lot of pomp and circumstance. The query is written by Stephen Ku, and he is the one who prompted me to write rich display function for query results.

It asks for a sentence in which there are three clauses, each entirely before the next one.

The first clause has a predicate phrase containing a verb.

The second clause has a predicate phrase, a verb is not required nor forbidden.

The third clause has an object phrase containing a (proper) noun or personal/demonstrative/interrogative pronoun.

In [36]:
ellipQuery = """
sentence
  c1:clause
    phrase function=Pred
      word pdp=verb
  c2:clause
    phrase function=Pred
  c3:clause typ=Ellp
    phrase function=Objc
      word pdp=subs|nmpr|prps|prde|prin
  c1 << c2
  c2 << c3
"""

Above is the query template. Now we run the query.

In [37]:
results = A.search(ellipQuery)
  1.62s 1473 results

There are several ways to present the results. Here are results 10-12 in a table:

In [38]:
A.table(results, start=10, end=12)
npsentenceclausephrasewordclausephraseclausephraseword
10Exodus 18:8וַיְסַפֵּ֤ר מֹשֶׁה֙ לְחֹ֣תְנֹ֔ו אֵת֩ כָּל־אֲשֶׁ֨ר עָשָׂ֤ה יְהוָה֙ לְפַרְעֹ֣ה וּלְמִצְרַ֔יִם עַ֖ל אֹודֹ֣ת יִשְׂרָאֵ֑ל אֵ֤ת כָּל־הַתְּלָאָה֙ אֲשֶׁ֣ר מְצָאָ֣תַם בַּדֶּ֔רֶךְ וַיַּצִּלֵ֖ם יְהוָֽה׃ וַיְסַפֵּ֤ר מֹשֶׁה֙ לְחֹ֣תְנֹ֔ו אֵת֩ כָּל־יְסַפֵּ֤ר יְסַפֵּ֤ר אֲשֶׁ֨ר עָשָׂ֤ה יְהוָה֙ לְפַרְעֹ֣ה וּלְמִצְרַ֔יִם עַ֖ל אֹודֹ֣ת יִשְׂרָאֵ֑ל עָשָׂ֤ה אֵ֤ת כָּל־הַתְּלָאָה֙ אֵ֤ת כָּל־הַתְּלָאָה֙ כָּל־
11Exodus 18:8וַיְסַפֵּ֤ר מֹשֶׁה֙ לְחֹ֣תְנֹ֔ו אֵת֩ כָּל־אֲשֶׁ֨ר עָשָׂ֤ה יְהוָה֙ לְפַרְעֹ֣ה וּלְמִצְרַ֔יִם עַ֖ל אֹודֹ֣ת יִשְׂרָאֵ֑ל אֵ֤ת כָּל־הַתְּלָאָה֙ אֲשֶׁ֣ר מְצָאָ֣תַם בַּדֶּ֔רֶךְ וַיַּצִּלֵ֖ם יְהוָֽה׃ וַיְסַפֵּ֤ר מֹשֶׁה֙ לְחֹ֣תְנֹ֔ו אֵת֩ כָּל־יְסַפֵּ֤ר יְסַפֵּ֤ר אֲשֶׁ֨ר עָשָׂ֤ה יְהוָה֙ לְפַרְעֹ֣ה וּלְמִצְרַ֔יִם עַ֖ל אֹודֹ֣ת יִשְׂרָאֵ֑ל עָשָׂ֤ה אֵ֤ת כָּל־הַתְּלָאָה֙ אֵ֤ת כָּל־הַתְּלָאָה֙ תְּלָאָה֙
12Exodus 23:15אֶת־חַ֣ג הַמַּצֹּות֮ תִּשְׁמֹר֒ וְחַ֤ג הַקָּצִיר֙ בִּכּוּרֵ֣י מַעֲשֶׂ֔יךָ אֲשֶׁ֥ר תִּזְרַ֖ע בַּשָּׂדֶ֑ה וְחַ֤ג הָֽאָסִף֙ בְּצֵ֣את הַשָּׁנָ֔ה בְּאָסְפְּךָ֥ אֶֽת־מַעֲשֶׂ֖יךָ מִן־הַשָּׂדֶֽה׃ אֶת־חַ֣ג הַמַּצֹּות֮ תִּשְׁמֹר֒ תִּשְׁמֹר֒ תִּשְׁמֹר֒ אֲשֶׁ֥ר תִּזְרַ֖ע בַּשָּׂדֶ֑ה תִּזְרַ֖ע וְחַ֤ג הָֽאָסִף֙ חַ֤ג הָֽאָסִף֙ חַ֤ג

You can also show the results in pretty displays. The A.show() function asks you for some limits (it will not show more than 100 at a time), and then it displays them.

It lists the results as follows:

  • a heading showing which result in the sequence of all results this is
  • a display of all verses that have result material, with the places highlighted that correspond to a node in the result tuple

We show result 10 only.

In [39]:
A.show(results, start=10, end=10, withNodes=True)

result 10

verse:1416396
sentence:1178457
clause:435513
typ=WayX
phrase:675504
function=Conjtyp=CP
38605 וַ
pdp=conj
phrase:675505
function=Predtyp=VP
pdp=verb
phrase:675506
function=Subjtyp=PrNP
pdp=nmpr
phrase:675507
function=Cmpltyp=PP
38608 לְ
pdp=prep
pdp=subs
phrase:675508
function=Objctyp=PP
38610 אֵת֩
pdp=prep
pdp=subs
clause:435514
typ=xQtX
phrase:675509
function=Relatyp=CP
pdp=conj
phrase:675510
function=Predtyp=VP
pdp=verb
phrase:675511
function=Subjtyp=PrNP
pdp=nmpr
phrase:675512
function=Cmpltyp=PP
38615 לְ
pdp=prep
pdp=subs
38617 וּ
pdp=conj
38618 לְ
pdp=prep
pdp=nmpr
phrase:675513
function=Adjutyp=PP
38620 עַ֖ל
pdp=prep
pdp=subs
clause:435515
typ=Ellp
phrase:675514
function=Objctyp=PP
38623 אֵ֤ת
pdp=prep
pdp=subs
38625 הַ
pdp=art
pdp=subs
clause:435516
typ=xQt0
phrase:675515
function=Relatyp=CP
pdp=conj
phrase:675516
function=PreOtyp=VP
pdp=verb
phrase:675517
function=Locatyp=PP
38629 בַּ
pdp=prep
38630
pdp=art
pdp=subs
clause:435517
typ=WayX
phrase:675518
function=Conjtyp=CP
38632 וַ
pdp=conj
phrase:675519
function=PreOtyp=VP
pdp=verb
phrase:675520
function=Subjtyp=PrNP
pdp=nmpr

Note that although the standard features are not all shown, the features mentioned in the query are shown. We can suppress that as well:

In [40]:
A.show(results, start=10, end=10, withNodes=True, queryFeatures=False)

result 10

verse:1416396
sentence:1178457
clause:435513
phrase:675504
38605 וַ
phrase:675505
phrase:675506
phrase:675507
phrase:675508
clause:435514
phrase:675509
phrase:675510
phrase:675511
phrase:675512
clause:435515
phrase:675514
clause:435516
phrase:675515
phrase:675516
phrase:675517
38629 בַּ
38630
clause:435517
phrase:675518
38632 וַ
phrase:675519
phrase:675520

We can also package the results tuples in other things than verses, e.g. sentences, and at the same time cut off the displays at phrases:

In [41]:
A.displaySetup(queryFeatures=False)
A.show(
    results,
    start=10,
    end=12,
    withNodes=True,
    condenseType="sentence",
    baseTypes={"phrase"},
)

result 10

sentence:1178457
clause:435513
phrase:675504 וַ
phrase:675505 38606יְסַפֵּ֤ר
phrase:675506 מֹשֶׁה֙
phrase:675507 לְחֹ֣תְנֹ֔ו
phrase:675508 אֵת֩ כָּל־
clause:435514
phrase:675509 אֲשֶׁ֨ר
phrase:675510 עָשָׂ֤ה
phrase:675511 יְהוָה֙
phrase:675512 לְפַרְעֹ֣ה וּלְמִצְרַ֔יִם
phrase:675513 עַ֖ל אֹודֹ֣ת יִשְׂרָאֵ֑ל
clause:435515
phrase:675514 אֵ֤ת 38624כָּל־הַתְּלָאָה֙
clause:435516
phrase:675515 אֲשֶׁ֣ר
phrase:675516 מְצָאָ֣תַם
phrase:675517 בַּדֶּ֔רֶךְ
clause:435517
phrase:675518 וַ
phrase:675519 יַּצִּלֵ֖ם
phrase:675520 יְהוָֽה׃

result 11

sentence:1178457
clause:435513
phrase:675504 וַ
phrase:675505 38606יְסַפֵּ֤ר
phrase:675506 מֹשֶׁה֙
phrase:675507 לְחֹ֣תְנֹ֔ו
phrase:675508 אֵת֩ כָּל־
clause:435514
phrase:675509 אֲשֶׁ֨ר
phrase:675510 עָשָׂ֤ה
phrase:675511 יְהוָה֙
phrase:675512 לְפַרְעֹ֣ה וּלְמִצְרַ֔יִם
phrase:675513 עַ֖ל אֹודֹ֣ת יִשְׂרָאֵ֑ל
clause:435515
phrase:675514 אֵ֤ת כָּל־הַ38626תְּלָאָה֙
clause:435516
phrase:675515 אֲשֶׁ֣ר
phrase:675516 מְצָאָ֣תַם
phrase:675517 בַּדֶּ֔רֶךְ
clause:435517
phrase:675518 וַ
phrase:675519 יַּצִּלֵ֖ם
phrase:675520 יְהוָֽה׃

result 12

sentence:1178894
clause:436060
phrase:677214 אֶת־חַ֣ג הַמַּצֹּות֮
phrase:677215 41257תִּשְׁמֹר֒
sentence:1178894
clause:436065
phrase:677232 וְ
phrase:677233 חַ֤ג הַקָּצִיר֙
phrase:677234 בִּכּוּרֵ֣י מַעֲשֶׂ֔יךָ
clause:436066
phrase:677235 אֲשֶׁ֥ר
phrase:677236 תִּזְרַ֖ע
phrase:677237 בַּשָּׂדֶ֑ה
clause:436067
phrase:677238 וְ
phrase:677239 41292חַ֤ג הָֽאָסִף֙
clause:436068
phrase:677240 בְּצֵ֣את
phrase:677241 הַשָּׁנָ֔ה
clause:436069
phrase:677242 בְּאָסְפְּךָ֥
phrase:677243 אֶֽת־מַעֲשֶׂ֖יךָ
phrase:677244 מִן־הַשָּׂדֶֽה׃

Note, that now the phrases are heavily highlighted whereas the highlighted words just have a box around them.

Let's leave out some information:

In [42]:
A.show(
    results,
    start=10,
    end=12,
    withNodes=False,
    prettyTypes=False,
    condenseType="sentence",
    baseTypes={"clause"},
    withPassage=False,
)

result 10

וַיְסַפֵּ֤ר מֹשֶׁה֙ לְחֹ֣תְנֹ֔ו אֵת֩ כָּל־
אֲשֶׁ֨ר עָשָׂ֤ה יְהוָה֙ לְפַרְעֹ֣ה וּלְמִצְרַ֔יִם עַ֖ל אֹודֹ֣ת יִשְׂרָאֵ֑ל
אֵ֤ת כָּל־הַתְּלָאָה֙
אֲשֶׁ֣ר מְצָאָ֣תַם בַּדֶּ֔רֶךְ
וַיַּצִּלֵ֖ם יְהוָֽה׃

result 11

וַיְסַפֵּ֤ר מֹשֶׁה֙ לְחֹ֣תְנֹ֔ו אֵת֩ כָּל־
אֲשֶׁ֨ר עָשָׂ֤ה יְהוָה֙ לְפַרְעֹ֣ה וּלְמִצְרַ֔יִם עַ֖ל אֹודֹ֣ת יִשְׂרָאֵ֑ל
אֵ֤ת כָּל־הַתְּלָאָה֙
אֲשֶׁ֣ר מְצָאָ֣תַם בַּדֶּ֔רֶךְ
וַיַּצִּלֵ֖ם יְהוָֽה׃

result 12

אֶת־חַ֣ג הַמַּצֹּות֮ תִּשְׁמֹר֒
וְחַ֤ג הַקָּצִיר֙ בִּכּוּרֵ֣י מַעֲשֶׂ֔יךָ
אֲשֶׁ֥ר תִּזְרַ֖ע בַּשָּׂדֶ֑ה
וְחַ֤ג הָֽאָסִף֙
בְּצֵ֣את הַשָּׁנָ֔ה
בְּאָסְפְּךָ֥ אֶֽת־מַעֲשֶׂ֖יךָ מִן־הַשָּׂדֶֽה׃

All steps

  • start your first step in mastering the bible computationally
  • display become an expert in creating pretty displays of your text structures
  • search turbo charge your hand-coding with search templates
  • exportExcel make tailor-made spreadsheets out of your results
  • share draw in other people's data and let them use yours
  • export export your dataset as an Emdros database
  • annotate annotate plain text by means of other tools and import the annotations as TF features
  • map map somebody else's annotations to a new version of the corpus
  • volumes work with selected books only
  • trees work with the BHSA data as syntax trees

CC-BY Dirk Roorda