Text Database of the Hebrew Bible ETCBC3
This is a BHSA-formatted representation of the 2011 ETCBC3 archive. It uses BHSA feature names, dense Text-Fabric word slots and typed node/edge columns. All annotation values originate in the 2011 source. The 2021 release supplies the schema reference, not replacement annotations.
The word table contains 426,499 rows and 96 columns. The graph contains 1,453,175 original objects and 9,221 derived lexeme nodes. All 28,096,545 original feature values are verified against the isolated source copy.
Source
E. Talstra, 2011, Text Database of the Hebrew Bible ETCBC3, DANS Data Station Social Sciences and Humanities: 10.17026/dans-x8h-y2bv.
The original bhs3.mql.bz has SHA-256
5fdc0a1506a7706d31dca356218d8671b5ef08832067cd28aa07779df798b877.
It is byte-identical to ETCBC's source/3/bhsa.mql.bz2.
The pinned original copy is NuBerea/bhs3.
Its data and repository are not modified by this conversion.
Format
data/words.parquet: BHSA-shaped word table with containing node IDs, section references and originalsource_id_d/source_monad.data/nodes.parquet: all original objects, derived lexeme nodes, exact__tf_slots, normalized annotations and remapped edges.tf/*.tf: native Text-Fabric files, preserving explicit empty strings.SOURCE.json: pinned source, schema reference, counts and checksums.normalization.json: feature and vocabulary normalization rules.feature-coverage.json: fields available for each source object type.lexeme-conflicts.json: inconsistent source occurrence properties that cannot be promoted to a single lexeme annotation.meta.json: feature types and the original source schema.
Every original object remains traceable through source_id_d. Its native
features are retained in legacy_* columns, and original monad ranges are
retained in source_monads_json. Original parent IDs are preserved in
legacy_parents; the parents edge uses the new dataset's node IDs.
Lexeme nodes are derived from (language, lexeme) groups. Functional and
distributional parents are derived from the original parent graph.
Frequencies and ranks are recomputed from the 2011 corpus.
Unsupported 2021 features remain null; null does not mean a 2011 annotation
was replaced. Fine-grained clause codes without a lossless 2011 equivalent
retain their source encoding and a coarse comparison group.
Morpheme display fields use the 2021 pointing conventions: cantillation is
kept on words rather than component displays, zero-morpheme frames are
explicit, and nominal-ending displays include the geresh boundary marker.
Original component displays remain available in legacy_*.
Consonantal displays use conventional final-letter forms, while lexical
displays omit cantillation and interword punctuation. All original displays
remain in the legacy fields.
Build and use
Python 3.12 or newer:
python -m pip install -r requirements.txt
python -m unittest test_normalization test_build test_compare
python create_dataset.py
python upload_to_hf.py
Builds refuse to overwrite existing output. Publication creates only a new repository and verifies the snapshot.
from datasets import load_dataset
words = load_dataset("NuBerea/bhs3-formatted", "words", split="train", token=True)
nodes = load_dataset("NuBerea/bhs3-formatted", "nodes", split="train", token=True)
Comparison with 2021
python compare_to_2021.py --output /path/to/comparison
The comparison decodes 2021 with the native Text-Fabric reader, aligns words within matching verses and matches structures by exact aligned slot sets. Reports retain original IDs, individual old/new values, feature transitions, and uncertain alignments. Rendering, numbering, code refinements and added feature coverage are separated from annotation differences. Comparison outputs are stored separately and are not published as part of this dataset. Word alignment uses coded consonants rather than display glyphs. Lexical properties moved between word and lexeme storage are reconciled before comparison; a missing sparse lexical-set value is not treated as a removed annotation when all recorded occurrences consistently supply the value.
License and code references
DANS metadata version 2.1 identifies the source archive as CC0-1.0. Original rights holder: Vrije Universiteit Amsterdam. See LICENSE and the DANS record.
The conversion follows the node-numbering, lexical grouping and statistics conventions documented in the ETCBC programs and uses the MIT-licensed Text-Fabric package. The 2021 comparison target is CC BY-NC 4.0; its annotations are not included in this CC0 source-derived dataset.
Citation
@misc{nuberea_bhs3_formatted,
title={Text Database of the Hebrew Bible ETCBC3},
author={{NuBerea}},
publisher={NuBerea},
license={CC0-1.0},
url={https://huggingface.co/datasets/NuBerea/bhs3-formatted}
}
- Downloads last month
- -